Skip to content

Commit

Permalink
fix: fruit fly RR genes (#1252)
Browse files Browse the repository at this point in the history
  • Loading branch information
joyceyan authored Feb 7, 2025
1 parent 241cefd commit 3107d81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cellxgene_schema_cli/cellxgene_schema/gencode.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def get_organism_from_feature_id(
return SupportedOrganisms.SARS_COV_2
elif feature_id.startswith("ERCC-"):
return SupportedOrganisms.ERCC
elif feature_id.startswith("FB"):
elif feature_id.startswith("FB") or feature_id.startswith("RR"):
return SupportedOrganisms.DROSOPHILA_MELANOGASTER
elif feature_id.startswith("ENSDARG"):
return SupportedOrganisms.DANIO_RERIO
Expand Down
2 changes: 2 additions & 0 deletions cellxgene_schema_cli/tests/fixtures/examples_ontology_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
valid_genes = {
gencode.SupportedOrganisms.HOMO_SAPIENS: {"ENSG00000141510": ("TP53_ENSG00000141510", 2404)},
gencode.SupportedOrganisms.MUS_MUSCULUS: {"ENSMUSG00000059552": ("Trp53", 1797)},
gencode.SupportedOrganisms.DROSOPHILA_MELANOGASTER: {"RR45003_transposable_element": ("S{}RR4500", 1234)},
gencode.SupportedOrganisms.DROSOPHILA_MELANOGASTER: {"FBgn0037293": ("RabGGTa", 1853)},
gencode.SupportedOrganisms.CAENORHABDITIS_ELEGANS: {"WBGene00000003": ("aat-2", 1738)},
gencode.SupportedOrganisms.CALLITHRIX_JACCHUS: {"ENSCJAG00000071296": ("U4_ENSCJAG00000071296", 141)},
gencode.SupportedOrganisms.DANIO_RERIO: {"ENSDARG00000009657": ("fgfr1op2", 1088)},
Expand Down

0 comments on commit 3107d81

Please sign in to comment.