Mercurial > repos > melissacline > ucsc_cancer_utilities
comparison mergeXenaMutation.py @ 41:9806198df91f
fix
author | jingchunzhu |
---|---|
date | Thu, 06 Aug 2015 00:27:05 -0700 |
parents | 914bc8ee6222 |
children | 1093078e7976 |
comparison
equal
deleted
inserted
replaced
40:72dc9215623d | 41:9806198df91f |
---|---|
115 if line =="": | 115 if line =="": |
116 break | 116 break |
117 sample = string.split(line,'\t')[0] | 117 sample = string.split(line,'\t')[0] |
118 if sample not in sampleDic: | 118 if sample not in sampleDic: |
119 sampleDic[sample]=[] | 119 sampleDic[sample]=[] |
120 if inFile not in sampleDic[sample]: | 120 if label not in sampleDic[sample]: |
121 sampleDic[sample].append(label) | 121 sampleDic[sample].append(label) |
122 fin.close() | 122 fin.close() |
123 return | 123 return |
124 | 124 |
125 def outputSampleDic (sampleDic, outPhenotypeFile): | 125 def outputSampleDic (sampleDic, outPhenotypeFile): |