Class TranscriptionEngine.Builder
java.lang.Object
org.biojava3.core.sequence.transcription.TranscriptionEngine.Builder
- Enclosing class:
- TranscriptionEngine
This class is the way to create a
TranslationEngine
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaminoAcidsCompounds
(CompoundSet<AminoAcidCompound> compounds) build()
The method to finish any calls to the builder with which returns a transcription engine.decorateRna
(boolean decorateRna) Performs an optimisation where RNASequences are not translated into their own objects but are views onto the base DNA sequence.dnaCompounds
(CompoundSet<NucleotideCompound> compounds) dnaRnaTranslator
(DNAToRNATranslator translator) initMet
(boolean initMet) rnaAminoAcidTranslator
(RNAToAminoAcidTranslator translator) rnaCompounds
(CompoundSet<NucleotideCompound> compounds) Uses the static instance ofIUPACParser
to find instances ofIUPACParser.IUPACTable
s by ID.Uses the static instance ofIUPACParser
to find instances ofIUPACParser.IUPACTable
s by its String nametranslateNCodons
(boolean translateNCodons) trimStop
(boolean trimStop)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
The method to finish any calls to the builder with which returns a transcription engine. The engine is designed to provide everything required for transcription to those classes which will do the transcription. -
table
Uses the static instance ofIUPACParser
to find instances ofIUPACParser.IUPACTable
s by ID. -
table
Uses the static instance ofIUPACParser
to find instances ofIUPACParser.IUPACTable
s by its String name -
table
-
dnaCompounds
-
rnaCompounds
-
aminoAcidsCompounds
-
dnaRnaTranslator
-
rnaAminoAcidTranslator
-
proteinCreator
public TranscriptionEngine.Builder proteinCreator(SequenceCreatorInterface<AminoAcidCompound> creator) -
rnaCreator
-
initMet
-
trimStop
-
translateNCodons
-
decorateRna
Performs an optimisation where RNASequences are not translated into their own objects but are views onto the base DNA sequence.
-