43 #include <Bpp/Text/KeyvalTools.h> 53 unparsedArguments_.clear();
55 KeyvalTools::parseProcedure(description, format, unparsedArguments_);
56 auto_ptr<ISequenceStream> iSeq;
57 if (format ==
"Fasta")
59 bool strictNames = ApplicationTools::getBooleanParameter(
"strict_names", unparsedArguments_,
false,
"",
true,
false);
60 bool extended = ApplicationTools::getBooleanParameter(
"extended", unparsedArguments_,
false,
"",
true,
false);
61 iSeq.reset(
new Fasta(100,
true, extended, strictNames));
65 throw Exception(
"Sequence format '" + format +
"' unknown.");
68 return iSeq.release();
The fasta sequence file format.
This alphabet is used to deal NumericAlphabet.
The ISequenceStream interface.