BitMagic-C++
|
Example: DNA index construction. More...
#include <iostream>
#include <sstream>
#include <regex>
#include <time.h>
#include <stdio.h>
#include <stdexcept>
#include <memory>
#include <vector>
#include <future>
#include <thread>
#include <mutex>
#include "bm.h"
#include "bmdbg.h"
#include "bmtimer.h"
#include "bmundef.h"
Go to the source code of this file.
Data Structures | |
class | DNA_FingerprintScanner |
Utility for keeping all DNA finger print vectors and search using various techniques. More... | |
Functions | |
static void | show_help () |
More... | |
static int | parse_args (int argc, char *argv[]) |
More... | |
static int | load_FASTA (const std::string &fname, std::vector< char > &seq_vect) |
More... | |
static void | fingerprint_compare (const DNA_FingerprintScanner &idx1, const DNA_FingerprintScanner &idx2) |
Check correctness of indexes constructed using different methods. More... | |
int | main (int argc, char *argv[]) |
More... | |
Variables | |
std::string | ifa_name |
More... | |
bool | is_timing = false |
More... | |
unsigned | parallel_jobs = 4 |
More... | |
bm::chrono_taker ::duration_map_type | timing_map |
More... | |
Example: DNA index construction.
Definition in file xsample04a.cpp.
|
static |
Check correctness of indexes constructed using different methods.
Definition at line 398 of file xsample04a.cpp.
References bm::bvector< Alloc >::compare(), and DNA_FingerprintScanner::GetVector().
Referenced by main().
|
static |
Definition at line 123 of file xsample04a.cpp.
References timing_map.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 417 of file xsample04a.cpp.
References DNA_FingerprintScanner::Build(), DNA_FingerprintScanner::BuildParallel(), fingerprint_compare(), ifa_name, is_timing, load_FASTA(), parallel_jobs, parse_args(), bm::chrono_taker< TOut >::print_duration_map(), show_help(), and timing_map.
|
static |
Definition at line 71 of file xsample04a.cpp.
References ifa_name, is_timing, parallel_jobs, and show_help().
Referenced by main().
|
static |
Definition at line 51 of file xsample04a.cpp.
Referenced by main(), and parse_args().