Package org.biojava.nbio.genome.util
Class ProteinMappingTools
- java.lang.Object
-
- org.biojava.nbio.genome.util.ProteinMappingTools
-
public class ProteinMappingTools extends Object
-
-
Constructor Summary
Constructors Constructor Description ProteinMappingTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProteinSequence
convertDNAtoProteinSequence(String dnaSequence)
Converts the DNA sequence to protein sequence.static ProteinSequence
convertDNAtoProteinSequence(DNASequence dnaSequence)
Converts the DNA sequence to protein sequence.
-
-
-
Constructor Detail
-
ProteinMappingTools
public ProteinMappingTools()
-
-
Method Detail
-
convertDNAtoProteinSequence
public static ProteinSequence convertDNAtoProteinSequence(String dnaSequence) throws CompoundNotFoundException
Converts the DNA sequence to protein sequence.- Parameters:
dnaSequence
- the DNA sequence- Returns:
- the protein sequence
- Throws:
CompoundNotFoundException
-
convertDNAtoProteinSequence
public static ProteinSequence convertDNAtoProteinSequence(DNASequence dnaSequence) throws CompoundNotFoundException
Converts the DNA sequence to protein sequence.- Parameters:
dnaSequence
- the DNA sequence- Returns:
- the protein sequence
- Throws:
CompoundNotFoundException
-
-