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, 12:32 PM
|
0 responses
5 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 12:32 PM
|
||
|
Started by SEQadmin2, 08-24-2026, 10:32 AM
|
0 responses
48 views
0 reactions
|
Last Post
by SEQadmin2
08-24-2026, 10:32 AM
|
||
|
Started by SEQadmin2, 08-20-2026, 11:17 AM
|
0 responses
51 views
0 reactions
|
Last Post
by SEQadmin2
08-20-2026, 11:17 AM
|
||
|
Started by SEQadmin2, 08-18-2026, 10:05 AM
|
0 responses
55 views
0 reactions
|
Last Post
by SEQadmin2
08-18-2026, 10:05 AM
|
Comment