Bowtie2 alignment on metagenomics - sum same sequence
1
0
Entering edit mode
11 months ago
rfour92 • 0

Hello,

I have multiple metagenomic assemblies. I have obtained the ffn file of the orfs, then merged them together and clustered them using cd-hit-est. when I use bowtie2 to map these sequences against reads, bowtie2 records multiple mappings (as it should) however it saves them under the same sequence header. I only care about the total count of each sequence. So i was wondering is there a way where I can ask bowtie2 to sum up the total hits per sequence? Or do I need to use another tool to perform this task? Kindly advise.

Thank you

metagenomics Bowtie2 • 621 views
ADD COMMENT
1
Entering edit mode
11 months ago
Buffo ★ 2.4k

I use bowtie2 to map these sequences against reads

You should do exactly the opposite, map reads against your consensus sequences. Then you can use samtools idxstats to count the reads mapped.

ADD COMMENT
0
Entering edit mode

Thanks, i highly appreciate your reply. I have been stuck for few weeks now. I will give it a shot as soon as I can

ADD REPLY

Login before adding your answer.

Traffic: 1727 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