BioJava: How to get only frame 1 of DNA to Protein translation?
How can I get only frame 1 when translating DNA to protein.
I am using the following code to translate to protein but output is a little different from http://translate-protein.com/ (Frame 1) and http://web.expasy.org/translate/ (Frame 1).
SymbolList symL = DNATools.createDNA(input);
//transcribe to RNA (after biojava 1.4 use this method instead)
symL = DNATools.toRNA(symL);
//translate to protein
symL = RNATools.translate(symL);
out1 = symL.seqString();
Output Difference: http://www.diffnow.com/?report=sd9t4
I am using BioJava 1.7.1 in Taverna
• 3,438 views
•
link
0 answers
No answers yet.
Log in to answer this question.
How do i do that?