Skip to content

Commit

Permalink
Note when parts of a dumped chain go off of all the reference paths
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnovak committed May 31, 2024
1 parent e0e91f2 commit 8e13416
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/minimizer_mapper_from_chains.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,21 @@ void MinimizerMapper::dump_debug_dotplot(const std::string& name, const VectorVi
exp.field(minimizers[seed.source].pin_offset());
}
}
if (offsets.empty()) {
// Note that we don't actually have a position
exp.line();
if (!marker.empty()) {
// Sentinel and a marker and a subscript
exp.field("NO_PATH-" + marker + "-" + std::to_string(run_number));
} else {
// Sentinel alone
exp.field("NO_PATH");
}
// Put it at 0 on no path
exp.field(0);
// Offset in read *of the pin point* (not of the forward-strand start of the minimizer)
exp.field(minimizers[seed.source].pin_offset());
}
}

}
Expand Down

1 comment on commit 8e13416

@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 534 seconds

Failed tests:

  • test_sim_chr21_snp1kg (39 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 (32 seconds)
  • test_map_brca1_snp1kg_mpmap (31 seconds)
  • test_map_mhc_primary (31 seconds)
  • test_map_mhc_snp1kg (31 seconds)
  • test_sim_mhc_cactus (30 seconds)
  • test_sim_mhc_snp1kg (30 seconds)
  • test_sim_mhc_snp1kg_mpmap (28 seconds)
  • test_call_chr21_snp1kg (29 seconds)
  • test_sim_chr21_snp1kg_trained (38 seconds)
  • test_sim_yeast_cactus (35 seconds)

Please sign in to comment.