NAME
Bio::LiveSeq::Gene - Range abstract class for LiveSeq
SYNOPSIS
# documentation needed
DESCRIPTION
This is used as storage for all object references concerning a particular gene.
AUTHOR - Joseph A.L. Insana
Email: [email protected], [email protected]
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
new
Title : newUsage : $gene = Bio::LiveSeq::Gene->new(-name => "name",-features => $hashref-upbound => $min-downbound => $max);Function: generates a new Bio::LiveSeq::GeneReturns : reference to a new object of class GeneErrorcode -1Args : one string and one hashreference containing all features definedfor the Gene and the references to the LiveSeq objects for thosefeatures.Two labels for defining boundaries of the gene. Usually theboundaries will reflect max span of transcript, exon... features,while the DNA sequence will be created with some flanking regions(e.g. with the EMBL_SRS::gene2liveseq routine).If these two labels are not given, they will default to the startand end of the DNA object.Note : the format of the hash has to be likeDNA => reference to LiveSeq::DNA objectTranscripts => reference to array of transcripts objrefsTransclations => reference to array of transcripts objrefsExons => ....Introns => ....Prim_Transcripts => ....Repeat_Units => ....Repeat_Regions => ....Only DNA and Transcripts are mandatory
verbose
Title : verboseUsage : $self->verbose(0)Function: Sets verbose level for how ->warn behaves-1 = silent: no warning0 = reduced: minimal warnings1 = default: all warnings2 = extended: all warnings + stack trace dump3 = paranoid: a warning becomes a throw and the program diesNote: a quick way to set all LiveSeq objects at the same verbositylevel is to change the DNA level object, since they all look tothat one if their verbosity_level attribute is not set.But the method offers fine tuning possibility by changing theverbose level of each object in a different way.So for example, after $loader= and $gene= have been retrievedby a program, the command $gene->verbose(0); wouldset the default verbosity level to 0 for all objects.Returns : the current verbosity levelArgs : -1,0,1,2 or 3