From d2f62923dd55bc2ca6786f2db60b343d41ab327e Mon Sep 17 00:00:00 2001 From: Chris Moth Date: Wed, 16 Jun 2021 15:25:40 -0500 Subject: [PATCH] correct the key match to GeneID in the idmapping file parser #22 --- lib/PDBMapProtein.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PDBMapProtein.py b/lib/PDBMapProtein.py index c6c3498..82dee28 100644 --- a/lib/PDBMapProtein.py +++ b/lib/PDBMapProtein.py @@ -344,7 +344,7 @@ def load_idmapping(cls, idmapping_fname): hgnc = dbid # for clarity PDBMapProtein._unp2hgnc[unp] = hgnc PDBMapProtein._hgnc2unp[hgnc] = unp - elif db == "Gene_ID": + elif db == "GeneID": gene_id = dbid # for clarity PDBMapProtein._unp2gene_id[unp] = gene_id elif db == "Ensembl_TRS":