NAME
Bio::Chado::Schema::Result::Pub::Pub
DESCRIPTION
A documented provenance artefact - publications, documents, personal communication.
NAME
Bio::Chado::Schema::Result::Pub::Pub
ACCESSORS
pub_id
data_type: 'integer'
is_auto_increment: 1
is_nullable: 0
sequence: 'pub_pub_id_seq'
title
data_type: 'text'
is_nullable: 1
Descriptive general heading.
volumetitle
data_type: 'text'
is_nullable: 1
Title of part if one of a series.
volume
data_type: 'varchar'
is_nullable: 1
size: 255
series_name
data_type: 'varchar'
is_nullable: 1
size: 255
Full name of (journal) series.
issue
data_type: 'varchar'
is_nullable: 1
size: 255
pyear
data_type: 'varchar'
is_nullable: 1
size: 255
pages
data_type: 'varchar'
is_nullable: 1
size: 255
Page number range[s], e.g. 457--459, viii + 664pp, lv--lvii.
miniref
data_type: 'varchar'
is_nullable: 1
size: 255
uniquename
data_type: 'text'
is_nullable: 0
type_id
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
The type of the publication (book, journal, poem, graffiti, etc). Uses pub cv.
is_obsolete
data_type: 'boolean'
default_value: false
is_nullable: 1
publisher
data_type: 'varchar'
is_nullable: 1
size: 255
pubplace
data_type: 'varchar'
is_nullable: 1
size: 255
RELATIONS
cell_line_cvterms
Type: has_many
Related object: Bio::Chado::Schema::Result::CellLine::CellLineCvterm
cell_line_features
Type: has_many
Related object: Bio::Chado::Schema::Result::CellLine::CellLineFeature
cell_line_libraries
Type: has_many
Related object: Bio::Chado::Schema::Result::CellLine::CellLineLibrary
cell_lineprop_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::CellLine::CellLinepropPub
cell_line_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::CellLine::CellLinePub
cell_line_synonyms
Type: has_many
Related object: Bio::Chado::Schema::Result::CellLine::CellLineSynonym
expression_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Expression::ExpressionPub
feature_cvterms
Type: has_many
Related object: Bio::Chado::Schema::Result::Sequence::FeatureCvterm
feature_cvterm_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Sequence::FeatureCvtermPub
feature_expressions
Type: has_many
Related object: Bio::Chado::Schema::Result::Expression::FeatureExpression
featureloc_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Sequence::FeaturelocPub
featuremap_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Map::FeaturemapPub
featureprop_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Sequence::FeaturepropPub
feature_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Sequence::FeaturePub
feature_relationshipprop_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Sequence::FeatureRelationshippropPub
feature_relationship_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Sequence::FeatureRelationshipPub
feature_synonyms
Type: has_many
Related object: Bio::Chado::Schema::Result::Sequence::FeatureSynonym
library_cvterms
Type: has_many
Related object: Bio::Chado::Schema::Result::Library::LibraryCvterm
libraryprop_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Library::LibrarypropPub
library_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Library::LibraryPub
library_synonyms
Type: has_many
Related object: Bio::Chado::Schema::Result::Library::LibrarySynonym
nd_experiment_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentPub
phendescs
Type: has_many
Related object: Bio::Chado::Schema::Result::Genetic::Phendesc
phenotype_comparisons
Type: has_many
Related object: Bio::Chado::Schema::Result::Genetic::PhenotypeComparison
phenotype_comparison_cvterms
Type: has_many
Related object: Bio::Chado::Schema::Result::Genetic::PhenotypeComparisonCvterm
phenstatements
Type: has_many
Related object: Bio::Chado::Schema::Result::Genetic::Phenstatement
phylonode_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Phylogeny::PhylonodePub
phylotree_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Phylogeny::PhylotreePub
project_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Project::ProjectPub
protocols
Type: has_many
Related object: Bio::Chado::Schema::Result::Mage::Protocol
type
Type: belongs_to
Related object: Bio::Chado::Schema::Result::Cv::Cvterm
pubauthors
Type: has_many
Related object: Bio::Chado::Schema::Result::Pub::Pubauthor
pub_dbxrefs
Type: has_many
Related object: Bio::Chado::Schema::Result::Pub::PubDbxref
pubprops
Type: has_many
Related object: Bio::Chado::Schema::Result::Pub::Pubprop
pub_relationship_objects
Type: has_many
Related object: Bio::Chado::Schema::Result::Pub::PubRelationship
pub_relationship_subjects
Type: has_many
Related object: Bio::Chado::Schema::Result::Pub::PubRelationship
stock_cvterms
Type: has_many
Related object: Bio::Chado::Schema::Result::Stock::StockCvterm
stockprop_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Stock::StockpropPub
stock_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Stock::StockPub
stock_relationship_cvterms
Type: has_many
Related object: Bio::Chado::Schema::Result::Stock::StockRelationshipCvterm
stock_relationship_pubs
Type: has_many
Related object: Bio::Chado::Schema::Result::Stock::StockRelationshipPub
studies
Type: has_many
Related object: Bio::Chado::Schema::Result::Mage::Study
create_pubprops
Usage: $set->create_pubprops({ baz => 2, foo => 'bar' });
Desc : convenience method to create pubprop 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 pubprop name. Default false.
cv_name => cv.name to use for the given pubprops.
Defaults to 'pub_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 cvterm
and value in the properties of the pubprop. Duplicate
values will have different ranks.
}
Ret : hashref of { propname => new pubprop object }
AUTHOR
Robert Buels <rbuels@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Robert Buels.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.