libStatGen Software 1
|
Class that tracks the composition of base by read location. More...
#include <BaseComposition.h>
Public Member Functions | |
BaseComposition () | |
Constructor. | |
bool | updateComposition (unsigned int rawSequenceCharIndex, char baseChar) |
Update the composition for the specified index with the specified character. | |
BaseAsciiMap::SPACE_TYPE | getSpaceType () |
Get the space type for this composition. | |
void | resetBaseMapType () |
Reset the base map type for this composition. | |
void | setBaseMapType (BaseAsciiMap::SPACE_TYPE spaceType) |
Set the base map type for this composition. | |
void | print () |
Print the composition. | |
void | clear () |
Clear the composition stored in the base count vector. | |
Class that tracks the composition of base by read location.
Definition at line 27 of file BaseComposition.h.
BaseComposition::BaseComposition | ( | ) |
void BaseComposition::clear | ( | ) |
Clear the composition stored in the base count vector.
Definition at line 89 of file BaseComposition.cpp.
|
inline |
Get the space type for this composition.
Definition at line 40 of file BaseComposition.h.
References BaseAsciiMap::getSpaceType().
Referenced by FastQFile::getSpaceType().
void BaseComposition::print | ( | ) |
Print the composition.
Definition at line 70 of file BaseComposition.cpp.
Referenced by FastQFile::validateFastQFile().
|
inline |
Reset the base map type for this composition.
Definition at line 46 of file BaseComposition.h.
References BaseAsciiMap::resetBaseMapType().
Referenced by FastQFile::openFile().
|
inline |
Set the base map type for this composition.
Definition at line 52 of file BaseComposition.h.
References BaseAsciiMap::setBaseMapType().
Referenced by FastQFile::openFile().
bool BaseComposition::updateComposition | ( | unsigned int | rawSequenceCharIndex, |
char | baseChar | ||
) |
Update the composition for the specified index with the specified character.
Definition at line 32 of file BaseComposition.cpp.
References BaseAsciiMap::getBaseIndex(), and BaseAsciiMap::resetPrimerCount().