[ensembl-dev] variation allele population name
Will Spooner
whs at eaglegenomics.com
Thu Nov 4 15:21:16 GMT 2010
On 4 Nov 2010, at 15:01, Will McLaren wrote:
> Hello,
>
> You can get all the populations via a population adaptor:
>
> my $pa = Bio::EnsEMBL::Registry->get_adaptor("human", "variation",
> "population");
> my @all_populations = @{$pa->fetch_all()};
>
> This will give you a very long list however, as we import all
> populations from dbSNP and also have additional populations
> representing tissue types from the COSMIC somatic mutation database.
>
> Release 60 of Ensembl (due next week) will include two additional
> methods that you may find interesting:
>
> $pa->fetch_all_1KG_Populations
> $pa->fetch_all_HapMap_Populations
>
> (1KG = 1000 genomes)
Hi Will,
Are you hard-coding human-specific studies into the Ensembl API, or will this be done with some sort of autoloaded method? I can imagine that EnsemblGenomes/Gramene would like something similar for Arabidopsis 1001 genomes and 2010 studies.
Thanks,
Will
More information about the Dev
mailing list