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 org.biojava.nbio.core.sequence.ProteinSequenceconvertDNAtoProteinSequence(String dnaSequence)Converts the DNA sequence to protein sequence.static org.biojava.nbio.core.sequence.ProteinSequenceconvertDNAtoProteinSequence(org.biojava.nbio.core.sequence.DNASequence dnaSequence)Converts the DNA sequence to protein sequence.
-
-
-
Method Detail
-
convertDNAtoProteinSequence
public static org.biojava.nbio.core.sequence.ProteinSequence convertDNAtoProteinSequence(String dnaSequence) throws org.biojava.nbio.core.exceptions.CompoundNotFoundException
Converts the DNA sequence to protein sequence.- Parameters:
dnaSequence- the DNA sequence- Returns:
- the protein sequence
- Throws:
org.biojava.nbio.core.exceptions.CompoundNotFoundException
-
convertDNAtoProteinSequence
public static org.biojava.nbio.core.sequence.ProteinSequence convertDNAtoProteinSequence(org.biojava.nbio.core.sequence.DNASequence dnaSequence) throws org.biojava.nbio.core.exceptions.CompoundNotFoundExceptionConverts the DNA sequence to protein sequence.- Parameters:
dnaSequence- the DNA sequence- Returns:
- the protein sequence
- Throws:
org.biojava.nbio.core.exceptions.CompoundNotFoundException
-
-