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, 10-15-2026, 10:52 AM
|
0 responses
23 views
0 reactions
|
Last Post
by SEQadmin2
10-15-2026, 10:52 AM
|
||
|
Started by SEQadmin2, 10-14-2026, 05:39 AM
|
0 responses
27 views
0 reactions
|
Last Post
by SEQadmin2
10-14-2026, 05:39 AM
|
||
|
Started by SEQadmin2, 10-13-2026, 09:56 AM
|
0 responses
23 views
0 reactions
|
Last Post
by SEQadmin2
10-13-2026, 09:56 AM
|
||
|
Started by SEQadmin2, 10-09-2026, 11:14 AM
|
0 responses
28 views
0 reactions
|
Last Post
by SEQadmin2
10-09-2026, 11:14 AM
|
Comment