Last active
March 17, 2021 20:51
-
-
Save bellerbrock/c148e6f7d3d9e01079a6c2ec130f5786 to your computer and use it in GitHub Desktop.
Ontology Update example
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
# Start by cloning or pulling the latest updates in the ibp-sweetpotato-traits and Chado repos | |
git clone https://github.com/Planteome/ibp-sweetpotato-traits.git | |
git clone https://github.com/GMOD/Chado.git | |
# Load the ontology terms, then update cvterm paths. 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 CO_331 -d Pg -r postgres -p <PASSWORD> -n SweetpotatoTrait -u -v ibp-sweetpotato-traits/sweetpotato_trait.obo | |
perl Chado/chado/bin/gmod_make_cvtermpath.pl -H db4.sgn.cornell.edu -D sandbox_batatabase -d Pg -u postgres -p <PASSWORD> -c SweetpotatoTrait | |
# Example for other ontologies | |
perl Chado/chado/bin/gmod_load_cvterms.pl -H breedbase_db -D breedbase -s SGNSTAT -d Pg -r postgres -p postgres -n SGNStatistics_ontology -u -v sgn/ontology/cxgn_statistics.obo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment