Skip to content

Commit

Permalink
update genemap2 header content
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasguignard authored Dec 7, 2021
1 parent dbe97b6 commit 17ca275
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions merge_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def gnomad_score(file):

def omim(file):
omim = pd.read_csv(file, sep='\t',skiprows=3)
omim_select = omim[['Approved Symbol','Phenotypes']]
omim_select.rename(columns={'Approved Symbol': '#Gene_name'}, inplace=True)
omim_select = omim[['Approved Gene Symbol','Phenotypes']]
omim_select.rename(columns={'Approved Gene Symbol': '#Gene_name'}, inplace=True)
omim_select = omim_select.dropna(subset=['#Gene_name'])
omim_select = omim_select.sort_values(by=['#Gene_name'])
omim_select = omim_select.fillna('')
Expand Down

0 comments on commit 17ca275

Please sign in to comment.