SubcloneSeeker
1.0.0
Subclone deconvolution software framework
|
Abstract data structure class that represents any segmental somatic mutation. More...
#include <SegmentalMutation.h>
Public Member Functions | |
SegmentalMutation () | |
![]() | |
SomaticEvent () | |
void | setClusterID (sqlite3_int64 clusterID) |
virtual bool | isEqualTo (SomaticEvent *anotherEvent, unsigned long resolution=10000L) |
sqlite3_int64 | clusterID () |
virtual DBObjectID_vec | allObjectsOfCluster (sqlite3 *database, sqlite3_int64 clusterID) |
![]() | |
Archivable () | |
sqlite3_int64 | getId () |
void | setId (sqlite3_int64 nid) |
bool | createTableInDB (sqlite3 *database) |
sqlite3_int64 | archiveObjectToDB (sqlite3 *database) |
bool | unarchiveObjectFromDB (sqlite3 *database, sqlite3_int64 id) |
DBObjectID_vec | vecAllObjectsID (sqlite3 *database) |
Public Attributes | |
GenomicRange | range |
![]() | |
double | frequency |
Protected Member Functions | |
virtual std::string | createObjectStatementStr () |
virtual std::string | updateObjectStatementStr () |
virtual std::string | selectObjectColumnListStr () |
virtual int | bindObjectToStatement (sqlite3_stmt *) |
virtual void | updateObjectFromStatement (sqlite3_stmt *) |
![]() | |
virtual std::string | createTableStatementStr () |
![]() | |
virtual std::string | getTableName ()=0 |
Additional Inherited Members | |
![]() | |
sqlite3_int64 | ofClusterID |
![]() | |
sqlite3_int64 | id |
Abstract data structure class that represents any segmental somatic mutation.
Mutations described by this class are segmental mutations, which means that they happen over a range of continuous genomic location. Such range is described by GenomicRange
|
inline |
minimal constructor to reset all member variables
|
protectedvirtual |
Bind archivable properties to a prepared, unbound sqlite3 statement
statement | A prepared, unbound sqlite3 statement instance |
Implements SubcloneSeeker::Archivable.
|
protectedvirtual |
return the unbound statement for record creation
Implements SubcloneSeeker::Archivable.
|
protectedvirtual |
return the list of columns to be used in select statement for getting data from the database
Imagine the generic SQL select statement: SELECT <col1>, <col2>, ... FROM <tableName> WHERE id=?; The method should return the <col1>,<col2>,... part
Implements SubcloneSeeker::Archivable.
|
protectedvirtual |
Populate archivable properties from a prepared statement during unarchiving
statement | A prepared statement contains the retrieved row |
Implements SubcloneSeeker::Archivable.
|
protectedvirtual |
return the unbound statement for record update
Implements SubcloneSeeker::Archivable.
GenomicRange SubcloneSeeker::SegmentalMutation::range |
Genomic range over which the mutation occurred