Class TabixFormat

java.lang.Object
htsjdk.tribble.index.tabix.TabixFormat
All Implemented Interfaces:
Cloneable

public class TabixFormat extends Object implements Cloneable
The values in a Tabix header that define the format of the file being indexed, e.g. gff, bed, vcf
  • Field Details

    • ZERO_BASED

      public static final int ZERO_BASED
      See Also:
    • GENERIC_FLAGS

      public static final int GENERIC_FLAGS
      See Also:
    • SAM_FLAGS

      public static final int SAM_FLAGS
      See Also:
    • VCF_FLAGS

      public static final int VCF_FLAGS
      See Also:
    • UCSC_FLAGS

      public static final int UCSC_FLAGS
      See Also:
    • GFF

      public static final TabixFormat GFF
      Predefined headers for known formats
    • BED

      public static final TabixFormat BED
    • PSLTBL

      public static final TabixFormat PSLTBL
    • SAM

      public static final TabixFormat SAM
    • VCF

      public static final TabixFormat VCF
    • flags

      public int flags
      Describes interpretation of file being indexed. See FLAGS constants above.
    • sequenceColumn

      public int sequenceColumn
      One-based index of the column in the file being indexed containing the sequence name
    • startPositionColumn

      public int startPositionColumn
      One-based index of the column in the file being indexed containing the start position.
    • endPositionColumn

      public int endPositionColumn
      One-based index of the column in the file being indexed containing the end position. Zero implies there is no end position column.
    • metaCharacter

      public char metaCharacter
      Lines in the file being indexed that start with this character are ignored.
    • numHeaderLinesToSkip

      public int numHeaderLinesToSkip
      TODO: This is written, and part of the index header, but does not appear to be used.
  • Constructor Details

    • TabixFormat

      public TabixFormat()
    • TabixFormat

      public TabixFormat(int flags, int sequenceColumn, int startPositionColumn, int endPositionColumn, char metaCharacter, int numHeaderLinesToSkip)
  • Method Details