public static class IUPACParser.IUPACTable extends Object implements Table
Table.CaseInsensitiveTriplet, Table.Codon
Constructor and Description |
---|
IUPACTable(String name,
Integer id,
String aminoAcidString,
String startCodons)
Constructor which uses the basic IUPAC codon table format.
|
IUPACTable(String name,
int id,
String aminoAcidString,
String startCodons,
String baseOne,
String baseTwo,
String baseThree) |
Modifier and Type | Method and Description |
---|---|
CompoundSet<Table.Codon> |
getCodonCompoundSet(CompoundSet<NucleotideCompound> rnaCompounds,
CompoundSet<AminoAcidCompound> aminoAcidCompounds)
Returns the compound set of codons
|
List<Table.Codon> |
getCodons(CompoundSet<NucleotideCompound> nucelotides,
CompoundSet<AminoAcidCompound> aminoAcids)
Returns a list of codons where the source and target compounds
are the same as those given by the parameters.
|
Integer |
getId() |
String |
getName() |
boolean |
isStart(AminoAcidCompound compound)
Returns true if the given compound was a start codon in this
codon table.
|
public IUPACTable(String name, int id, String aminoAcidString, String startCodons, String baseOne, String baseTwo, String baseThree)
public IUPACTable(String name, Integer id, String aminoAcidString, String startCodons)
public boolean isStart(AminoAcidCompound compound) throws IllegalStateException
isStart
in interface Table
IllegalStateException
- Thrown if
getCodons(CompoundSet, CompoundSet)
was not called first.public List<Table.Codon> getCodons(CompoundSet<NucleotideCompound> nucelotides, CompoundSet<AminoAcidCompound> aminoAcids)
public CompoundSet<Table.Codon> getCodonCompoundSet(CompoundSet<NucleotideCompound> rnaCompounds, CompoundSet<AminoAcidCompound> aminoAcidCompounds)
getCodonCompoundSet
in interface Table
Copyright © 2000–2018 BioJava. All rights reserved.