Skip to content

Commit

Permalink
Clarity the status of rebuild_gbwt()
Browse files Browse the repository at this point in the history
  • Loading branch information
jltsiren committed Feb 7, 2024
1 parent 6508e8d commit 7ec1749
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gbwt_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ struct RebuildParameters {
gbwt::size_type sample_interval = gbwt::DynamicGBWT::SAMPLE_INTERVAL;
};

// TODO: Use the new parallelization scheme.
/// Rebuild the GBWT by applying all provided mappings. Each mapping is a pair
/// (original subpath, new subpath). If the original subpath is empty, the
/// mapping is ignored. If there are multiple applicable mappings, the first one
Expand Down Expand Up @@ -210,6 +209,9 @@ struct RebuildParameters {
///
/// NOTE: Threads may be reordered if there are multiple jobs. Old thread ids are
/// no longer valid after rebuilding the GBWT.
///
/// NOTE: This could use the ConstructionJob / MetadataBuilder scheme for
/// parallelization, but it would change the interface.
gbwt::GBWT rebuild_gbwt(const gbwt::GBWT& gbwt_index,
const std::vector<RebuildJob>& jobs,
const std::unordered_map<nid_t, size_t>& node_to_job,
Expand Down

1 comment on commit 7ec1749

@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 parallel-gbwt-construction. View the full report here.

10 tests passed, 6 tests failed and 0 tests skipped in 16727 seconds

Failed tests:

  • test_sim_chr21_snp1kg (3856 seconds)
  • test_sim_mhc_cactus (750 seconds)
  • test_sim_mhc_snp1kg (964 seconds)
  • test_sim_mhc_snp1kg_mpmap (1005 seconds)
  • test_sim_chr21_snp1kg_trained (2712 seconds)
  • test_sim_yeast_cactus (1412 seconds)

Please sign in to comment.