Closed algaebrown closed 9 months ago
When I try to manually sort and index, it seems some files are truncated: command:
module load samtools
for f in map/*_mapped_dedup.bam
do
samtools sort $f -o ${f%.bam}.sorted.bam
samtools index ${f%.bam}.sorted.bam
done
module unload samtools
error:
[W::bam_hdr_read] EOF marker is absent. The input is probably truncated
[E::bgzf_read_block] Failed to read BGZF block data at offset 32497415 expected 16344 bytes; hread returned 8423
[E::bgzf_read] Read block operation failed with error 4 after 0 of 4 bytes
samtools sort: truncated file. Aborting
Maybe this suggests too many threads going out of mem in alleypoop dedup
??
reducing number threads and running with sorted bams was able to fix it. Thanks
Hi t-neumann,
Thanks for creating this awesome tool.
I was trying to run alleyoop after
slamdunk all
.command:
environment:
docker://tobneu/slamdunk:v0.4.3
error:
I noticed not all bams fail though. Some failed, Some didn't.
NO_COOR reads not in a single block at the end 2 -1
suggest dedup.bam is not sorted.Please help me understand why it is.
Thank you