0f37bc93a62d4e0b25336becb089f7c42ceef160 kent Sat Dec 26 17:38:35 2020 -0800 Reducing verbosity diff --git src/utils/clusterMatrixToBarChartBed/clusterMatrixToBarChartBed.c src/utils/clusterMatrixToBarChartBed/clusterMatrixToBarChartBed.c index 814b1a0..4f42ff8 100644 --- src/utils/clusterMatrixToBarChartBed/clusterMatrixToBarChartBed.c +++ src/utils/clusterMatrixToBarChartBed/clusterMatrixToBarChartBed.c @@ -93,34 +93,34 @@ hashAdd(sampleHash, row[0], clusterStableName); } lineFileClose(&lf); *retSampleHash = sampleHash; *retClusterHash = clusterHash; } void clusterMatrixToBarchartBed(char *sampleClusters, char *matrixTsv, char *geneBed, char *output) /* clusterMatrixToBarchartBed - Compute a barchart bed file from a gene matrix * and a gene bed file and a way to cluster samples. */ { /* Figure out if we need to do medians etc */ boolean doMedian = clMedian; /* Load up the gene set */ -verbose(1, "clusterMatrixToBarchartBed(%s,%s,%s,%s)\n", sampleClusters, matrixTsv, geneBed, output); +verbose(2, "clusterMatrixToBarchartBed(%s,%s,%s,%s)\n", sampleClusters, matrixTsv, geneBed, output); int bedRowSize = 0; struct hash *geneHash = hashTsvBy(geneBed, 3, &bedRowSize); -verbose(1, "%d columns about %d genes in %s\n", bedRowSize, geneHash->elCount, geneBed); +verbose(2, "%d columns about %d genes in %s\n", bedRowSize, geneHash->elCount, geneBed); /* Deal with external gene hash */ struct hash *nameToName2 = NULL; if (clName2 != NULL) { int colCount = 0; nameToName2 = hashTsvBy(clName2, 0, &colCount); if (colCount != 2) errAbort("Expecting %s to be a two column tab separated file", clName2); } /* Keep track of how many fields gene bed has to have and locate name2 */ int geneBedMinSize = 6; int name2Ix = bedRowSize - 1; // Last field if it is in bed if (clName2 != NULL)