Does anyone know if it is possible to specify which assembly to use when constructing a query for Entrez ?
For example, if I do such a query with EDirect:
esearch -db gene -query "brca1 [ALL]human[ORGN]" -sort "relevance" | \
efetch -format docsum | \
xtract -pattern DocumentSummary -element Name MapLocation Description OtherAliases Id \
-block GenomicInfo -element ChrLoc ChrAccVer ChrStart ChrStop
the GenomicInfo that I get seems to be according to the GRCh38 assembly. The application that I'm developing needs to use the GRCh37 assembly, however.
Any help is much appreciated.
That's very valuable to know. Thanks for sharing what you found out!
Good to know. Technically, this is "retrieve everything and parse for version" rather than "query using version", but whatever works.
Good point. In my case (although maybe not in all cases), the difference doesn't really matter, and I can get the information that I need. Cheers.