Re: [Samtools-help] sort sam file using samtools sort

2018-02-01 Thread Robert Davies
On Wed, 31 Jan 2018, Yogesh Gupta wrote: Can I use samtools sort to sort sam file by read name directly? samtools sort -O sam -n -o sample.sort.sam sample.sam Yes, that should work. I am using samtools version 1.4 I'd recommend upgrading to the most recent version (1.7). Sort has had a

[Samtools-help] sort sam file using samtools sort

2018-01-31 Thread Yogesh Gupta
Hi , Can I use samtools sort to sort sam file by read name directly? samtools sort -O sam -n -o sample.sort.sam sample.sam I am using samtools version 1.4 Thanks Yogesh [https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif] --