Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/unlimited-anchors' into lr-giraffe
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnovak committed Jul 19, 2024
2 parents e9aac7e + 15c38d7 commit e551487
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/subcommand/surject_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

using namespace std;
using namespace vg;
using namespace vg::subcommand;
using namespace vg::subcommand;

void help_surject(char** argv) {
cerr << "usage: " << argv[0] << " surject [options] <aln.gam> >[proj.cram]" << endl
Expand All @@ -50,7 +50,7 @@ void help_surject(char** argv) {
<< " -T, --max-tail-len N only align up to N bases of read tails (default: 10000)" << endl
<< " -g, --max-graph-scale X make reads unmapped if alignment target subgraph size exceeds read length by a factor of X (default: " << Surjector::DEFAULT_SUBGRAPH_LIMIT << " or " << Surjector::SPLICED_DEFAULT_SUBGRAPH_LIMIT << " with -S)" << 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
<< " -a, --max-anchors N use no more than N anchors per target path (default: unlimited)" << endl
<< " -S, --spliced interpret long deletions against paths as spliced alignments" << endl
<< " -A, --qual-adj adjust scoring for base qualities, if they are available" << endl
<< " -N, --sample NAME set this sample name for all reads" << endl
Expand Down Expand Up @@ -103,7 +103,7 @@ int main_surject(int argc, char** argv) {
std::unique_ptr<double> max_graph_scale;
bool qual_adj = false;
bool prune_anchors = false;
size_t max_anchors = 200;
size_t max_anchors = std::numeric_limits<size_t>::max(); // As close to unlimited as makes no difference
bool annotate_with_all_path_scores = false;
bool multimap = false;
bool validate = true;
Expand Down
2 changes: 1 addition & 1 deletion src/surjector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ using namespace std;
/// How many anchors (per path) will we use when surjecting using
/// anchors?
/// Excessive anchors will be pruned away.
size_t max_anchors = numeric_limits<size_t>::max();
size_t max_anchors = std::numeric_limits<size_t>::max();

bool annotate_with_all_path_scores = false;

Expand Down

1 comment on commit e551487

@adamnovak
Copy link
Member Author

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 lr-giraffe. View the full report here.

15 tests passed, 1 tests failed and 0 tests skipped in 14613 seconds

Failed tests:

  • test_sim_chr21_snp1kg_trained (7 seconds)

Please sign in to comment.