Retrieve genes with more than N paralogs on ensembl
1
0
Entering edit mode
7.1 years ago
corend ▴ 70

Is there a way on ensembl (or biomart?) to retrieve a list of gene IDs from a species that have more than N paralogs in this species?

I tried with biomart online but I didn't find any filters adapted.

genome gene ensembl • 1.4k views
ADD COMMENT
0
Entering edit mode
7.1 years ago

You'll have to use the perl API for this. Something like this:

my @homologs = @{$Ensgene->get_all_homologous_Genes()};
my @paralogs = grep { $_->[2] eq 'homo_sapiens' && $_->[1]->description=~/paralog/ } @homologs;
ADD COMMENT

Login before adding your answer.

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