bl_vcf_skip_meta_data(3)

NAME
bl_vcf_skip_meta_data() - Read past VCF metadata

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

SYNOPSIS
FILE    *bl_vcf_skip_meta_data(FILE *vcf_stream)

ARGUMENTS
vcf_stream  FILE pointer of VCF stream to be read

DESCRIPTION
Skip over meta-data lines in VCF input stream, leaving the FILE structure pointing to the first character in the first line of data or the first character of the header line starting with #CHROM if one is present. The header line is typically read using bl_vcf_get_sample_ids(3). The skipped meta-data is copied to a temporary file whose FILE pointer is returned.

RETURN VALUES
BL_READ_OK upon success, BL_READ_TRUNCATED if read fails

SEE ALSO
bl_vcf_get_sample_ids(3), bl_vcf_read_static_fields(3), bl_vcf_read_ss_call(3)