|
bpp-seq
2.2.0
|
The GenBank sequence file format. More...
#include <Bpp/Seq/Io/GenBank.h>
Inheritance diagram for bpp::GenBank:
Collaboration diagram for bpp::GenBank:Public Member Functions | |
| GenBank () | |
| Build a new GenBank object. More... | |
| virtual | ~GenBank () |
| const std::string | getDataType () const |
The AbstractISequence interface. | |
| void | appendSequencesFromStream (std::istream &input, SequenceContainer &sc) const throw (Exception) |
| Append sequences to a container from a stream. More... | |
The IOSequence interface. | |
| const std::string | getFormatName () const |
| const std::string | getFormatDescription () const |
ISequence methods: | |
| virtual void | readSequences (std::istream &input, SequenceContainer &sc) const throw (Exception) |
| Add sequences to a container from a stream. More... | |
| virtual void | readSequences (const std::string &path, SequenceContainer &sc) const throw (Exception) |
| Add sequences to a container from a file. More... | |
| virtual VectorSequenceContainer * | readSequences (std::istream &input, const Alphabet *alpha) const throw (Exception) |
| Create a new container from a stream. More... | |
| virtual VectorSequenceContainer * | readSequences (const std::string &path, const Alphabet *alpha) const throw (Exception) |
| Create a new container from a file. More... | |
Protected Member Functions | |
| virtual void | appendSequencesFromFile (const std::string &path, SequenceContainer &sc) const throw (Exception) |
| Append sequences to a container from a file. More... | |
| virtual VectorSequenceContainer * | readSequencesFromStream (std::istream &input, const Alphabet *alpha) const throw (Exception) |
| Read sequences from a stream. More... | |
| virtual VectorSequenceContainer * | readSequencesFromFile (const std::string &path, const Alphabet *alpha) const throw (Exception) |
| Append sequences to a container from a file. More... | |
The GenBank sequence file format.
For now, only read raw sequences. Features are not yet supported.
|
inline |
|
inlineprotectedvirtualinherited | ||||||||||||||||||||
Append sequences to a container from a file.
| path | The path to the file to read. |
| sc | The sequence container to update. |
| Exception | If the file is not in the specified format. |
Definition at line 142 of file AbstractISequence.h.
References bpp::AbstractISequence::appendSequencesFromStream().
Referenced by bpp::AbstractISequence::readSequences(), and bpp::AbstractISequence::readSequencesFromFile().
|
virtual | ||||||||||||||||||||
Append sequences to a container from a stream.
This is the unique method to implement!
| input | The input stream to read. |
| sc | The sequence container to update. |
| Exception | If the file is not in the specified format. |
Implements bpp::AbstractISequence.
Definition at line 50 of file GenBank.cpp.
|
inlineinherited |
Definition at line 65 of file IoSequence.h.
|
inline |
|
inline |
|
inlinevirtualinherited | ||||||||||||||||||||
Add sequences to a container from a stream.
| input | The input stream to read. |
| sc | The sequence container to update. |
| Exception | If the file is not in the specified format. |
Definition at line 82 of file AbstractISequence.h.
References bpp::AbstractISequence::appendSequencesFromStream().
Referenced by bpp::Mase::readMeta().
|
inlinevirtualinherited | ||||||||||||||||||||
Add sequences to a container from a file.
| path | The path to the file to read. |
| sc | The sequence container to update. |
| Exception | If the file is not in the specified format. |
Definition at line 94 of file AbstractISequence.h.
References bpp::AbstractISequence::appendSequencesFromFile().
|
inlinevirtualinherited | ||||||||||||||||||||
Create a new container from a stream.
| input | The input stream to read. |
| alpha | The alphabet to be associated to the container. |
| Exception | If the file is not in the specified format. |
Implements bpp::ISequence.
Definition at line 105 of file AbstractISequence.h.
References bpp::AbstractISequence::readSequencesFromStream().
|
inlinevirtualinherited | ||||||||||||||||||||
Create a new container from a file.
| path | The path to the file to read. |
| alpha | The alphabet to be associated to the container. |
| Exception | If the file is not in the specified format. |
Implements bpp::ISequence.
Definition at line 116 of file AbstractISequence.h.
References bpp::AbstractISequence::readSequencesFromFile().
|
inlineprotectedvirtualinherited | ||||||||||||||||||||
Append sequences to a container from a file.
| path | The path to the file to read. |
| alpha | The alphabet to use. |
| Exception | If the file is not in the specified format. |
Definition at line 171 of file AbstractISequence.h.
References bpp::AbstractISequence::appendSequencesFromFile().
Referenced by bpp::AbstractISequence::readSequences().
|
inlineprotectedvirtualinherited | ||||||||||||||||||||
Read sequences from a stream.
| input | The input stream to read. |
| alpha | The alphabet to use. |
| Exception | If the file is not in the specified format. |
Definition at line 157 of file AbstractISequence.h.
References bpp::AbstractISequence::appendSequencesFromStream().
Referenced by bpp::AbstractISequence::readSequences().