Terms are not completely removed by --make-species-subset

Open
#164 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java

Research direction

Start by running the reported owltools go-plus.obo command with --make-species-subset for NCBITaxon:4896 and inspect the generated OBO stanza for GO:0000795. Trace how never_in_taxon relationships are handled during subset generation; done means terms excluded by that relationship do not remain as identifier-only stanzas.

Written by the indexing model from the issue text.

Description

I'd like to get an OBO file of GO terms that make sense for pombe. I've
tried:

owltools go-plus.obo --reasoner elk --make-species-subset -t NCBITaxon:4896 -o -f obo go-pombe-subset.obo

That nearly does what I need but the output OBO file has some stanzas
that I didn't expect.

As an example, in go-plus.obo, GO:0000795 ("synaptonemal complex") has
this relationship:

relationship: never_in_taxon NCBITaxon:4896 {id="GOTAX:0010058"} ! Schizosaccharomyces pombe

so I was expecting that GO:0000795 wouldn't appear in the output.
Instead it was there but with just "id:" and "alt_id:" lines:

[Term]
id: GO:0000795
alt_id: GO:0005716

CC @ValWood @mah11

Dominant language
Java
Stars
115
Forks
34
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from owlcollab/owltools

All issues in owlcollab/owltools

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.