Class TranscriptionEngine.Builder
java.lang.Object
org.biojava.nbio.core.sequence.transcription.TranscriptionEngine.Builder
- Enclosing class:
 - TranscriptionEngine
 
This class is the way to create a 
TranslationEngine.- 
Constructor Summary
Constructors - 
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) stopAtStopCodons(boolean stopAtStopCodons) If set, then the last codon translated in the resulting peptide sequence will be the stop codonUses the static instance ofIUPACParserto find instances ofIUPACParser.IUPACTables by ID.Uses the static instance ofIUPACParserto find instances ofIUPACParser.IUPACTables by its String nametranslateNCodons(boolean translateNCodons) trimStop(boolean trimStop) waitForStartCodon(boolean waitForStartCodon) If set, then translation will not start until a start codon is encountered 
- 
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 ofIUPACParserto find instances ofIUPACParser.IUPACTables by ID. - 
table
Uses the static instance ofIUPACParserto find instances ofIUPACParser.IUPACTables by its String name - 
table
 - 
dnaCompounds
 - 
rnaCompounds
 - 
aminoAcidsCompounds
 - 
dnaRnaTranslator
 - 
rnaAminoAcidTranslator
 - 
proteinCreator
public TranscriptionEngine.Builder proteinCreator(SequenceCreatorInterface<AminoAcidCompound> creator)  - 
rnaCreator
 - 
initMet
 - 
trimStop
 - 
translateNCodons
 - 
stopAtStopCodons
If set, then the last codon translated in the resulting peptide sequence will be the stop codon - 
waitForStartCodon
If set, then translation will not start until a start codon is encountered - 
decorateRna
Performs an optimisation where RNASequences are not translated into their own objects but are views onto the base DNA sequence. 
 -