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

install required vocabulary? #7

Open
bradfordcondon opened this issue Jul 9, 2018 · 4 comments
Open

install required vocabulary? #7

bradfordcondon opened this issue Jul 9, 2018 · 4 comments

Comments

@bradfordcondon
Copy link
Member

bradfordcondon commented Jul 9, 2018

Each of the loaders requires a number of CVterms installed on the site. For example, the featuremap loader requires the below cvterms

>Required cvterms
Error : Could not find cvterm : alias [cv_id = 21695].
Error : Could not find cvterm : analysis_method [cv_id = 21695].
Error : Could not find cvterm : software [cv_id = 21695].
Error : Could not find cvterm : map_type [cv_id = 21695].
Error : Could not find cvterm : population_type [cv_id = 21695].
Error : Could not find cvterm : population_size [cv_id = 21695].
Error : Could not find cvterm : source_url [cv_id = 21695].
Error : Could not find cvterm : comments [cv_id = 21695].
Error : Could not find cvterm : genome_group [cv_id = 21695].

Is there a separate module or command that sets up this site CV with all the terms the loader expects? Should they have been inserted on installing this module?

I can otherwise insert the terms manually as I get the errors. I see you have a nice drush command that automatically inserts the term into the right CV, ie , drush mcl-add-cvterm comments

@leetaei
Copy link
Collaborator

leetaei commented Jul 9, 2018

Hi Bradford,

Yes, we have a drush command 'mcl-add-cveterm cvterm_name cv_name' to add a cvterm as you said. But it is pain to add all the cvterms one by one. I can work on creating a drush command to add all cvterms for a particluar template. For example, if you want to add all the cvterm for stock, type 'drush mcl-add-cvterm-by-template stock'.

@bradfordcondon
Copy link
Member Author

bradfordcondon commented Jul 10, 2018

that might be helpful. It might also be a good idea to list the needed cvterms in the requirements/setup. For example, this module requires the relationship ontology. I also had to insert an extra term (marker_locus) into the sequence ontology. Or I've had to create specific databases ('dbSNP', 'DB:genbank'). It would be create if these things could be inserted on install or at least added to the README instructions.

@leetaei
Copy link
Collaborator

leetaei commented Jul 10, 2018

Thank you for suggestions. Yes, some templates use sequence / relationship ontology. However, I think this module should not insert or change the these ontology terms. I believe Tripal has ontology loader to add terms so I should recommend to use the loader to add terms into Chado table. I definitely need to add 'prerequisites' section in README file.

@bradfordcondon
Copy link
Member Author

bradfordcondon commented Jul 10, 2018

Yes, some templates use sequence / relationship ontology. However, I think this module should not insert or change the these ontology terms.

Which version of the sequence ontology includes the term marker_locus ? I can't find it in the EBI OLS and it was not included in my install.

Mine is: http://purl.obolibrary.org/obo/so.obo which does not have a term named marker_locus

So, my point is, I have to insert this extra terms into the ontology in order to use this module.

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