5 #ifndef BPP_SEQ_IO_IOSEQUENCEFACTORY_H
6 #define BPP_SEQ_IO_IOSEQUENCEFACTORY_H
9 #include "../Alphabet/Alphabet.h"
54 virtual std::unique_ptr<ISequence>
createReader(
const std::string& format);
72 virtual std::unique_ptr<OSequence>
createWriter(
const std::string& format);
Utilitary class for creating sequence readers and writers.
IoSequenceFactory()
Creates a new factory object.
static const std::string DCSE_FORMAT
static const std::string PHYLIP_FORMAT_SEQUENTIAL
virtual ~IoSequenceFactory()
static const std::string GENBANK_FORMAT
virtual std::unique_ptr< IAlignment > createAlignmentReader(const std::string &format)
Get a new dynamically created IAlignment object.
static const std::string PAML_FORMAT_INTERLEAVED
static const std::string CLUSTAL_FORMAT
virtual std::unique_ptr< OSequence > createWriter(const std::string &format)
Get a new dynamically created OSequence object.
virtual std::unique_ptr< OAlignment > createAlignmentWriter(const std::string &format)
Get a new dynamically created OAlignment object.
static const std::string NEXUS_FORMAT
static const std::string PHYLIP_FORMAT_INTERLEAVED
static const std::string MASE_FORMAT
static const std::string FASTA_FORMAT
static const std::string PAML_FORMAT_SEQUENTIAL
virtual std::unique_ptr< ISequence > createReader(const std::string &format)
Get a new dynamically created ISequence object.
This alphabet is used to deal NumericAlphabet.