Skip to content

Commit

Permalink
Merge pull request #2781 from vgteam/old-default
Browse files Browse the repository at this point in the history
Go back to Cactus snarl finder for release
  • Loading branch information
adamnovak authored May 11, 2020
2 parents 76a19e6 + 9e54402 commit ee6bcc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/subcommand/call_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "subcommand.hpp"
#include "../path.hpp"
#include "../graph_caller.hpp"
#include "../integrated_snarl_finder.hpp"
#include "../cactus_snarl_finder.hpp"
#include "../xg.hpp"
#include <vg/io/stream.hpp>
#include <vg/io/vpkg.hpp>
Expand Down Expand Up @@ -295,7 +295,7 @@ int main_call(int argc, char** argv) {
}
snarl_manager = vg::io::VPKG::load_one<SnarlManager>(snarl_file);
} else {
IntegratedSnarlFinder finder(*graph);
CactusSnarlFinder finder(*graph);
snarl_manager = unique_ptr<SnarlManager>(new SnarlManager(std::move(finder.find_snarls_parallel())));
}

Expand Down
4 changes: 2 additions & 2 deletions src/subcommand/snarls_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void help_snarl(char** argv) {
cerr << "usage: " << argv[0] << " snarls [options] graph > snarls.pb" << endl
<< " By default, a list of protobuf Snarls is written" << endl
<< "options:" << endl
<< " -A, --algorithm NAME compute snarls using 'cactus' or 'integrated' algorithms (default: integrated)" << endl
<< " -A, --algorithm NAME compute snarls using 'cactus' or 'integrated' algorithms (default: cactus)" << endl
<< " -p, --pathnames output variant paths as SnarlTraversals to STDOUT" << endl
<< " -r, --traversals FILE output SnarlTraversals for ultrabubbles." << endl
<< " -l, --leaf-only restrict traversals to leaf ultrabubbles." << endl
Expand All @@ -52,7 +52,7 @@ int main_snarl(int argc, char** argv) {

static const int buffer_size = 100;

string algorithm = "integrated";
string algorithm = "cactus";
string traversal_file;
bool leaf_only = false;
bool top_level_only = false;
Expand Down

3 comments on commit ee6bcc9

@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 merge to master. View the full report here.

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

Tests produced 823 warnings. 823 were for lower-than-expected alignment scores

@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 v1.24.0. View the full report here.

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

Tests produced 823 warnings. 823 were for lower-than-expected alignment scores

@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 greedier-restarts. View the full report here.

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

Tests produced 823 warnings. 823 were for lower-than-expected alignment scores

Please sign in to comment.