bl_vcf_write_static_fields(3)

NAME
bl_vcf_write_static_fields() - Write VCF static fields

LIBRARY
#include <biolibc/vcf.h>
-lbiolibc -lxtend

SYNOPSIS
int     bl_vcf_write_static_fields(bl_vcf_t *vcf_call, FILE *vcf_stream,
vcf_field_mask_t field_mask)

ARGUMENTS
vcf_stream  FILE pointer to the VCF output stream
vcf_call    Pointer to the bl_vcf_t structure to output
field_mask  Bit mask indicating which fields to output

DESCRIPTION
Write static fields from one line of a single-entry VCF file. Does not write sample data. If field_mask is not BL_VCF_FIELD_ALL, fields not indicated by a 1 in the bit mask are written as an appropriate placeholder such as '.' rather than the actual data. Possible mask values are: BL_VCF_FIELD_ALL BL_VCF_FIELD_CHROM BL_VCF_FIELD_POS BL_VCF_FIELD_ID BL_VCF_FIELD_REF BL_VCF_FIELD_ALT BL_VCF_FIELD_QUAL BL_VCF_FIELD_FILTER BL_VCF_FIELD_INFO BL_VCF_FIELD_FORMAT

RETURN VALUES
The number of items output (as returned by fprintf())

SEE ALSO
bl_vcf_read_static_fields(3), bl_vcf_write_ss_call(3)