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

Created parameters for rat and human #146

Merged
merged 10 commits into from
Jun 9, 2021
29 changes: 22 additions & 7 deletions src/scaffoldmaker/annotation/brainstem_terms.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,30 @@
"""

# convention: preferred name, preferred id, followed by any other ids and alternative names
brainstem_terms = [
("medulla oblongata", "UBERON:0001896"),
("pons", "UBERON:0000988"),
("midbrain", "UBERON:0001891"),
("diencephalon", "UBERON:0001894"),
("brainstem", "UBERON:0002298")
brainstem_terms = [ # Landmarks and groups
("brainstem", "UBERON:0002298", "ILX:0101444"),
("central canal of spinal cord", "UBERON:0002291", "ILX:0724457"),
("cerebral aqueduct", "UBERON:0002289", "ILX:0101977"),
("diencephalon", "UBERON:0001894", "ILX:0103217"),
("foramen caecum of medulla oblongata", "ILX:0746371"),
("medulla oblongata", "UBERON:0001896", "ILX:0106736"),
("midbrain", "UBERON:0001891", "ILX:0106935"),
("middle cerebellar peduncle", "UBERON:0002152", "ILX:0106956"),
("obex", "ILX:0107862"),
("pons", "UBERON:0000988", "ILX:0109019"),

# Geometric markers
("brainstem dorsal midline caudal point", "None"),
("brainstem ventral midline caudal point", "None"),
("brainstem dorsal midline cranial point", "None"),
("brainstem ventral midline cranial point", "None"),
("brainstem dorsal midline pons-medulla junction", "None"),
("brainstem ventral midline pons-medulla junction", "None"),
("brainstem dorsal midline midbrain-pons junction", "None"),
("brainstem ventral midline midbrain-pons junction", "None")
]

def get_brainstem_annotation_term(name : str):
def get_brainstem_term(name : str):
"""
Find term by matching name to any identifier held for a term.
Raise exception if name not found.
Expand Down
Loading