HI I'm converting SAM to sort bam it showing SAM file is truncated. But when i view it using samtools it doesn't display truncated . Is their any other way to convert to bam SRR1.sam = 47 GB
Sorting bam
samtools view -u SRR1.sam | samtools sort -@ 5 -T /tmp/SRR1.samsort -o SRR1.sort.bam
[W::sam_read1] Parse error at line 10363596
[main_samview] truncated file.
[bam_sort_core] merging from 5 files and 5 in-memory blocks...
sunnykevin97 : Please use
ADD REPLY/ADD COMMENT
when responding to existing answers/comments to keep threads logically organized.SUBMIT ANSWER
is for new answers to the original question.How did you obtain this sam file?