Commit b17b78cb authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

vidjil.cpp: CLI11, -t, with callback

The callback could perhaps be avoided. See #3292.
parent d9ec1f01
......@@ -378,7 +378,13 @@ int main (int argc, char **argv)
"w-mer size used for the length of the extracted window ('" NO_LIMIT "': use all the read, no window clustering)") -> group(group) -> transform(string_NO_LIMIT);
app.add_option("-e", expected_value,
"maximal e-value for determining if a V-J segmentation can be trusted", true) -> group(group) -> transform(string_NO_LIMIT);
app.add_option("-t", trim_sequences, // trim_sequences_changed = true
[&](CLI::results_t res) {
bool worked = CLI::detail::lexical_cast(res[0], trim_sequences);
trim_sequences_changed = true;
return true;
// trim_sequences,
"trim V and J genes (resp. 5' and 3' regions) to keep at most <int> nt (0: no trim)") -> group(group);
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