Class
VcfRecord
Information for one VCF record.
We store most information as strings and without structure since the VCF format's definition is quite loose.
We plan to provide classes for structured access to these strings later.
Include Headers
seqan/vcf_io.h
Remarks
Although all positions in the VCF text format are 1-based, they are stored 0-based in the VcfRecord.
Positions in string members are stored verbatim in the VcfRecord's members, e.g. 1-based.
Invalid qualities are stored as a float NaN (not a number).
To test a float quality q for being NaN , test for q != q .
Only NaN has the property that NaN != NaN .
Data Members
Alternative bases in the variants, comma-separated if multiple (CharString). | |
Position of the VCF record ( | |
Value of FILTER field, empty if "." in VCF file (CharString). | |
Value of the VCF FORMAT field, empty if "." in VCF file (CharString). | |
Genotype information, as in VCF file (StringSet<CharString>). | |
Textual identifier of the variant (CharString). | |
Value of the INFO field, empty if "." in VCF file (CharString). | |
Static member as marker for invalid position ( | |
Static member as marker for invalid reference ( | |
Quality, | |
Bases in the reference (CharString). | |
Static member as marker for invalid reference ( |
Member Functions
Return IEEE | |
Default constructor. |
Functions
Clear a VcfRecord. | |
Read a record from a VcfStream | |
Write a record to a VcfStream |
SeqAn - Sequence Analysis Library - www.seqan.de