Hi Francois,

The engine by default will always return the first amino acid as an init met if 
the amino acid could have been a start codon (but stupid atmo but it will be 
altered). If you do not want this behaviour then you'll have to create your 
own. You can do this using the following:

TranscriptionEngine e = new 
TranscriptionEngine.Builder().initMet(false).build();

HTH,

Andy

On 21 Apr 2011, at 22:18, François Le Fèvre wrote:

> Dear all,
> i have a quick question about translation with biojava 3
> 
> I would like to retrieve that the codon CTA is coding for a leucine.
> But some leucine codons code also for a start in Universal Genetic code
> 
> Here I have build a very short example:
> given  a short dna sequence coomposed of a start codon and 6 leucine codons
> 
> TranscriptionEngine e = TranscriptionEngine.getDefault();
> DNASequence dd = new DNASequence("ATGTTGTTACTTCTCCTACTG");
> //return MLLLLLL : OK
> 
> DNASequence dd = new DNASequence("CTATTGTTACTTCTCCTACTG");
> //return MLLLLLL : KO I would prefer have LLLLLLL !
> 
> DNASequence dd = new DNASequence("CTA");
> //return M : KO I would prefer have L !
> 
> Could someone explain me this feature ?
> How the default transcritionEngine works?
> 
> How can I ask to the TranscriptionEngine give me the aminoacids corresponding 
> to CTA when it is not in first position?
> 
> Thanks a lot for your help !
> 
> Francois
> 
> _______________________________________________
> Biojava-l mailing list  -  [email protected]
> http://lists.open-bio.org/mailman/listinfo/biojava-l

-- 
Andrew Yates                   Ensembl Genomes Engineer
EMBL-EBI                       Tel: +44-(0)1223-492538
Wellcome Trust Genome Campus   Fax: +44-(0)1223-494468
Cambridge CB10 1SD, UK         http://www.ensemblgenomes.org/





_______________________________________________
Biojava-l mailing list  -  [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l

Reply via email to