Class SamReader.Type

java.lang.Object
htsjdk.samtools.SamReader.Type
Enclosing interface:
SamReader

public abstract static class SamReader.Type extends Object
Describes a type of SAM file.
  • Field Details

  • Constructor Details

    • Type

      public Type()
  • Method Details

    • name

      public abstract String name()
      A string representation of this type.
    • fileExtension

      public abstract String fileExtension()
      The recommended file extension for SAMs of this type, without a period.
    • indexExtension

      public abstract String indexExtension()
      The recommended file extension for SAM indexes of this type, without a period, or null if this type is not associated with indexes.
    • hasValidFileExtension

      public boolean hasValidFileExtension(String fileName)