Last active
December 4, 2019 18:58
-
-
Save bellerbrock/e936e6f1595c5552c60e715c9576dfc2 to your computer and use it in GitHub Desktop.
Trait component ontology update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# starting in the cxgn directory clone or pull the latest updates in the sgn and Chado repos | |
git clone https://github.com/solgenomics/sgn.git | |
git clone https://github.com/GMOD/Chado.git | |
# Load the ontology terms | |
# If you get a message about missing packages it may be necessary to add to Chado modules to perl5lib: export PERL5LIB=/home/production/cxgn/Chado/chado/lib:$PERL5LIB | |
perl Chado/chado/bin/gmod_load_cvterms.pl -H db4.sgn.cornell.edu -D sandbox_batatabase -s TIME -d Pg -r postgres -p <PASSWORD> -n cxgn_time_ontology -u -v sgn/ontology/cxgn_time.obo | |
# Update config file as necessary, for example | |
composable_cvs trait,toy,evt | |
composable_cvs_allowed_combinations Time Series|trait+toy+evt | |
If being loaded for the first time it is also important to add the correct cvprops. | |
perl chado_tools/chado/bin/gmod_load_cvterms.pl -H breedbase_db -D hfg -s TIME -d Pg -r postgres -p postgres -n cxgn_time_ontology -u -v sgn/ontology/cxgn_time.obo | |
./load_composed_cvprops.pl -H breedbase_db -D hfg -T HFG_Trait -c composed_trait -t cxgn_time_ontology |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment