Commit 107407b2 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

vidjil.cpp: Define option to use random sample for representative computation

parent a6383d82
......@@ -453,6 +453,14 @@ int main (int argc, char **argv)
"maximal number of reads to process ('" NO_LIMIT "': no limit, default), sampled reads")
-> group(group) -> transform(string_NO_LIMIT);
VirtualReadScore &readScorer = DEFAULT_READ_SCORE;
RandomScore randomScore;
[&readScorer, &randomScore](size_t n) {
readScorer = randomScore;
}, "For large clones, a random sample of reads is used to compute the consensus sequence instead of a sample of the longest and highest quality reads")
// ----------------------------------------------------------------------------------------------------------------------
group = "Clone analysis (second pass)";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment