Retrieve genes with more than N paralogs on ensembl
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.
• 1,703 views
•
link
1 answer
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;
• 0 views
•
link
Log in to answer this question.