15d0836b4dba65919e83ce5ef0aaafe5a0edc72f angie Wed Apr 17 12:49:53 2013 -0700 Making annoGratorGpVar able to handle VCF input too. In order for a grator tosee what type of input is coming from the primary source, the streamer should be passed in along with the primary row, as it is for formatters now. refs #6152 diff --git src/inc/vcf.h src/inc/vcf.h index 8d7f14d..f6bcb10 100644 --- src/inc/vcf.h +++ src/inc/vcf.h @@ -259,16 +259,20 @@ /* Find the genotype and associated info for the individual, or return NULL. * This calls vcfParseGenotypes if it has not already been called. */ struct vcfInfoDef *vcfInfoDefForGtKey(struct vcfFile *vcff, const char *key); /* Look up the type of genotype FORMAT component key, in the definitions from the header, * and failing that, from the keys reserved in the spec. */ char *vcfFilePooledStr(struct vcfFile *vcff, char *str); /* Allocate memory for a string from vcff's shared string pool. */ #define VCF_NUM_COLS 10 struct asObject *vcfAsObj(); // Return asObject describing fields of VCF +char *vcfGetSlashSepAllelesFromWords(char **words, struct dyString *dy); +/* Overwrite dy with a /-separated allele string from VCF words; + * return dy->string for convenience. */ + #endif // vcf_h