0f3ca3eaf5792df01b7c600a5428d2d0b2809fcd max Fri Sep 20 13:18:01 2024 -0700 Revert "more features to hubtools: search in both parent and subdirs, better docs" This reverts commit 05e67c59a20a5d00b810a981aef3b00c5bef82e1. diff --git src/utils/bigWigToWig/bigWigToWig.c src/utils/bigWigToWig/bigWigToWig.c index 4cfe8d4..566d5db 100644 --- src/utils/bigWigToWig/bigWigToWig.c +++ src/utils/bigWigToWig/bigWigToWig.c @@ -1,29 +1,29 @@ /* bigWigToWig - Convert bigWig to wig. This will keep more of the same structure of the * original wig than bigWigToBedGraph does, but still will break up large stepped sections into * smaller ones. */ /* Copyright (C) 2011 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "udc.h" #include "bigWig.h" #include "obscure.h" -#include "hgConfig.h" + char *clChrom = NULL; int clStart = -1; int clEnd = -1; void usage() /* Explain usage and exit. */ { errAbort( "bigWigToWig - Convert bigWig to wig. This will keep more of the same structure of the\n" "original wig than bigWigToBedGraph does, but still will break up large stepped sections\n" "into smaller ones.\n" "usage:\n" " bigWigToWig in.bigWig out.wig\n" "options:\n" @@ -65,27 +65,20 @@ bbiChromInfoFreeList(&chromList); carefulClose(&f); bbiFileClose(&bwf); } int main(int argc, char *argv[]) /* Process command line. */ { optionInit(&argc, argv, options); if (argc != 3) usage(); clChrom = optionVal("chrom", clChrom); clStart = optionInt("start", clStart); clEnd = optionInt("end", clEnd); udcSetDefaultDir(optionVal("udcDir", udcDefaultDir())); - -char *prots = cfgOption("resolvProts"); -char *prefix = cfgOption("resolvPrefix"); -char *cmd = cfgOption("resolvCmd"); -if (prots && cmd) - udcSetResolver(prots, prefix, cmd); - bigWigToWig(argv[1], argv[2]); if (verboseLevel() > 1) printVmPeak(); return 0; }