when I run ./jgi_summarize_bam_contig_depths --outputDepth coverage410.txt --pairedContigs pair410.txt test/sorted.bam,I get an error Please execute 'samtools sort' on unsorted input bam files and try again! . But I have run the command samtools sort -o sorted.bam -n align_test.bam, I still make the mistake. I don't know what to do. I would appreciate it if you could give me some advice. Thank you!
when I run
./jgi_summarize_bam_contig_depths --outputDepth coverage410.txt --pairedContigs pair410.txt test/sorted.bam
,I get an errorPlease execute 'samtools sort' on unsorted input bam files and try again!
. But I have run the commandsamtools sort -o sorted.bam -n align_test.bam
, I still make the mistake. I don't know what to do. I would appreciate it if you could give me some advice. Thank you!