Use UBERON IDs for body-site terms in attributes.tsv
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start with inst/extdata/attributes.tsv and inspect the ontology column for the habitat and isolation-site groups. Check whether code reads that column, then update the listed body-site terms to their proposed UBERON IDs and merge the duplicate rows with empty ontology values. Done means only the intended ontology entries and duplicate rows change, while attribute names stay the same.
Written by the indexing model from the issue text.
Description
The body-site terms of the habitat and isolation-site groups in inst/extdata/attributes.tsv carry IDs from seven ontologies (NCIT, FMA, EHDAA2, MCO, ZFA, SPD, UBERON), and some have none. BugSigDB records body sites with UBERON, so UBERON IDs would let bugphyzz habitats be matched to BugSigDB body sites. UBERON covers body sites only; environments stay on ENVO and hosts on NCBITaxon.
Proposed IDs
Labels were checked against OLS on 2026-11-11.
| bugphyzz term | Now | UBERON | UBERON label |
|---|---|---|---|
| gastrointestinal tract | FMA:71132 | UBERON:0001555 | digestive tract |
| large intestine | NCIT:C12379 | UBERON:0000059 | large intestine |
| vagina | NCIT:C12407 | UBERON:0000996 | vagina |
| nasopharyngeal cavity | EHDAA2:0004555 | UBERON:0001728 | nasopharynx |
| respiratory system | NCIT:C12779 | UBERON:0001004 | respiratory system |
| human urine | MCO:0000662 | UBERON:0001088 | urine |
| oral | none | UBERON:0000165 | mouth |
| skin | NCIT:C12470 | UBERON:0002097 | skin of body |
| cerebral spinal fluid | ZFA:0001626 | UBERON:0001359 | cerebrospinal fluid |
| circulatory system | SPD:0000611 | UBERON:0001009 | circulatory system |
| feces | FMA:64183 | UBERON:0001988 | feces |
| rumen | NCIT:C98778 | UBERON:0007365 | rumen |
| sputum | NCIT:C13278 | UBERON:0007311 | sputum |
blood (UBERON:0000178) and foregut (UBERON:0001041) already have UBERON IDs. digestive system would go away if #300 is done; otherwise it needs one as well.
Notes
- Only the
ontologycolumn changes. The attribute names stay, so no data or export changes. - Several of these terms have a second row in
attributes.tsvwith no ontology (rumen,blood,cerebral spinal fluid,circulatory system,digestive system,foregut,intestinal microflora). Merging the duplicates belongs in the same change. - I have not checked whether any code reads the
ontologycolumn. - EFO imports most of these UBERON terms but not feces, rumen, sputum or foregut. That matters only if someone matches through EFO and not UBERON directly.
Raised while adding the Wikipedia source (waldronlab/bugphyzzExports#105).
Written with Claude Code.
- Dominant language
- R
- Stars
- 6
- Forks
- 6
- Avg merge
- 3h 17m
- Merged PRs (30d)
- 20
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from waldronlab/bugphyzz
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
waldronlab/bugphyzz#281 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 77/100
waldronlab/bugphyzz#300 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 57/100
waldronlab/bugphyzz#299 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
waldronlab/bugphyzz#296 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 28/100
waldronlab/bugphyzz#295 ·
Maintainers usually reply within 1 day
All issues in waldronlab/bugphyzz
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
pharmaverse/teal.picks#147 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
pharmaverse/admiralonco#367 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
nflverse/nflverse-data#107 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
r-lib/tree-sitter-r#209 ·