12const std::vector<std::string>
VALID_FORMATS = {
"fasta",
"afa",
"fas",
"fst",
"fsa",
"a2m",
"a3m",
"sto",
"clustal",
"aln",
"pfam"};
14inline const std::vector<std::string>
FASTA_FORMATS = {
"fasta",
"afa",
"fas",
"fst",
"fsa"};
21const std::string
GAP =
"-.";
61std::string
getFormat(std::string file, std::string name);
NonStandardHandler
Definition common.h:49
@ ConsiderGap
Definition common.h:52
@ ConsiderGapInCutoff
Definition common.h:51
@ AsStandard
Definition common.h:50
std::string getStandardLetters(Alphabet alphabet)
gets the list of standard letters for the provided input alphabet
Definition common.cpp:83
std::string getFormat(std::string file, std::string name)
Get the format from a file path.
Normalization
Definition common.h:33
@ Sqrt_L
Definition common.h:34
@ None
Definition common.h:36
@ L
Definition common.h:35
const std::string NON_STANDARD_AMINO_ACIDS
Definition common.h:17
const std::string STANDARD_DNA_NUCLEOTIDES
Definition common.h:19
const std::vector< std::string > VALID_FORMATS
Definition common.h:12
std::string getAllowedLetters(Alphabet alphabet)
gets the list of allowed letters for the provided input alphabet
Definition common.cpp:65
const std::vector< std::string > FASTA_FORMATS
Definition common.h:14
void keepNonGapPositionsOfQuerySequence(std::vector< Sequence > &sequences)
Keep only the positions of non-gap residues of the query sequence for all sequences.
std::string getNonStandardLetters(Alphabet alphabet)
gets the list of non-standard letters for the provided input alphabet
Definition common.cpp:101
const std::string NON_STANDARD_NUCLEOTIDES
Definition common.h:20
const std::string STANDARD_AMINO_ACIDS
Definition common.h:16
Alphabet
Definition common.h:41
@ protein
Definition common.h:42
@ RNA
Definition common.h:43
@ DNA
Definition common.h:44
const std::string STANDARD_RNA_NUCLEOTIDES
Definition common.h:18
const std::string GAP
Definition common.h:21
std::string remarks
Definition common.h:28
std::string sequence
Definition common.h:27
std::string id
Definition common.h:26