You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Sir
Now I am working project to search a lot of variant data in Clinvar which is time consuming because it seem that Clinvar limit 20 queries per search.
For example
I want to get 2 specific variant data so I search like this (2[chr] AND 47168774[chrpos37] AND TTC7A[gene] AND p.Leu32Val[varname] AND c.94C>G[varname]) OR (3[chr] AND 9974774[chrpos37] AND IL17RC[gene] AND p.Leu625Val[varname] AND c.1873C>G[varname])
I will get result like this
you will notice download which can export tabular data (or table file like in the image)
Can Rentrez package download the tabular table file and could you please give example of command to fetch the data?
And how limit of number of query for search with command?
Thanks in advance
JK
The text was updated successfully, but these errors were encountered:
The package maintainer isn't currently available to reply. You may be able to find what you need in the Entrez Utilities documentation. The Clinvar docs do say that Clinvar is available via E-Utilties.
Apologies that I don't have more time to assist myself.
q1 <- "2[chr] AND 47168774[chrpos37] AND TTC7A[gene] AND p.Leu32Val[varname] AND c.94C>G[varname]) OR (3[chr] AND 9974774[chrpos37] AND IL17RC[gene] AND p.Leu625Val[varname] AND c.1873C>G[varname]"
#search for gene or topic of interest
search <- entrez_search(db = "clinvar",
term = q1,
use_history = TRUE)
#by adding the retmode = "xml", it will put out 9999 Clinvar variants at maximum; if you have more than 9999, figure out a way to chunk them up.
#file output is a matrix; this code transposes the data (t()) and turns that results into a tibble; from here you can unnest_wider or unnest_longer to pull out the list columns
Dear Sir
Now I am working project to search a lot of variant data in Clinvar which is time consuming because it seem that Clinvar limit 20 queries per search.
For example
I want to get 2 specific variant data so I search like this
(2[chr] AND 47168774[chrpos37] AND TTC7A[gene] AND p.Leu32Val[varname] AND c.94C>G[varname]) OR (3[chr] AND 9974774[chrpos37] AND IL17RC[gene] AND p.Leu625Val[varname] AND c.1873C>G[varname])
I will get result like this
you will notice download which can export tabular data (or table file like in the image)
Can Rentrez package download the tabular table file and could you please give example of command to fetch the data?
And how limit of number of query for search with command?
Thanks in advance
JK
The text was updated successfully, but these errors were encountered: