bl_vcf_write_ss_call(3)

NAME
bl_vcf_write_ss_call() - Write a single-sample VCF call

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

SYNOPSIS
int     bl_vcf_write_ss_call(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 a single-sample VCF call to vcf_stream. This should only be used with VCF calls that have exactly one sample column. For multisample VCFs, use bl_vcf_write_static_fields() followed by a loop to write the 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_ss_call(3), bl_vcf_write_static_fields(3)