Commit 3dc685d5 authored by Mathieu Giraud's avatar Mathieu Giraud

vidjil.cpp: checking if -w is not too small

If -w is below the seed weight (hence the junction size), strange things may happen,
as for example a clone without representative.
parent 027ac257
......@@ -570,6 +570,13 @@ int main (int argc, char **argv)
if (w < seed_weight(seed))
cout << "* ERROR. Too small -w. The window size should be at least equal to the seed size (" << seed_weight(seed) << ")." << endl;
// Check that out_dir is an existing directory or creates it
const char *out_cstr = out_dir.c_str();
Markdown is supported
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