2c4513d1bf7c5564a1929ba96f918a768685c5d9 angie Tue Mar 22 11:04:44 2011 -0700 Fixing copy-paste misnomer found by Mark. diff --git src/inc/vcf.h src/inc/vcf.h index cb1306c..76b9380 100644 --- src/inc/vcf.h +++ src/inc/vcf.h @@ -154,28 +154,28 @@ struct vcfFile *vcfFileMayOpen(char *fileOrUrl, int maxErr, FILE *errFh); /* Parse a VCF file into a vcfFile object; return NULL if unable. * If maxErr not zero, then continue to parse until this number of error have been reached. * A maxErr less than zero does not stop and reports all errors. Write errors to errFh, * if NULL, use stderr. */ struct vcfFile *vcfTabixFileMayOpen(char *fileOrUrl, char *chrom, int start, int end, int maxErr, FILE *errFh); /* Parse header and rows within the given position range from a VCF file that has been * compressed and indexed by tabix into a vcfFile object; return NULL if or if file has * no items in range. * If maxErr not zero, then continue to parse until this number of error have been reached. * A maxErr less than zero does not stop and reports all errors. Write errors to errFh, * if NULL, use stderr. */ -void vcfFileFree(struct vcfFile **g3fPtr); +void vcfFileFree(struct vcfFile **vcffPtr); /* Free a vcfFile object. */ const struct vcfRecord *vcfFileFindVariant(struct vcfFile *vcff, char *variantId); /* Return all records with name=variantId, or NULL if not found. */ const struct vcfInfoElement *vcfRecordFindInfo(const struct vcfRecord *record, char *key); /* Find an INFO element, or NULL. */ const struct vcfGenotype *vcfRecordFindGenotype(struct vcfRecord *record, char *sampleId); /* Find the genotype and associated info for the individual, or return NULL. */ #endif // vcf_h