SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to filter out chromosomes/specific regions from a BAM file? fcr Bioinformatics 6 10-29-2018 06:24 AM
Extracting certain genes from a SAM/BAM file. aprice67 RNA Sequencing 1 02-18-2015 12:37 AM
extracting reads from sam/bam file gene wise chris_bioinfo Bioinformatics 5 09-20-2013 03:09 AM
Extracting (Slicing) a BAM file ashkot Bioinformatics 4 12-13-2011 12:02 PM
Extracting specific regions from binary .map file mhayes Bioinformatics 0 08-15-2011 01:14 PM

Reply
 
Thread Tools
Old 04-06-2018, 07:59 AM   #1
LRU
Junior Member
 
Location: US

Join Date: Oct 2017
Posts: 1
Default Extracting specific gene regions from BAM file using GTF

I have pooled population data in BAM format for two populations that should have local adaptations. I have identified gene regions with signatures of selection (Fst).

I now wanted to directly compare the exon sequences of these two populations for my list of genes. Since my data is mapped to the whole genome, I was looking for an easier way to pull sequences from genes on different chromosomes. In my mind I would provide the Gene ID, and using the exon range from the GTF file, it would extract the region of the BAM File. If I could then get a consensus sequence saved to a text file of just the exons for that gene, I could continue.

Again, I have the mapped BAM file and the GTF file. I see some people mention converting to a BED file? Is there also a way to reduce that BED file to just my genes of interest or should I do each seperately (If I have say only 20 genes of interest at the moment) If I can get a consensus sequence, I wanted to use blast to translate and compare possible amino acid changes between these two groups.
LRU is offline   Reply With Quote
Reply

Tags
bam, consensus extraction, exon, gene extraction

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 06:43 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO