5 #ifndef BPP_SEQ_IO_STOCKHOLM_H
6 #define BPP_SEQ_IO_STOCKHOLM_H
9 #include "../Container/AlignedSequenceContainer.h"
10 #include "../Container/SequenceContainer.h"
11 #include "../Sequence.h"
57 const std::string
getFormatName()
const override {
return "Stockholm file"; }
60 return "See http://en.wikipedia.org/wiki/Stockholm_format";
Partial implementation of the OAlignment interface.
void writeAlignment(std::ostream &output, const SiteContainerInterface &sc) const override=0
Write a container to a stream.
The Stockholm alignment file format.
Stockholm(bool checkSequenceNames=true)
Build a new Stockholm object.
const std::string getFormatDescription() const override
void writeAlignment(std::ostream &output, const SiteContainerInterface &sc) const override
Write a container to a stream.
const std::string getFormatName() const override
void writeAlignment(const std::string &path, const SiteContainerInterface &sc, bool overwrite=true) const override
Write a container to a file.
void checkNames(bool yn)
Tell whether the sequence names should be checked when reading from files.
This alphabet is used to deal NumericAlphabet.