Package org.biojava.nbio.genome.util
Class ProteinMappingTools
java.lang.Object
org.biojava.nbio.genome.util.ProteinMappingTools
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProteinSequence
convertDNAtoProteinSequence
(String dnaSequence) Converts the DNA sequence to protein sequence.static ProteinSequence
convertDNAtoProteinSequence
(DNASequence dnaSequence) Converts the DNA sequence to protein sequence.
-
Constructor Details
-
ProteinMappingTools
public ProteinMappingTools()
-
-
Method Details
-
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
-