Re: BioJava translation

Peter <[email protected]>
Newsgroups gmane.comp.java.bio.general
Message-ID <[email protected]>
On Wed, Oct 13, 2010 at 12:15 PM, Pjotr Prins <[email protected]> wrote:
> I am using biojava-1.7.1 nucleotide -> amino acid translation. It is
> rather slow. In fact, the biopython equivalent in native Python is
> twice as fast. EMBOSS is again magnitudes faster. I am using
> something like
>
>  rna = RNATools.createRNA(nucleotides);
>  aa = RNATools.translate(rna);
>
> Embarrassingly, even the R version is faster in the GeneR module, as
> it uses a C module.
>
> I have a feeling this has to do with typed object creation at every
> level, whereas Python and others uses plain character Strings.
>
> Any plans for speeding this up on the JVM?
>
> Pj.

Actually (assuming you are not explicitly using strings),
Biopython would also be using objects for each sequence,
which does impose a speed penalty.

Peter

_______________________________________________
Biojava-l mailing list  -  [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.