Bio::Chado::Schema::Result::Stock::StockDbxref
stock_dbxref links a stock to dbxrefs. This is for secondary identifiers; primary identifiers should use stock.dbxref_id.
data_type: 'integer' is_auto_increment: 1 is_nullable: 0 sequence: 'stock_dbxref_stock_dbxref_id_seq'
data_type: 'integer' is_foreign_key: 1 is_nullable: 0
data_type: 'boolean' default_value: true is_nullable: 0
The is_current boolean indicates whether the linked dbxref is the current -official- dbxref for the linked stock.
Type: belongs_to
Related object: Bio::Chado::Schema::Result::General::Dbxref
Related object: Bio::Chado::Schema::Result::Stock::Stock
Type: has_many
Related object: Bio::Chado::Schema::Result::Stock::StockDbxrefprop
Usage: $set->create_stock_dbxrefprops({ baz => 2, foo => 'bar' }); Desc : convenience method to create stock_dbxref 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 stock_dbxrefprop name. Default false. cv_name => cv.name to use for the given stock_dbxrefprops. Defaults to 'stock_dbxref_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 rank => force numeric rank. Be careful not to pass ranks that already exist for the property type. The function will die in such case. allow_duplicate_values => default false. If true, allow duplicate instances of the same stock_dbxref and value in the properties of the stock_dbxref. Duplicate values will have different ranks. } Ret : hashref of { propname => new stock_dbxrefprop object }
To install Bio::Chado::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Chado::Schema
CPAN shell
perl -MCPAN -e shell install Bio::Chado::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.