How to get the gene symbols for my bam file or bed file
0
0
Entering edit mode
6.7 years ago

Hello, I am new to NGS and wanted to know which genes are present in my aligned file. I have performed BWA MEM to obtain a sam file and used picard to get a sorted.bam file. I also used bedtools to get a BED file and used its annotate utility to find the gene id or gene symbol for my reads. But it was only giving my the coverage. How do I get my gene symbols or gene ids using bedtools or any other tool?

Please Help

genome alignment sequencing next-gen • 2.3k views
ADD COMMENT
1
Entering edit mode

Can you explain what your final goal is?

ADD REPLY
0
Entering edit mode

I want to get the genes that are present in my bacterial isolate and check with a database if that gene is virulent or rather the bacteria is virulent

ADD REPLY
0
Entering edit mode

Do you want the number of reads/pairs aligning to each gene or do you want to annotate each read with the gene it aligns to?

ADD REPLY
0
Entering edit mode

I want to annotate each read with the gene it aligns to

ADD REPLY
0
Entering edit mode

just curious: what would you with that information ?

ADD REPLY
0
Entering edit mode

I want to check if there are any virulent genes present in my bacterial sample

ADD REPLY
1
Entering edit mode

I strongly suspect that featureCounts would be easier then.

ADD REPLY
0
Entering edit mode

Thank you so much it worked very well

ADD REPLY
0
Entering edit mode

so as said Devon , what about just counting " the number of reads/pairs aligning to each gene" ?

ADD REPLY

Login before adding your answer.

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