#include <DNAFileSML.h>
Inheritance diagram for mems::DNAFileSML:


Public Member Functions | |
| DNAFileSML * | Clone () const |
| DNAFileSML (const SortedMerList &sa) | |
| DNAFileSML (const std::string &fname, const uint8 *table=SortedMerList::BasicDNATable(), const uint32 alpha_bits=DNA_ALPHA_BITS) | |
| Load or create a DNAFileSML () Attempts to load a DNA sorted mer list from the named file if it exists. | |
| DNAFileSML () | |
| virtual uint32 | FormatVersion () |
| virtual uint64 | GetMer (gnSeqI position) const |
| Get the mer at the specified index in the sorted mer list. | |
| virtual uint64 | GetSeedMer (gnSeqI offset) const |
| Applies the seed mask to the sequence at the given offset and returns the resulting seed. | |
| DNAFileSML & | operator= (const DNAFileSML &msa) |
| ~DNAFileSML () | |
Protected Member Functions | |
| virtual uint32 | CalculateMaxMerSize () const |
| virtual void | FillSML (const genome::gnSequence &seq, std::vector< bmer > &sml_array) |
| virtual uint64 | GetNeededMemory (gnSeqI len) |
| Calculates and returns the amount of memory needed to create a sorted mer list for a sequence of the specified length. | |
Definition at line 23 of file DNAFileSML.h.
|
|
Definition at line 21 of file DNAFileSML.cpp. References FormatVersion(). Referenced by Clone(). |
|
||||||||||||||||
|
Load or create a DNAFileSML () Attempts to load a DNA sorted mer list from the named file if it exists. If the given file does not exist it creates an empty DNAFileSML with the supplied translation table and alphabet bit size.
Definition at line 28 of file DNAFileSML.cpp. References mems::SMLHeader::alphabet_bits, FormatVersion(), mems::SMLHeader::translation_table, mems::uint32, mems::uint8, UINT8_MAX, and mems::SMLHeader::version. |
|
|
|
|
|
Definition at line 25 of file DNAFileSML.cpp. |
|
|
Reimplemented from mems::SortedMerList. Definition at line 54 of file DNAFileSML.cpp. References mems::SMLHeader::alphabet_bits, and mems::uint32. |
|
|
Implements mems::FileSML. Definition at line 40 of file DNAFileSML.cpp. References DNAFileSML(). |
|
||||||||||||
|
Reimplemented from mems::SortedMerList. Definition at line 66 of file DNAFileSML.cpp. References mems::SortedMerList::FillDnaSML(). |
|
|
Reimplemented from mems::FileSML. Definition at line 60 of file DNAFileSML.h. References mems::uint32. Referenced by DNAFileSML(). |
|
|
Get the mer at the specified index in the sorted mer list.
Reimplemented from mems::SortedMerList. Definition at line 58 of file DNAFileSML.cpp. References mems::SortedMerList::GetDnaMer(), and mems::uint64. |
|
|
Calculates and returns the amount of memory needed to create a sorted mer list for a sequence of the specified length.
Implements mems::FileSML. Definition at line 46 of file DNAFileSML.cpp. References mems::uint64. |
|
|
Applies the seed mask to the sequence at the given offset and returns the resulting seed.
Reimplemented from mems::SortedMerList. Definition at line 62 of file DNAFileSML.cpp. References mems::SortedMerList::GetDnaSeedMer(), and mems::uint64. |
|
|
Definition at line 35 of file DNAFileSML.cpp. |
1.3.6