Usage: $set->create_organismprops({ baz => 2, foo => 'bar' });
Desc : convenience method to create organism properties using cvterms
from the ontology with the given name
Args : hashref of { propname => value, ...},
options hashref as:
{
autocreate => 0,
(optional) boolean, if passed, automatically create cv,
cvterm, and dbxref rows if one cannot be found for the
given featureprop name. Default false.
cv_name => cv.name to use for the given organismprops.
Defaults to 'organism_property',
db_name => db.name to use for autocreated dbxrefs,
default 'null',
dbxref_accession_prefix => optional, default
'autocreated:',
definitions => optional hashref of:
{ cvterm_name => definition,
}
to load into the cvterm table when autocreating cvterms
allow_duplicate_values => default false.
If true, allow duplicate instances of the same cvterm
and value in the properties of the feature. Duplicate
values will have different ranks.
}
Ret : hashref of { propname => new organismprop object }
Module Install Instructions
To install Bio::Chado::Schema, copy and paste the appropriate command in to your terminal.