Entering edit mode
6.4 years ago
amitunited0532
▴
40
When I going to convert sam to bam file it's showing error like this.
prashant@prashant-07:~/Desktop/histates$ samtools sort -@ 8 -o SRR087416_chrx.bam SRR087416_chrx.sam
sort: invalid option -- '@'
open: No such file or directory
[bam_sort_core] fail to open file 8
prashant@prashant-07:~/Desktop/histates$
Thank you
Hello amitunited0532,
check your version of samtools with
samtools --version
The@
option was introduced in version 1.0.fin swimmer
Try this
when i m giving command it's shows error like this.......
Have you seen my question? Without knowing the version of
samtools
it's quite hard to help.Thanks.
fin swimmer
Samtools version: 0.1.9 (r783)
Hello amitunited0532,
this version is nearly 8 years old. Current version is 1.9. Update is realy necessary. Download and install instructions are here.
fin swimmer
Thank you for giving your valuable time, I have updated samtools and now it's working properly.