-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run_whole_alignment doesn't output chromosomal BAMs #806
Comments
Yup, doesn't look like that logic's implemented for BAM. Surprised it doesn't crash looking at the code. It'd need the BAM equivalent of this function https://github.com/vgteam/toil-vg/blob/master/src/toil_vg/vg_map.py#L653-L655 to be run. |
Wouldn't the following also need to be refactored in order to take into account the chunked bam output of https://github.com/vgteam/toil-vg/blob/master/src/toil_vg/vg_map.py#L456-L457 |
I imagine so. Shuffling the GAM chunks by chromosome was a necessity for the old |
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: