You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @vsbuffalo, thanks for the super useful crate. I'm working on a small project calculating some stats from a VCF, and am processing records in parallel using rayon::iter::par_bridge and would like to make a GRanges object from this parallel iterator.
For example:
let records = reader
.records().par_bridge().map(|result| {let record = result.expect("failed to read VCF record");// Do something with record and get data; get chrom, positionOk(GenomicRangeRecord::new(chrom.to_string(), position, position+1, data))});// Make GRanges from records parallel iterator
I'm still fairly new to rust but would be happy to look into implementing this if you're open to it and some pointers on where to start.
The text was updated successfully, but these errors were encountered:
Hi @vsbuffalo, thanks for the super useful crate. I'm working on a small project calculating some stats from a VCF, and am processing records in parallel using
rayon::iter::par_bridge
and would like to make aGRanges
object from this parallel iterator.For example:
I'm still fairly new to rust but would be happy to look into implementing this if you're open to it and some pointers on where to start.
The text was updated successfully, but these errors were encountered: