Skip to content
New issue

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

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

Already on GitHub? # to your account

Script to sort ROBOT template by hierarchy #3

Open
jamesaoverton opened this issue Feb 28, 2020 · 0 comments
Open

Script to sort ROBOT template by hierarchy #3

jamesaoverton opened this issue Feb 28, 2020 · 0 comments
Assignees

Comments

@jamesaoverton
Copy link
Member

ROBOT templates are often used to represent a full branch of an ontology, e.g. OBI's epitope-assays.tsv. We usually sort these tables by ID.

I want to be able to sort them into tree order. This would keep similar classes closer together, making it easier to see shared modelling patterns.

OBI's convention is to assert single inheritance, so the 'Parent' column will have a single label value. For tables representing branches, there should be no gaps in the tree. Siblings should be sorted alphabetically. (Natural number sort would be even better.)

It might also be nice to indent the label column by tree depth.

@jamesaoverton jamesaoverton self-assigned this Feb 29, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant