d0c2e3ab43838885be6ee4759b697cd972cea4ba chmalee Fri Nov 20 09:33:59 2020 -0800 Increasing number of extra fields allowed in vcfToBed after running up against in gnomAD v3 update, refs #26449 diff --git src/hg/utils/vcfToBed/vcfToBed.c src/hg/utils/vcfToBed/vcfToBed.c index 94627a8..b36c374 100644 --- src/hg/utils/vcfToBed/vcfToBed.c +++ src/hg/utils/vcfToBed/vcfToBed.c @@ -1,25 +1,26 @@ /* vcfToBed - Convert VCF to BED9+ with optional extra fields. * Extra VCF tags get placed into a separate tab file for later indexing.. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "vcf.h" #include "dnautil.h" -#define MAX_BED_EXTRA 50 // how many extra fields can we put into the bigBed itself (for filtering, labels, etc) +// how many extra fields can we put into the bigBed itself (for filtering, labels, etc): +#define MAX_BED_EXTRA 100 #define bed9Header "#chrom\tchromStart\tchromEnd\tname\tscore\tstrand\tthickStart\tthickEnd\titemRgb\tref\talt\tFILTER" // hash up all the info tags and their vcfInfoDef structs for faster searching struct hash *infoHash = NULL; void usage() /* Explain usage and exit. */ { errAbort( "vcfToBed - Convert VCF to BED9+ with optional extra fields.\n" "usage:\n" " vcfToBed in.vcf outPrefix\n" "options:\n" " -fields=comma-sep list of tags to include in the bed file, other fields will be placed into\n" " out.extraFields.tab\n"