[Bioperl-l] option for stupid translation
Heikki Lehvaslaiho
heikki@ebi.ac.uk
Fri, 19 Oct 2001 09:20:01 +0100
Elia,
Did you notice that CodonTable has a method translate_strict()?
Go ahead and commit.
-Heikki
Elia Stupka wrote:
>
> Hi guys,
>
> before I go ahead and commit, I wanted to check with you, I found that it
> would be useful to have an option on Bio::PrimarySeqI->translate (yes, yet
> another one), which if set to 1 would be passed to Bio::Tools::CodonTable
> in order not to let the codon table "guess" triplets ending in N, i.e not
> using the internal method _translate_ambiguous, but rather just append an
> "X".
>
> The reason? Genscan is not clever enough, and does not translate ambiguous
> triplets, so if something (like the guts of ensembl genscan for example)
> tries to compare the genscan peptide and the bioperl translation, it
> barfs.
>
> All I want is a optional argument, at the end, which defaults to the usual
> translation.... let me know if I should go ahead and commit on the main
> trunk, then you can have a look at it. ;)
>
> Elia
>
> ******************************
> * http://www.ebi.ac.uk/~elia *
> * tel: +44 1223 49 44 31 *
> * mobile: +44 7971 59 03 69 *
> * fax: +44 1223 49 44 68 *
> ******************************
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
--
______ _/ _/_____________________________________________________
_/ _/ http://www.ebi.ac.uk/mutations/
_/ _/ _/ Heikki Lehvaslaiho heikki@ebi.ac.uk
_/_/_/_/_/ EMBL Outstation, European Bioinformatics Institute
_/ _/ _/ Wellcome Trust Genome Campus, Hinxton
_/ _/ _/ Cambs. CB10 1SD, United Kingdom
_/ Phone: +44 (0)1223 494 644 FAX: +44 (0)1223 494 468
___ _/_/_/_/_/________________________________________________________