You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,9 +23,9 @@ Key parameters:
23
23
-`-a` Output file name. Format .gam or .json.
24
24
25
25
Parameters related to colinear chaining:
26
-
-`--speed <int>`Use 2 or 3 (or larger values) if you want GraphChainer to be faster, but slightly less accurate (default 1).
26
+
-`--speed <double>`Speed-up factor (default 1). Use >1 (<1, >0) for faster (slower), but less (more) accurate alignments. It increases (decreases) the sampling rate of fragments.
27
27
-`--colinear-split-len <int>` The length of the fragments in which the long read is split to create anchors (default 35).
28
-
-`--colinear-split-gap <int>` The distance between consecutive fragments (default 35). If `--speed` is set, then always `--colinear-split-gap = --speed * --colinear-split-len`.
28
+
-`--colinear-split-gap <int>` The distance between consecutive fragments (default 35). If `--speed` is set, then always `--colinear-split-gap = ceil(--speed * --colinear-split-len`).
29
29
-`--colinear-gap <int>` When converting an optimal chain of anchors into an alignment path, split the path if the distance in the graph between consecutive anchors is greater than this value (default 10000).
("speed", boost::program_options::value<longlong>(), "Speed-up factor [default 1]. Use 2 or 3 for faster, but slightly less accurate alignments")
43
+
("speed", boost::program_options::value<longlong>(), "Speed-up factor [default 1]. Use >1 (<1, >0) for faster (slower), but less (more) accurate alignments. It increases (decreases) the sampling rate of fragments.")
44
44
("colinear-split-len", boost::program_options::value<longlong>(), "The length of the fragments in which the long read is split to create anchors. [default 35]")
45
-
("colinear-split-gap", boost::program_options::value<longlong>(), "The distance between consecutive fragments [default 35]. If --speed is set, then always --colinear-split-gap = --speed * --colinear-split-len.")
45
+
("colinear-split-gap", boost::program_options::value<longlong>(), "The distance between consecutive fragments [default 35]. If --speed is set, then always --colinear-split-gap = ceil(--speed * --colinear-split-len).")
46
46
("colinear-gap", boost::program_options::value<longlong>(), "When converting an optimal chain of anchors into an alignment path, split the path if the distance between consecutive anchors is greater than this value [default 10000].")
47
47
// ("mpc-index,i", boost::program_options::value<std::string>(), "minimium path cover index filename")
48
48
("fast-mode", "(Development purposes) Skip edit distance computation after chaining (output the path instead of alignment)")
@@ -205,6 +205,7 @@ int main(int argc, char** argv)
205
205
params.colinearGap = 10000;
206
206
params.colinearSplitLen = 35;
207
207
params.colinearSplitGap = 35;
208
+
params.speed = 1;
208
209
}
209
210
210
211
if (vm.count("graph")) params.graphFile = vm["graph"].as<std::string>();
@@ -238,7 +239,7 @@ int main(int argc, char** argv)
238
239
{
239
240
std::cerr << "WARNING: --speed and --colinear-split-gap are both set! --colinear-split-gap will be ignored, and set to (--speed * --colinear-split-len)" << std::endl;
0 commit comments