Skip to content

Add grouped parallel I/O for graph placements of unpaired reads - #93

Open
Sagorikanag wants to merge 1 commit into
vgteam:masterfrom
Sagorikanag:diploid-map-single-read-io
Open

Add grouped parallel I/O for graph placements of unpaired reads#93
Sagorikanag wants to merge 1 commit into
vgteam:masterfrom
Sagorikanag:diploid-map-single-read-io

Conversation

@Sagorikanag

Copy link
Copy Markdown

Summary

Adds parallel grouped single-read alignment iteration for multiple graph placements sharing the same read name.

This will be needed by vg surject --diploid-map, where the primary and secondary graph placements for a read must be processed together.

Changes

  • Add a generic grouped_for_each_parallel iterator.
  • Add grouped GAM input using ProtobufIterator.
  • Add grouped GAF input by query name.
  • Perform expensive GAF-to-Alignment conversion on worker threads.
  • Return the number of processed read-name groups (runs).

Input requirement

Records belonging to the same read must be consecutive in the input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant