We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2da41cf commit c0bd1b9Copy full SHA for c0bd1b9
rnacentral_pipeline/databases/mgnify/prepare.py
@@ -103,7 +103,10 @@ def prepare_mgnify_data(data, conn_str):
103
entry["taxonId"] = f"NCBITaxon:{taxid}"
104
105
## Add the type of the sequence
106
- entry["soTermId"] = so_type[entry["sourceModel"].split(":")[1]]
+ if entry["sourceModel"].startswith("TRNASCANSE"):
107
+ entry["soTermId"] = transcanse_so_lookup[entry["sourceModel"]]
108
+ else:
109
+ entry["soTermId"] = so_type[entry["sourceModel"].split(":")[1]]
110
111
prepared_data.append(entry)
112
0 commit comments