44 #include <Bpp/Text/KeyvalTools.h> 54 unparsedArguments_.clear();
56 KeyvalTools::parseProcedure(description, format, unparsedArguments_);
57 unsigned int ncol = ApplicationTools::getParameter<unsigned int>(
"length", unparsedArguments_, 100,
"",
true, warningLevel_);
58 auto_ptr<OSequence> oSeq;
59 if (format ==
"Fasta")
61 oSeq.reset(
new Fasta(ncol));
63 else if (format ==
"Mase")
65 oSeq.reset(
new Mase(ncol));
69 throw Exception(
"Sequence format '" + format +
"' unknown.");
72 return oSeq.release();
The fasta sequence file format.
This alphabet is used to deal NumericAlphabet.
The mase sequence file format.