4e4f5951fed8f4d923dcbbc313b3596c62374091 tdreszer Mon Jun 25 12:13:22 2012 -0700 Next batch of many checkins as dictated by Jim. Formatting space after if and limiting lines to 100 chars. Changes limited to lines last touched by tdreszer (git blame) so as not to ruin history. None of these changes should affect executables in any way. Only affect is to my sanity and Jim's. diff --git src/lib/vcf.c src/lib/vcf.c index 8c8bcac..8cc0cd8 100644 --- src/lib/vcf.c +++ src/lib/vcf.c @@ -919,29 +919,36 @@ vcfParseGenotypes(record); int ix = stringArrayIx(sampleId, vcff->genotypeIds, vcff->genotypeCount); if (ix >= 0) return &(record->genotypes[ix]); return NULL; } static char *vcfDataLineAutoSqlString = "table vcfDataLine" "\"The fields of a Variant Call Format data line\"" " (" " string chrom; \"An identifier from the reference genome\"" " uint pos; \"The reference position, with the 1st base having position 1\"" " string id; \"Semi-colon separated list of unique identifiers where available\"" " string ref; \"Reference base(s)\"" -" string alt; \"Comma separated list of alternate non-reference alleles called on at least one of the samples\"" -" string qual; \"Phred-scaled quality score for the assertion made in ALT. i.e. give -10log_10 prob(call in ALT is wrong)\"" -" string filter; \"PASS if this position has passed all filters. Otherwise, a semicolon-separated list of codes for filters that fail\"" -" string info; \"Additional information encoded as a semicolon-separated series of short keys with optional comma-separated values\"" -" string format; \"If genotype columns are specified in header, a semicolon-separated list of of short keys starting with GT\"" -" string genotypes; \"If genotype columns are specified in header, a tab-separated set of genotype column values; each value is a colon-separated list of values corresponding to keys in the format column\"" + " string alt; \"Comma separated list of alternate non-reference alleles " + "called on at least one of the samples\"" + " string qual; \"Phred-scaled quality score for the assertion made in ALT. i.e. " + "give -10log_10 prob(call in ALT is wrong)\"" + " string filter; \"PASS if this position has passed all filters. Otherwise, a " + "semicolon-separated list of codes for filters that fail\"" + " string info; \"Additional information encoded as a semicolon-separated series " + "of short keys with optional comma-separated values\"" + " string format; \"If genotype columns are specified in header, a " + "semicolon-separated list of of short keys starting with GT\"" + " string genotypes; \"If genotype columns are specified in header, a tab-separated " + "set of genotype column values; each value is a colon-separated " + "list of values corresponding to keys in the format column\"" " )"; struct asObject *vcfAsObj() // Return asObject describing fields of VCF { return asParseText(vcfDataLineAutoSqlString); }