Closed anamariaelek closed 3 years ago
It was indeed a samtools issue, I was using the old version, with samtools 1.12 everything works well. Sorry for the false alarm. Maybe you want to include this in the requirements, though. Regards!
It was indeed a samtools issue, I was using the old version, with samtools 1.12 everything works well. Sorry for the false alarm. Maybe you want to include this in the requirements, though. Regards!
Hi,
I am running into the same problems as you did, temporary files look good but the merged outputs were empty. Would you mind sharing a bit more about the solutions here? Because as far as I understand, running sinto
doesn't require us to explicitly install or load samtools
right? So I wasn't sure how the version of samtools would play a role here, I must have missed something here.
Many thanks in advance, Frank
Merging tmp files is done with samtools merge
, followed by samtools reheader
, see here. Smply updating samtools
fixed it for me (I suppose the arguments or their order differed between the two versions).
Merging tmp files is done with
samtools merge
, followed bysamtools reheader
, see here. Smply updatingsamtools
fixed it for me (I suppose the arguments or their order differed between the two versions).
Thanks so much! I didn't dig that deep, yeah now it makes a lot of sense!
I am splitting a bam file with
sinto filterbarcodes -b $BAM -c $CELLS -p 16
. This is a snippet of my input$BAM
:Temporary files being created are ok, i.e barcodes are read and reads are split correctly, however after merging, all outputs are empty.
Is this a samtools merge or reheader issue that I can't figure out, or is it something sinto-related?
Thank you in advance, Anamaria