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
@glennhickey
The run_whole_alignment function in vg_map.py with bam_output=True or surject=True doesn't appear to process and return merged bams by contig, but instead just merges all bam chunks from all contigs together.
I imagine so. Shuffling the GAM chunks by chromosome was a necessity for the old vg call pipeline, not so much anymore. A whole genome GAM can now be split into (unsorted) chromsome chunks with vg chunk -M in a few hours (I think). You can extract a chromosome out of a whole-genome BAM even faster with samtools view. Though, using samtools at least, you'd probably need to index the BAM to efficiently do many chromosomes at once.
Yeah I've been working on a solution that did chromosome splitting per chunk. But I agree, I think splitting by contig after merging the BAM would be more efficient and simpler than merging chunked contig BAMs together.
@glennhickey
The
run_whole_alignment
function invg_map.py
withbam_output=True
orsurject=True
doesn't appear to process and return merged bams by contig, but instead just merges all bam chunks from all contigs together.https://github.com/vgteam/toil-vg/blob/master/src/toil_vg/vg_map.py#L401
The text was updated successfully, but these errors were encountered: