GMOD

Gmod load cvterms

gmod_load_cvterms.pl is a perl script for loading and more importantly, updating controlled vocabulary and ontology terms in the cvterm table. This script was contributed by Naama Menda and the developers at the Sol Genomics Network (SGN) lead by Lukas Mueller.

Contents

Where to find it

gmod 1.0

In the 1.0 release of gmod, the script is called load_cvterms.pl and is not installed. It can be found in the distribution folder in the bin/cxgn directory.

gmod 1.1

In the 1.1 release, gmod_load_cvterms.pl is installed with other scripts with the distribution and will typically go in /usr/bin or /usr/local/bin.

Command line options

The script parses the ontology in the file and the corresponding ontology in the database, if present. It compares which terms are new in the file compared to the database and inserts them, and compares all the relationships that are new and inserts them. It removes the relationships that were not specified in the file from the database. It never removes a term entry from the database.

Terms that are in the database but not in the file are set to is_obsolete=1. All the terms that are present in the database are updated (if using -u option) to reflect the term definitions that are in the file. New terms that are in the file but not in the database are stored.

Categories:

Documentation

Community

Tools