libsequence
1.9.5
|
Files | |
file | Comparisons.hpp |
delcaration of routines for comparing DNA sequences This file declares a set of functions useful for comparing two bits of sequence data–sequences, nucleotides, etc. | |
Functions | |
std::string | Sequence::Translate (std::string::const_iterator beg, std::string::const_iterator end, Sequence::GeneticCodes genetic_code=GeneticCodes::UNIVERSAL, const char &gapchar='-') |
std::string Sequence::Translate | ( | std::string::const_iterator | beg, |
std::string::const_iterator | end, | ||
Sequence::GeneticCodes | genetic_code = GeneticCodes::UNIVERSAL , |
||
const char & | gapchar = '-' |
||
) |
beg | a pointer to the beginning of the region to translate |
end | a pointer to 1 past the end of the region to translate |
genetic_code | must be a value from the enumeration list Sequence::GeneticCodes |
gapchar | a character representing an alignment gap |
std::runtime_error | if genetic_code is invalid #include <Sequence/Translate.hpp> |
Definition at line 223 of file Translate.cc.