What's the difference between the /rest/variant and /rest/variant/variant requests to the Exac API?
1
0
Entering edit mode
5.7 years ago
kynnjo ▴ 70

Exac describes a REST API here: http://exac.hms.harvard.edu .

Among the supported requests, are those with prefix /rest/variant and those with prefix /rest/variant/variant.

I can see from the examples given in that page that these two requests produce different results when given the same argument, but I don't know how to interpret this difference.

Which of the two forms is the one I should use to obtain the minor allele frequency for a variant?

exac api snp variant • 1.2k views
ADD COMMENT
0
Entering edit mode
5.7 years ago

Hello,

the differences are explained on the site:

/rest/variant
This call returns all information about a variant in the ExAC database.

and

/rest/variant/variant
This call returns information about the variant itself including the gene that it is in, the frequency of it in the database, and what transcripts it could be found in.

I find it quite clear. What don't you understand here?

Which of the two forms is the one I should use to obtain the minor allele frequency for a variant?

You've started another thread about this. I'v answered you there.

fin swimmer

ADD COMMENT

Login before adding your answer.

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