-
Notifications
You must be signed in to change notification settings - Fork 1
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
How to perform set-up ontologies? #130
Comments
Hi @cornellyujy, did you see these docs: https://analyzedphenotypes.readthedocs.io/en/latest/admin_guide/setup.html? On KnowPulse we use the recommended method (#2 in those docs). The example shown in those docs is for a fictitious "Tripalus databasica" organism which will work with all the other examples in the documentation :-) |
Yep. I fellow the steps: 1#I added a new CV, and it's just a CV name and description. May I need to add 3 CVs incliding Trait, Method, and Unit like Tripalus? |
I'm not sure I quite follow so just let me know if I misunderstood you :-) So you did follow the steps but weren't sure if you needed 3 CVs with matching DBs or only one? You do need 3 unique CVs with their own DB. The crop ontology is not required. It can also be any ontology you want to associate with your traits :-) Yes, it's OK if these CVs are empty. By default, there is a checkbox selected in that same configuration form that allows new terms to be added to those CV/DBs. The way this works is when you upload a file with data, the importer will check to see if the trait, method, unit from the file already exists. If they do then it will just fill them in for you and if they don't you will be asked to fill in more details and then the importer will create them for you with the proper relationships. |
Each CV has one DB that matches it.
Oh! That may be a good catch. We apparently use a non-standard content type here but did not explain setting that up... I think you should be able to use the "Project" content type instead without any additional work on your part 🤞 |
Good! Thanks @laceysanderson , I got it. |
The database does need to be filled -just with an empty DB (for example "Cucurbita Phenotypic Terms" although the name is not important). Apparently, I made a small mistake above -there is only one database that is used for all three CVs. |
This error For the germplasm it will need to already exist so yes, you could change it to match the germplasm from the genotypic data or you could create these 15 germplasm through the create tripal content forms. |
Hi @laceysanderson , if I used you example files to make the module run, how to set up its ontologies. Honestly, I have no idea for the set-up ontologies. Could you give me a example for setting up. Thanks~
The text was updated successfully, but these errors were encountered: