Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
jingchunzhu committed Jan 14, 2020
1 parent db2fd74 commit 0df237b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions converter/ArribaToXena.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def doAltGene2(data, columnPos):
'confidence' :[doConfidence, 9]
}

def filterfunction (data, columnPos): return data[columnPos['confidence']] in ['high', 'medium']
def filterfunction (data, columnPos): return data[columnPos['confidence']] == 'high'

def buildjson(assembly, cohort, output):
output = output + '.json'
Expand All @@ -173,7 +173,7 @@ def buildjson(assembly, cohort, output):
J['assembly'] = assembly
J['cohort'] = cohort
J['version'] = datetime.date.today().isoformat()
J['wrangling_procedure'] = "Only fusion variants with confidence = high and medium is kept"
J['wrangling_procedure'] = "Only fusion variants with confidence = high is kept"
json.dump(J, fout, indent = 4)
fout.close()

Expand Down

0 comments on commit 0df237b

Please sign in to comment.