Add grouped parallel I/O for graph placements of unpaired reads - #93
Add grouped parallel I/O for graph placements of unpaired reads#93Sagorikanag wants to merge 1 commit into
Conversation
|
@adamnovak @Sagorikanag Is this PR ready? Once this is merged I can rebase my PR for rescuing/promoting secondary alignments, although in order to fully support the features introduced in my PR, we also need a grouping iterator for interleaved input. |
|
I still have to do a full review, but I think this is on the right track. The interleaved reads we think won't just automagically work because they're going to have different read names ( But @Sagorikanag, aren't you already dealing with paired-end data in diploid surjection, using this code? How do you end up keeping the pair partners together through this? |
|
Hi @adamnovak @gaoj66-roche |
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
grouped_for_each_paralleliterator.ProtobufIterator.Input requirement
Records belonging to the same read must be consecutive in the input.