Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fruit fly RR genes #1252

Merged
merged 2 commits into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading