|
SubcloneSeeker
1.0.0
Subclone deconvolution software framework
|
#include "Archivable.h"#include "Subclone.h"#include "EventCluster.h"#include <sqlite3/sqlite3.h>#include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>#include <ctype.h>#include <unistd.h>Classes | |
| class | TreePrintTraverser |
| A tree traverser that prints tree in a text format. More... | |
| class | NodePrintTraverser |
| A tree traverser that prints the nodes in Graphviz .dot format. More... | |
| class | EdgePrintTraverser |
| A tree traverser that prints the edges in Graphviz .dot format. More... | |
Enumerations | |
| enum | { RUN_MODE_LIST, RUN_MODE_PRINT } |
| enum | { OUT_FORMAT_TEXT, OUT_FORMAT_GVIZ } |
Functions | |
| void | usage (const char *progName) |
| Print the usage information. More... | |
| void | listRootIDs (sqlite3 *database) |
| List all root subclone IDs. More... | |
| void | printSubcloneWithID (sqlite3 *database, int32_t rootID) |
| Print details about a subclone structure The structure contains the given root, and all its descendent nodes. More... | |
| void | printAllSubclones (sqlite3 *database) |
| Print all subclone structures. More... | |
| int | main (int argc, char *argv[]) |
Variables | |
| enum { ... } | runMode |
| enum { ... } | outputMode |
| int | isRootIDSpecified |
| int32_t | rootID |
The source for util 'treeprint', which takes a database and a root id and prints out the subclonal tree
| void listRootIDs | ( | sqlite3 * | database | ) |
List all root subclone IDs.
| database | An live sqlite3 database connection |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Main function of the treeprint utility
| void printAllSubclones | ( | sqlite3 * | database | ) |
Print all subclone structures.
| database | An live sqlite3 database connection |
| void printSubcloneWithID | ( | sqlite3 * | database, |
| int32_t | rootID | ||
| ) |
Print details about a subclone structure The structure contains the given root, and all its descendent nodes.
| database | An live sqlite3 database connection |
| rootID | The id of the root node for which the structure is printed |
| void usage | ( | const char * | progName | ) |
Print the usage information.
| progName | the string containing the name of the executable |