Bio::LiveSeq::IO::BioPerl - Loader for LiveSeq from EMBL entries with BioPerl my $db="EMBL"; my $file="../data/M20132"; my $loader=Bio::LiveSeq::IO::BioPerl->load(-db=>"EMBL", -file=>"$file"); my @translationobjects=$loader->entry2liveseq(); my $gene="AR"; my $gene=$loader->gene2liveseq("gene"); NOTE: The only -db now supported is EMBL. Hence it defaults to EMBL. This package uses BioPerl (SeqIO) to fetch a sequence database entry, analyse it and create LiveSeq objects out of it. An filename has to be passed to this package which will return references to all translation objects created from the EMBL entry. References to Transcription, DNA and Exon objects can all be retrieved departing from these. Alternatively, a specific "gene" name can be specified, together with the embl-acc ID. This will create a LiveSeq::Gene object with all relevant gene features attached/created. Email: Insana@ebi.ac.uk, jinsana@gmx.net Address: EMBL Outstation, European Bioinformatics Institute Wellcome Trust Genome Campus, Hinxton Cambs. CB10 1SD, United Kingdom The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _

load
Title : load Usage : my $filename="../data/M20132"; $loader=Bio::LiveSeq::IO::BioPerl->load(-db=>"EMBL", -file=>"$filename"); Function: loads an entry with BioPerl from a database into a hash Returns : reference to a new object of class IO::BioPerl holding an entry Errorcode 0 Args : an BioPerl query resulting in one fetched EMBL (by default) entry

embl2hash
Title : embl2hash Function: retrieves with BioPerl an EMBL entry, parses it and creates a hash that contains all the information. Returns : a reference to a hash Errorcode: 0 Args : a filename pointing to a file containing one EMBL entry two array references to skip features and qualifiers (for performance) Example: @valid_features=qw(CDS exon prim_transcript mRNA); @valid_qualifiers=qw(gene codon_start db_xref product rpt_family); $hashref=&embl2hash("$file",\@valid_features,\@valid_qualifiers);

novelaasequence2gene
Title : novelaasequence2gene Usage : $gene=Bio::LiveSeq::IO::BioPerl->novelaasequence2gene(-aasequence => "MGLAAPTRS*"); : $gene=Bio::LiveSeq::IO::BioPerl->novelaasequence2gene(-aasequence => "MGLAAPTRS*", -cusg_data => "58 44 7 29 3 3 480 267 105 143 122 39 144 162 14 59 53 25 233 292 19 113 88 246 28 68 161 231 27 102 128 151 67 60 138 131 48 61 153 19 233 73 150 31 129 38 147 71 138 43 181 81 44 15 255 118 312 392 236 82 20 10 14 141"); : $gene=Bio::LiveSeq::IO::BioPerl->novelaasequence2gene(-aasequence => "MGLAAPTRS*", -cusg_data => "58 44 7 29 3 3 480 267 105 143 122 39 144 162 14 59 53 25 233 292 19 113 88 246 28 68 161 231 27 102 128 151 67 60 138 131 48 61 153 19 233 73 150 31 129 38 147 71 138 43 181 81 44 15 255 118 312 392 236 82 20 10 14 141", -translation_table => "2", -gene_name => "tyr-kinase"); Function: creates LiveSeq objects from a novel amino acid sequence, using codon usage information (loaded from a file) to choose codons according to relative frequencies. If a codon_usage information is not specified, the default is to use Homo sapiens data (taxonomy ID 9606). If a translation_table ID is not specified, it will default to 1 (standard code). Returns : reference to a Gene object containing references to LiveSeq objects Errorcode 0 Args : string containing an amino acid sequence string (optional) with codon usage data (64 integer numbers) string (optional) specifying a gene_name integer (optional) specifying a translation_table ID