[Biojava-dev] [biojava1.7] Modify TranslationTable; BACTERIAL: UAG => Q
Spencer Bliven
sbliven at ucsd.edu
Thu Mar 5 15:42:37 UTC 2015
Ido-
You need to pass the correct Table object to the RNAToAminoAcidTranslator
constructor. A bunch of standard tables are provided with biojava-core in
iupac.txt
<https://github.com/biojava/biojava/blob/master/biojava-core/src/main/resources/org/biojava/nbio/core/sequence/iupac.txt>
and are accessable through the IUPACParser. If your amber suppressor isn't
included, you can use the IUPACTable
<http://www.biojava.org/docs/api/index.html?org/biojava/nbio/core/sequence/io/IUPACParser.IUPACTable.html>
subclass to specify your own.
-Spencer
On Thu, Mar 5, 2015 at 1:43 PM, Ido Tamir <tamir at imp.ac.at> wrote:
> Hi,
> how do I modify a translation table in biojava 1.7?
> I need to encode an amber suppressor.
>
> thank you very much,
> ido
> _______________________________________________
> biojava-dev mailing list
> biojava-dev at mailman.open-bio.org
> http://mailman.open-bio.org/mailman/listinfo/biojava-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biojava-dev/attachments/20150305/fb4444ae/attachment.html>
More information about the biojava-dev
mailing list