Class FormatMetadata


public class FormatMetadata extends IdDescriptionMetadata
This class represents a single VCF FORMAT metadata line.

 ##FORMAT=<ID=ID,Number=number,Type=type,Description="description">
 
 
  • Field Details

  • Constructor Details

    • FormatMetadata

      public FormatMetadata(@Nonnull String id, @Nonnull String description, @Nonnull String number, @Nonnull FormatType type)
    • FormatMetadata

      public FormatMetadata(@Nonnull Map<String,String> properties)
  • Method Details

    • init

      public void init()
    • getNumber

      @Nullable public String getNumber()
      Value is either an integer or ".".
      Returns:
      Null only when incorrectly constructed without one
    • getReservedNumber

      @Nullable public SpecialVcfNumber getReservedNumber()
      Returns:
      A special (reserved) Number ("A", "G", "R", or "."), or null if the Number is not reserved (it is numerical).
    • getType

      @Nullable public FormatType getType()
      Returns:
      Null only when incorrectly constructed without one