unalign bam and convert to fastq
1
0
Entering edit mode
8.7 years ago
bioguy24 ▴ 230
I would like to unalign a bam file that was aligned by TMAP and create a fastq file. I am going to re-align using bowtie2 using an indexed hg19 reference. Thank you :).
bowtie2 • 3.0k views
ADD COMMENT
0
Entering edit mode
8.7 years ago
thackl ★ 3.0k

Have a look at samtools bam2fq

ADD COMMENT
0
Entering edit mode
Is there a tool or script that can unalign a bam file and output the unaligned bam? Thank you :)
ADD REPLY
1
Entering edit mode

As said, convert the bam to fastq and re-align with whatever tool you are interested in. Keep in mind about Paired-End, soft/hard clipping etc while converting to fastq.

Or tell what is meant by unaligned bam? Do you mean to say extract unaligned reads from bam?

ADD REPLY
0
Entering edit mode
Basically our data has indels in it that are not being called. I have a bam file created using TMAP that I am going to convert to a fastq and realign using bowtie2. Next, I will use bwa on this bam. Does that sound like a goodlan or do you recommend something else? Thank you :).
ADD REPLY

Login before adding your answer.

Traffic: 2067 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6