Sorting bam file
How can I sort my bam file according to read headers. Kindly Reply soon.
How can I sort my bam file according to read headers. Kindly Reply soon.
You are currently viewing the SEQanswers forums as a guest, which limits your access. Click here to register now, and join the discussion
samtools sort -n <infile.bam> <out.prefix>
bowtie2 <options> | samtools view -S -b - | samtools sort - output.sorted
samtools index <(samtools view -h ../out.aaa.bam | samtools view -Shu - | samtools sort -T . -O bam -o - | tee out.bam) out.bam.bai
Samtools-htslib-API: bam_index_build2() not yet implemented Aborted
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Yesterday, 11:05 AM
|
0 responses
11 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 11:05 AM
|
||
|
Started by SEQadmin2, 09-18-2026, 11:37 AM
|
1 response
36 views
0 reactions
|
Last Post
by pekgio
09-21-2026, 02:04 AM
|
||
|
Started by SEQadmin2, 09-16-2026, 10:23 AM
|
1 response
52 views
0 reactions
|
Last Post
by pekgio
09-21-2026, 02:12 AM
|
||
|
Started by SEQadmin2, 09-09-2026, 12:14 PM
|
0 responses
70 views
0 reactions
|
Last Post
by SEQadmin2
09-09-2026, 12:14 PM
|
Comment