Skip to content

Commit

Permalink
Noticed something about the refseq ID map
Browse files Browse the repository at this point in the history
  • Loading branch information
itrujnara committed May 22, 2024
1 parent cb3d768 commit 5d86656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/uniprotize_oma_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def uniprotize_oma(oma_ids_path: str, ensembl_idmap_path: str, refseq_idmap_path
for line in f:
items = line.split()
if items[0] not in refseq_mapping and "_" not in items[1]:
refseq_mapping[items[0]] = items[1]
refseq_mapping[items[0]] = items[1].split(";")[0]

refseq_ids_mapped = [refseq_mapping[i] for i in ensembl_ids_unmapped if i in refseq_mapping]
refseq_ids_unmapped = [i for i in ensembl_ids_unmapped if i not in refseq_mapping]
Expand Down

0 comments on commit 5d86656

Please sign in to comment.