06cdca9abaf78e2d0d4c0b3b1f781be687cbc31b jnavarr5 Tue Oct 28 09:43:24 2025 -0700 Swapping the colors of Definitive and Strong as Sarah Hunt mentioned they are wrong in an email, refs #36469 diff --git src/hg/utils/otto/genCC/doGenCC.py src/hg/utils/otto/genCC/doGenCC.py index 28f99425169..d3c07283e09 100644 --- src/hg/utils/otto/genCC/doGenCC.py +++ src/hg/utils/otto/genCC/doGenCC.py @@ -81,43 +81,43 @@ if geneSymbol not in maneGeneSymbolCoords.keys(): maneGeneSymbolCoords[geneSymbol] = {} maneGeneSymbolCoords[geneSymbol]['chrom'] = line[0] maneGeneSymbolCoords[geneSymbol]['chromStart'] = line[1] maneGeneSymbolCoords[geneSymbol]['chromEnd'] = line[2] maneGeneSymbolCoords[geneSymbol]['strand'] = line[5] maneGeneSymbolCoords[geneSymbol]['ensGene'] = line[17] maneGeneSymbolCoords[geneSymbol]['ensTranscript'] = line[3] maneGeneSymbolCoords[geneSymbol]['refSeqAccession'] = line[21] openFile.close() bash("rm -f /hive/data/outside/otto/genCC/mane.bed") return(maneGeneSymbolCoords) def assignRGBcolorByEvidenceClassification(classification): if classification == "Definitive": - classificationRgb = "39,103,73" + classificationRgb = "56,161,105" elif classification == "Disputed Evidence": classificationRgb = "229,62,62" elif classification == "Limited": classificationRgb = "252,129,129" elif classification == "Moderate": classificationRgb = "104,211,145" elif classification == "No Known Disease Relationship": classificationRgb = "113,128,150" elif classification == "Refuted Evidence": classificationRgb = "155,44,44" elif classification == "Strong": - classificationRgb = "56,161,105" + classificationRgb = "39,103,73" elif classification == "Supportive": classificationRgb = "99,179,237" else: print("There was an unknown classification: "+classification) return(classificationRgb) def buildFileHg38(genCCfile,outPutFile): inputGenCCFile = open(genCCfile,'r',encoding="utf-8") outputHg38File = open(outPutFile,'w',encoding='utf-8') n=0 maneGeneSymbolCoords = makeManeDic() badItems = [] for line in inputGenCCFile: if line.startswith('"uuid'): continue