gmod_add_organism.pl1p
Adds an entry to the organism table
Usage
% gmod_add_organism.pl [options]
Options
--name_only Check just for a name, and return a 1 if present--common_name--genus--species--abbreviation--comment--dbprofile Specify a gmod.conf profile name (otherwise use default)
Overview
This script will insert an entry into the Chado organism table. The combination genus and species is required to be unique. If either of those items are not provided, or if that combination is already in the database, the script will exit without doing anything. Technically, those are the only two things required, but it is strongly suggested that you provide a common_name and abbreviation.
The --name_only option is intended for use primarily at install time, to check the database for the existence of an entry in the organism table with a given common_name. If it is present, it prints "1" and exits, otherwise it prints "0" and exits. The options --common_name must be used in conjunction with --name_only.
Releases
6 releases since Debian 8 (Jessie); the text changed 3 times.