GMOD_ADD_ORGANISM(1p)
π GMOD_ADD_ORGANISM(1p) π
okay bestie, so this is a page from the User Contributed Perl Documentation collection, and it's literally called gmod_add_organism.pl β and yeah, that's the script we're talking about. Sit down, grab a strawberry, this is gonna be quick and cute. π
β¨ NAME β¨
$0 β Adds an entry to the organism table π¦
like, that's the whole job. it adds a lil row to the organism table. iconic.
πΈ SYNOPSIS πΈ
% gmod_add_organism.pl [options]
run it, give it some options, it does its thing. simple as. π
π COMMAND-LINE OPTIONS π
--name_onlyβ literally just checks for a name and returns a1if it's there. that's it, that's the whole vibe check π--common_nameβ you give it the common name, bestie--genusβ the genus, obviously--speciesβ and the species--abbreviationβ a lil abbreviated version--commentβ drop a comment in there--dbprofileβ tells it whichgmod.confprofile to use (if you don't say anything, it just uses the default one) β¨
π DESCRIPTION π
so this script inserts an entry into the Chado organism table. and here's the thing β the combination of genus and species has to be unique. no duplicates, no copycats, periodt.
if either of those two things isn't provided, OR if that genus+species combo is already sitting in the database, the script will just exit without doing anything. it simply refuses. no notes, no drama, it's leaving. π
technically speaking? those two are the only things that are actually required. but ngl, it is strongly suggested that you also provide a common_name and an abbreviation. like, do yourself a favor, bestie. π«Ά
now, the --name_only option is meant to be used primarily at install time β the whole point is to check the database and see whether there's already an entry in the organism table with a given common_name. here's how it goes:
- if it's present, it prints
"1"and exits π₯ - otherwise, it prints
"0"and exits πΈ
and listen β the --common_name option must be used in conjunction with --name_only. they're a package deal. don't separate them, they'll be sad. π
π AUTHOR π
Scott Cain <scain@cpan.org>
Copyright (c) 2011
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
and that's the whole page, bestie!! π§ this was GMOD_ADD_ORGANISM(1p) from the perl v5.30.0 era, dated 2019-12-05 β mwah, love that for us. go add some organisms, slay, bye!! πβ¨π
π¦ where this page comes from
- debian bookworm: chado-utils 1.31-6 Β· Artistic-2.0
- debian trixie: chado-utils 1.31-6 Β· Artistic-2.0
- ubuntu jammy: chado-utils 1.31-6 Β· Artistic-2.0
- ubuntu noble: chado-utils 1.31-6 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms