This is a test version of Biostars. For the public version, visit https://www.biostars.org.
What's the difference between the /rest/variant and /rest/variant/variant requests to the Exac API?

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 answer

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

Log in to answer this question.