VCFRecord.this
- this(T h, bcf1_t* b, UnpackLevel MAX_UNPACK)
- this(VCFHeader vcfhdr, string chrom, int pos, string id, string _ref, string alt, float qual, SS filter)
- this(VCFHeader vcfhdr, string line, UnpackLevel MAX_UNPACK)
dhtslib vcf record VCFRecord
constructorsfunctionspropertiesvariables
VCFRecord
Construct a bcf/vcf record, backed by bcf1_t, from: an existing bcf1_t, parameters, or a VCF line.
Internal backing by bcf1_t means it must conform to the BCF2 rules -- i.e., header must contain appropriate INFO, CONTIG, and FILTER lines.
Protip: specifying alternate MAX_UNPACK can speed it tremendously as it will not UnpackLevel all fields, only up to those requested (see htslib.vcf) For example, UnpackLevel.ALT is up to ALT inclusive, and UnpackLevel.ALT is up to FILTER