@param fp The file to read the record from
@param h The header for the vcf/bcf file
@param v The bcf1_t structure to populate
@return 0 on success; -1 on end of file; < -1 on critical error
On errors which are not critical for reading, such as missing header
definitions in vcf files, zero will be returned but v->errcode will have been
set to one of BCF_ERR* codes and must be checked before calling bcf_write().
@param fp The file to read the record from @param h The header for the vcf/bcf file @param v The bcf1_t structure to populate @return 0 on success; -1 on end of file; < -1 on critical error
On errors which are not critical for reading, such as missing header definitions in vcf files, zero will be returned but v->errcode will have been set to one of BCF_ERR* codes and must be checked before calling bcf_write().