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" 54 charsByLine_(charsByLine), checkNames_(checkSequenceNames) {}
94 #endif // BPP_SEQ_IO_NEXUSIOSEQUENCE_H Partial implementation of the IAlignment and ISequence interface, dedicated to alignment readers...
This alphabet is used to deal NumericAlphabet.
virtual ~NexusIOSequence()
NexusIOSequence(unsigned int charsByLine=100, bool checkSequenceNames=true)
Build a new Nexus file reader.
The Nexus format reader for sequences.
The SequenceContainer interface.
void checkNames(bool yn)
Tell whether the sequence names should be checked when reading from files.
unsigned int charsByLine_
The maximum number of chars to be written on a line.
const std::string getFormatDescription() const override
void appendAlignmentFromStream(std::istream &input, SequenceContainerInterface &sc) const override
Append sequences to a container from a stream.
const std::string getFormatName() const override
const std::vector< std::string > splitNameAndSequence_(const std::string &s) const