Skip to content

Commit

Permalink
working for phenotips+clinical
Browse files Browse the repository at this point in the history
  • Loading branch information
helrick committed Apr 7, 2020
1 parent 6f0fb27 commit 6908008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add_hpo_terms_to_wes.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#Phenotips TSV has a space in column name: " Gene symbol"
HPO_DF.columns = HPO_DF.columns.str.strip()
HPO_DF.rename(columns={'Gene symbol': 'Gene Symbol'})
HPO_DF.columns = HPO_DF.columns.str.replace("symbol","Symbol")

WES_REPORT = pd.read_csv(sys.argv[2], encoding="ISO-8859-1").set_index("Position")
OUT = "%s.w_hpoterms.tsv" % splitext(basename(sys.argv[2]))[0]
Expand Down

0 comments on commit 6908008

Please sign in to comment.