VCFHeader.addHeaderLine

Add INFO (§1.2.2) or FORMAT (§1.2.4) tag

The INFO tag describes row-specific keys used in the INFO column; The FORMAT tag describes sample-specific keys used in the last, and optional, genotype column.

Template parameter: string; must be INFO or FORMAT

The first four parameters are required; NUMBER and TYPE have specific allowable values. source and version are optional, but recommended (for INFO only).

id: ID tag number: NUMBER tag; here a string because it can also take special values {A,R,G,.} (see §1.2.2) type: Integer, Float, Flag, Character, and String description: Text description; will be double quoted

  1. void addHeaderLine(string id, T number, HeaderTypes type, string description, string source, string _version)
    struct VCFHeader
    void
    addHeaderLine
    (
    T
    )
    (
    string id
    ,,,
    string description = ""
    ,
    string source = ""
    ,
    string _version = ""
    )
    if (
    (
    isIntegral!T ||
    )
    &&
    )
  2. void addHeaderLine(string id, string description)

Meta

Source

See Implementation
Annotation source (eg dbSNP)

Version

Annotation version (eg 142)