Question: Features Of Flanking Regions
gravatar for Chris Gene
6.6 years ago by
Chris Gene60
United Kingdom
Chris Gene60 wrote:

I have a list of genomic positions in the human genome, and I want to get a general idea about the genomic context of the flanking regions (GC richness, spanning a gene (exon/intron), etc.). The file is chr pos (eg. 13 1234567) Is there a simple way to go about this? Thank-you!

position human • 1.8k views
ADD COMMENTlink written 6.6 years ago by Chris Gene60
gravatar for Istvan Albert
6.6 years ago by
Istvan Albert ♦♦ 79k
University Park, USA
Istvan Albert ♦♦ 79k wrote:

Your question is a bit generic the word features is broad. The scale at which you want to proceed is also important. The answer will depend on whether you have one, dozens or millions of potential regions.

The simplest option is to go the the UCSC genome browser find your region and download the tracks that contain the data that you are interested in.

More automated solutions include:

There are also a large number of ChIP-Seq tools that aim to automatize this step, you might want to look at those.

ADD COMMENTlink modified 6.6 years ago • written 6.6 years ago by Istvan Albert ♦♦ 79k
gravatar for Malachi Griffith
6.6 years ago by
Washington University School of Medicine, St. Louis, USA
Malachi Griffith17k wrote:

If you wish to do this kind of thing in a script, you can get many features associated with a particular region of a genome using the Ensembl Perl API. You will need to install the API and perl mysql DBI/DBD modules. Then you can retrieve sequences for your regions of interest (with arbitrary flank) as follows:

use warnings;
use strict;
use DBD::mysql;
use Bio::EnsEMBL::Registry;

my $registry = 'Bio::EnsEMBL::Registry';
    -host => '', # alternatively ''
    -user => 'anonymous' 

my $chr = 13; 
my $pos = 111234567;
my $flank = 50;

my $slice_adaptor = $registry->get_adaptor( 'Human', 'Core', 'Slice' ); 
my $slice = $slice_adaptor->fetch_by_region( 'chromosome', $chr, $pos-$flank, $pos+$flank );
my $sequence = $slice->seq();
print $sequence, "\n";

Examples for retrieving many types of additional information (including exons, introns, etc.) can be found in the Core API Tutorial.

ADD COMMENTlink written 6.6 years ago by Malachi Griffith17k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1619 users visited in the last hour