NAME
Bio::LiveSeq::IO::Loader - Parent Loader for LiveSeq
SYNOPSIS
#documentation needed
DESCRIPTION
This package holds common methods used by BioPerl and file loaders. It contains methods to create LiveSeq objects out of entire entries or from a localized sequence region surrounding 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 _
entry2liveseq
Title : entry2liveseqUsage : @translationobjects=$loader->entry2liveseq();: @translationobjects=$loader->entry2liveseq(-getswissprotinfo => 0);Function: creates LiveSeq objects from an entry previously loadedReturns : array of references to objects of class TranslationErrorcode 0Args : optional boolean flag to avoid the retrieval of SwissProtinformation for all Transcripts containing SwissProt x-referencedefault is 1 (to retrieve those information and create AARangeLiveSeq objects)Note : this method can get really slow for big entries. The lightweightgene2liveseq method is recommended
novelaasequence2gene
Title : novelaasequence2geneUsage : $gene=$loader->novelaasequence2gene(-aasequence => "MGLAAPTRS*");: $gene=$loader->novelaasequence2gene(-aasequence => "MGLAAPTRS*");-taxon => 9606,-gene_name => "tyr-kinase");Function: creates LiveSeq objects from a novel amino acid sequence,using codon usage database to choose codons according torelative frequencies.If a taxon ID is not specified, the default is to use the humanone (taxonomy ID 9606).Returns : reference to a Gene object containing references to LiveSeq objectsErrorcode 0Args : string containing an amino acid sequenceinteger (optional) with a taxonomy IDstring specifying a gene name
gene2liveseq
Title : gene2liveseqUsage : $gene=$loader->gene2liveseq(-gene_name => "gene name");: $gene=$loader->gene2liveseq(-gene_name => "gene name",-flanking => 64);: $gene=$loader->gene2liveseq(-gene_name => "gene name",-getswissprotinfo => 0);: $gene=$loader->gene2liveseq(-position => 4);Function: creates LiveSeq objects from an entry previously loadedIt is a "light weight" creation because it createsa LiveSequence just for the interesting region in an entry(instead than for the total entry, like in entry2liveseq) and forthe flanking regions up to 500 nucleotides (default) or up tothe specified amount of nucleotides (given as argument) around theGene.Returns : reference to a Gene object containing possibly alternativeTranscripts.Errorcode 0Args : string containing the gene name as in the EMBL feature qualifierinteger (optional) "flanking": amount of flanking bases to be keptboolean (optional) "getswissprotinfo": if set to "0" it will avoidtrying to fetch information from a crossreference to a SwissProtentry, avoiding the process of creation of AARange objectsIt is "1" (on) by defaultAlternative to a gene_name, a position can be given: aninteger (1-) containing the position of the desired CDS in theloaded entry
printswissprot
Title : printswissprotUsage : $loader->printswissprot($hashref);Function: prints out all information loaded from a database entry into theloader. Mainly used for testing purposes.Args : a hashref containing the SWISSPROT entry datasNote : the hashref can be obtained with a call to the method$loader->get_swisshash() (BioPerl via Bio::DB::EMBL.pm)that takes as argument a string like "SWISS-PROT:P10275"
printembl
Title : printemblUsage : $loader->printembl();Function: prints out all information loaded from a database entry into theloader. Mainly used for testing purposes.Args : none
genes
Title : genesUsage : $loader->genes();Function: Returns an array of gene_names (strings) contained in the loadedentry.Args : none