e247aa7c4fbf61b34f5bdffcba8ea466bd6dc694 braney Sat Jan 20 10:35:38 2024 -0800 oops ... left in a printf diff --git src/lib/vcf.c src/lib/vcf.c index 39d2358..6578ff7 100644 --- src/lib/vcf.c +++ src/lib/vcf.c @@ -959,31 +959,30 @@ { slAddHead(&records, record); recCount++; } else if (chromsMatch(chrom, record->chrom)) { if (end > 0 && record->chromStart >= end) break; else if (record->chromEnd > start) { slAddHead(&records, record); recCount++; } } } -printf("records %d\n", recCount); slReverse(&records); return records; } static struct vcfRecord *vcfParseData(struct vcfFile *vcff, char *chrom, int start, int end, int maxRecords) { return vcfParseDataExt(vcff, chrom, start, end, maxRecords, NULL); } struct vcfFile *vcfFileMayOpen(char *fileOrUrl, char *chrom, int start, int end, int maxErr, int maxRecords, boolean parseAll) /* Open fileOrUrl and parse VCF header; return NULL if unable. * If chrom is non-NULL, scan past any variants that precede {chrom, chromStart}. * Note: this is very inefficient -- it's better to use vcfTabix if possible! * If parseAll, then read in all lines in region, parse and store in