Slice Tools libSlice |
libSlice::ReadManager Class Reference |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| ReadManager () | |
| Simple Constructor. | |
| ~ReadManager () | |
| Deletes all of the reads contained in the map. | |
| int | size () const |
| Returns the number of reads stored in the map. | |
| ReadData * | addReadData (const char *id, const char *seqname, const char *dir, const char *chem) |
| Adds a named read and direction and chemistry. | |
| void | insertRead (ReadData *rd) |
| Inserts a read into the read map. | |
| void | resetReadId (ReadData *rd, const string &id) |
| Removes a read from the map under one id, and inserts it as another. | |
| void | removeRead (const string &id) |
| Removes a read from the map, but does not delete the ReadData. | |
| ReadData * | getNextRead () |
| Iterates through the list of reads. | |
| void | resetReadIterator () |
| Reset the read Iterator, so that getNextRead can recycle through list. | |
| void | printXML (ostream &out, const string &prefix="") const |
| Prints the ReadCollection in XML with all of the reads. | |
| ReadData * | find (const string &readId) const |
| Finds a read based on a readId. | |
|
||||||||||||||||||||
|
Adds a named read and direction and chemistry. Creates the new read, and stores it in the lookup map
Definition at line 429 of file ReadData.cc. |
|
|
Finds a read based on a readId.
Definition at line 465 of file ReadData.cc. |
|
|
Inserts a read into the read map.
Definition at line 494 of file ReadData.cc. |
|
||||||||||||
|
Removes a read from the map under one id, and inserts it as another.
Definition at line 512 of file ReadData.cc. |