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

Phylotree description update #598

Open
almasaeed2010 opened this issue Jul 22, 2020 · 0 comments
Open

Phylotree description update #598

almasaeed2010 opened this issue Jul 22, 2020 · 0 comments
Assignees

Comments

@almasaeed2010
Copy link
Contributor

Feature description

Our little Phylotree loader module (https://github.com/statonlab/phylotree_loader_cmd) allows users to run a drush command to load all phylotrees in a directory. It automatically adds a title and appends the file as a description in the page. We want to extract the feature cvterms and add them to the description under the file.

  1. Once the loader finishes loading a tree, grab it's ID (note that tree names are unique so you can search by name).
  2. Chado has a table (something along the lines of phylotreee_node) that has a feature_id linking each feature in the tree to the tree. By grabbing these feeatures we can get all their cvterms.
  3. Presentation: Only unique cv terms should be presented. If possible, they should be linked to the cvterm page. For easy scanning, the cvterms should be in a table:
Controlled Vocabulary Term Description
chado.cv.name chado.cvterm.name chado.cvterm.description

Note that that this table should go to chado.phylotree.comment table.

Link to relevant info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants