Genotype Frequency from Ensembl BiomaRt
3
0
Entering edit mode
8.7 years ago
mass2 • 0

I'd like to gather the genotype frequency for a number of snps for HSapiens in R using BioMart. As far as I understand, the best way to do this is via ensembl through useEnsembl(biomart="snp")

From there however, the hsapiens_snp dataset, which I assume is the main one, doesn't contain any genotype frequency in the listAttributes. The dataset hsapiens_snp_som however does contain genotype frequency, but the number of snps it contains is very small it seems in comparison to the hsapiens_snp dataset (only 41kb in size vs 400kb for hsapiens_snp).

Would anyone know how I could obtain genotype frequency in R using biomart, for snps? Thanks.

biomart • 3.1k views
ADD COMMENT
1
Entering edit mode
8.7 years ago
Emily 23k

Genotype frequencies are not available in BioMart. To get genotype frequencies you'd be looking at using the Perl API.

ADD COMMENT
0
Entering edit mode

Thanks Emily. I've installed the Perl API, but cannot see instructions anywhere to pull actual genotype frequency data.

ADD REPLY
0
Entering edit mode
8.6 years ago

I need to do this too, I have installed the ensembl Perl API but it only allows me to get allele frequencies, I can't figure out how to get genotype frequencies. Does anyone know how to get genotype frequencies for specific SNPs?

ADD COMMENT
0
Entering edit mode
8.6 years ago

The solution has been posted here: Ensembl Perl API - How to get genotype frequencies

ADD COMMENT

Login before adding your answer.

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