VCF.Header (VCF v1.0.0)
View SourceA parsed VCF header with ordered metadata and sample names.
Summary
Functions
Returns the first declaration of id for the requested metadata kind.
Types
@type column() ::
:chrom | :pos | :id | :ref | :alt | :qual | :filter | :info | :format
@type t() :: %VCF.Header{ columns: [column()], metadata: [VCF.Metadata.t()], samples: [String.t()], version: VCF.Version.t(), warnings: [VCF.Warning.t()] }
Functions
@spec definition(t(), :info | :format | :filter | :alt | :contig, String.t()) :: VCF.FieldDefinition.t() | VCF.Metadata.t() | nil
Returns the first declaration of id for the requested metadata kind.