#include <Read_AMOS.hh>
Inheritance diagram for AMOS::Read_t:


Public Methods | |
| Read_t () | |
| Constructs an empty Read_t object. | |
| Read_t (const Read_t &source) | |
| Copy constructor. | |
| ~Read_t () | |
| Destroys a Read_t object. | |
| virtual void | clear () |
| Clears all object data, reinitializes the object. | |
| Range_t | getClearRange () |
| Get the generic clear range. | |
| ID_t | getFragment () const |
| Get the parent fragment ID. | |
| virtual NCode_t | getNCode () const |
| Get the AMOS NCode type identifier. | |
| Range_t | getQualityClearRange () |
| Get the quality score clear range. | |
| ReadType_t | getType () const |
| Get the type of read. | |
| Range_t | getVectorClearRange () |
| Get the vector sequence clear range. | |
| virtual void | readMessage (const Message_t &msg) |
| Reads in data from a Message object. | |
| void | setClearRange (Range_t clear) |
| Set the generic clear range. | |
| void | setFragment (ID_t frag) |
| Set the parent fragment ID. | |
| void | setQualityClearRange (Range_t qclear) |
| Set the quality score clear range. | |
| void | setType (ReadType_t type) |
| Set the type of read. | |
| void | setVectorClearRange (Range_t vclear) |
| Set the vector sequence clear range. | |
| virtual void | writeMessage (Message_t &msg) const |
| Writes data to a Message object. | |
Static Public Methods | |
| NCode_t | NCode () |
| Get the AMOS NCode type identifier (statically). | |
Static Public Attributes | |
| const ReadType_t | NULL_READ = 0 |
| const ReadType_t | OTHER = 'X' |
| const ReadType_t | END = 'E' |
| const ReadType_t | CONTIG = 'C' |
| const ReadType_t | BAC = 'B' |
| const ReadType_t | WALK = 'W' |
Protected Methods | |
| virtual void | readRecord (std::istream &fix, std::istream &var) |
| Read selected class members from a biserial record. | |
| virtual Size_t | sizeVar () const |
| Returns the current size of the variable length record. | |
| virtual void | writeRecord (std::ostream &fix, std::ostream &var) const |
| Write selected class members to a biserial record. | |
Derived from a Sequence_t type, this class is for the efficient storage of DNA sequencing reads. Retains all the functionality of a Sequence with added fields for clear ranges, mate pairs, etc.
|
|
Constructs an empty Read_t object. Sets all members to NULL |
|
|
Copy constructor.
|
|
|
Destroys a Read_t object.
|
|
|
Clears all object data, reinitializes the object. All data will be cleared, but object compression status will remain unchanged. Use the compress/uncompress members to change this info. Reimplemented from AMOS::Sequence_t. |
|
|
Get the generic clear range.
|
|
|
Get the parent fragment ID.
|
|
|
Get the AMOS NCode type identifier.
Reimplemented from AMOS::Sequence_t. |
|
|
Get the quality score clear range.
|
|
|
Get the type of read.
|
|
|
Get the vector sequence clear range.
|
|
|
Get the AMOS NCode type identifier (statically). Can be used for constructing a Bank with a certain NCode. e.g. 'Bank_t (Read_t::NCode( ))'
Reimplemented from AMOS::Sequence_t. |
|
|
Reads in data from a Message object. Reads the data contained in a Message object and stores it in the Messagable object. Will not complain if incoming message is of the wrong type, will only try and suck out the fields it recognizes. All previous data in the Messagable object will be cleared or overwritten.
Reimplemented from AMOS::Sequence_t. |
|
||||||||||||
|
Read selected class members from a biserial record. Reads the fixed and variable length streams from a biserial record and initializes the class members to the values stored within. Used in translating a biserial IBankable object, and needed to retrieve objects from a Bank.
Reimplemented from AMOS::Sequence_t. |
|
|
Set the generic clear range.
|
|
|
Set the parent fragment ID.
|
|
|
Set the quality score clear range.
|
|
|
Set the type of read.
|
|
|
Set the vector sequence clear range.
|
|
|
Returns the current size of the variable length record.
Reimplemented from AMOS::Sequence_t. |
|
|
Writes data to a Message object. Writes the data contained in a Messagable object to a Message object. All previous data in the Message will be cleared or overwritten.
Reimplemented from AMOS::Sequence_t. |
|
||||||||||||
|
Write selected class members to a biserial record. Writes the fixed and variable length streams to a biserial record. Used in generating a biserial IBankable object, and needed to commit objects to a Bank. Will only write to the ready streams, but the size of the record will always be returned. Does not write the flags and IID of the object because the Bank will handle the storage of these fields on its own.
Reimplemented from AMOS::Sequence_t. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3-rc2