Skip to content

Commit

Permalink
Quiet deduplication debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnovak committed May 29, 2024
1 parent c66f54d commit e0e91f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/minimizer_mapper_from_chains.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1731,12 +1731,14 @@ vector<Alignment> MinimizerMapper::map_from_chains(Alignment& aln) {
}
return false;
} else {
#ifdef debug
if (show_work) {
#pragma omp critical (cerr)
{
cerr << log_name() << "Chain " << processed_num << " uniquely places read pos " << read_pos << " at graph pos " << graph_pos << " with matching " << matching.first.first << ", " << matching.first.second << ", " << matching.second << endl;
}
}
#endif
}
}
if (show_work) {
Expand Down Expand Up @@ -1843,12 +1845,14 @@ vector<Alignment> MinimizerMapper::map_from_chains(Alignment& aln) {
int64_t read_minus_node_offset = (int64_t)read_pos - (int64_t)graph_offset;
auto matching = std::make_pair(std::make_pair(node_id, orientation), read_minus_node_offset);

#ifdef debug
if (show_work) {
#pragma omp critical (cerr)
{
cerr << log_name() << "Create matching " << matching.first.first << ", " << matching.first.second << ", " << matching.second << endl;
}
}
#endif

used_matchings.emplace(std::move(matching));
}
Expand Down

1 comment on commit e0e91f2

@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.

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

Failed tests:

  • test_sim_chr21_snp1kg (36 seconds)
  • test_full_brca2_cactus (33 seconds)
  • test_full_brca2_primary (31 seconds)
  • test_full_brca2_snp1kg (31 seconds)
  • test_map_brca1_cactus (31 seconds)
  • test_map_brca1_primary (31 seconds)
  • test_map_brca1_snp1kg (30 seconds)
  • test_map_brca1_snp1kg_mpmap (30 seconds)
  • test_map_mhc_primary (30 seconds)
  • test_map_mhc_snp1kg (33 seconds)
  • test_sim_mhc_cactus (29 seconds)
  • test_sim_mhc_snp1kg (32 seconds)
  • test_sim_mhc_snp1kg_mpmap (28 seconds)
  • test_call_chr21_snp1kg (27 seconds)
  • test_sim_chr21_snp1kg_trained (31 seconds)
  • test_sim_yeast_cactus (27 seconds)

Please sign in to comment.