5 #ifndef BPP_SEQ_IO_NEXUSIOSEQUENCE_H
6 #define BPP_SEQ_IO_NEXUSIOSEQUENCE_H
9 #include "../Container/AlignedSequenceContainer.h"
10 #include "../Container/SequenceContainer.h"
11 #include "../Container/VectorSequenceContainer.h"
12 #include "../Sequence.h"
Partial implementation of the IAlignment and ISequence interface, dedicated to alignment readers.
The Nexus format reader for sequences.
void checkNames(bool yn)
Tell whether the sequence names should be checked when reading from files.
void appendAlignmentFromStream(std::istream &input, SequenceContainerInterface &sc) const override
Append sequences to a container from a stream.
NexusIOSequence(unsigned int charsByLine=100, bool checkSequenceNames=true)
Build a new Nexus file reader.
unsigned int charsByLine_
The maximum number of chars to be written on a line.
virtual ~NexusIOSequence()
const std::vector< std::string > splitNameAndSequence_(const std::string &s) const
const std::string getFormatDescription() const override
const std::string getFormatName() const override
The SequenceContainer interface.
This alphabet is used to deal NumericAlphabet.