Skip to content

Commit

Permalink
revise up default tail limit a lot
Browse files Browse the repository at this point in the history
  • Loading branch information
jeizenga committed Jul 17, 2024
1 parent ce756c2 commit dfac868
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/subcommand/surject_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void help_surject(char** argv) {
<< " -b, --bam-output write BAM to stdout" << endl
<< " -s, --sam-output write SAM to stdout" << endl
<< " -l, --subpath-local let the multipath mapping surjection produce local (rather than global) alignments" << endl
<< " -T, --max-tail-len N only align up to N bases of read tails (default: 300)" << endl
<< " -T, --max-tail-len N only align up to N bases of read tails (default: 10000)" << endl
<< " -P, --prune-low-cplx prune short and low complexity anchors during realignment" << endl
<< " -a, --max-anchors N use no more than N anchors per target path (default: 200)" << endl
<< " -S, --spliced interpret long deletions against paths as spliced alignments" << endl
Expand Down Expand Up @@ -97,7 +97,7 @@ int main_surject(int argc, char** argv) {
int min_splice_length = 20;
size_t watchdog_timeout = 10;
bool subpath_global = true; // force full length alignments in mpmap resolution
size_t max_tail_len = 300;
size_t max_tail_len = 10000;
bool qual_adj = false;
bool prune_anchors = false;
size_t max_anchors = 200;
Expand Down
2 changes: 1 addition & 1 deletion src/surjector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ using namespace std;
int64_t min_splice_repair_length = 250;

/// the maximum length of a tail that we will try to align
size_t max_tail_length = std::numeric_limits<size_t>::max();
size_t max_tail_length = 10000;

/// How big of a graph in bp should we ever try to align against for realigning surjection?
size_t max_subgraph_bases = 100 * 1024;
Expand Down

1 comment on commit dfac868

@adamnovak
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vg CI tests complete for branch limit-surject-tails. View the full report here.

16 tests passed, 0 tests failed and 0 tests skipped in 17151 seconds

Please sign in to comment.