Comments (10)
Hi @peranti:
It is the first time I am seeing this type of error. It seems that the response from the GWAS Catalog server was not completed, hence the End of File (EOF) error.
I noticed that GWAS Catalog REST API service has been pretty bumpy today. I am not sure what's going on. I have sent a couple of emails to the GWAS Dev Team, but I haven't got a response yet.
I am not sure your problem is related to these other issues. It could be.
If you want, I am glad to look more carefully into your example but I will need the value of the gene_list
variable.
from gwasrapidd.
I would still split your queries though. The GWAS Catalog team does not have any details regarding API throttling, but I am guessing this might be your problem.
from gwasrapidd.
Hi @peranti:
I am sorry you are having all these issues. I have been experiencing them myself too. I've just sent another email to the GWAS Catalog team. There is nothing else I can do I am afraid.
If you want to put some extra pressure, here's their email: [email protected]. :)
from gwasrapidd.
Thanks, @ramiromagno, for the quick reply.
I am now checking the command with ten genes and will update you in case of any issues. I can already tell you that eta: 28m
.
It is better to run the command later once the GWAS Catalog REST API service is normal. But how can I check it? 🤔
Otherwise, rerun using loop with wait time in between two genes?
from gwasrapidd.
I don't know how long your list of genes is. But I am guessing that if it's in the order of thousands, you might be hammering their server too strongly and they might have increased the time to respond to your queries.
As you said, if that is the case, it might be better to wait a few hours and try again. But then, split your queries such that each call to get_variants()
has only a few genes each time (~ 10 genes). Make sure to pause between requests, something like ~5 sec. At the end if you have a list of variants
objects, you can always use the function union()
to join everything together into one single object.
from gwasrapidd.
Sure, I have around 200 genes, and I suppose it is acceptable in one go after some time.
from gwasrapidd.
I encounter the following error when working with a single gene:
Notice: The request for https://www.ebi.ac.uk/gwas/rest/api/singleNucleotidePolymorphisms/search/findByGene?geneName=PSMD5 failed: response code was 500.
Notice messages:
In gc_request_all(resource_url = resource_url, base_url = base_url, :
The request for https://www.ebi.ac.uk/gwas/rest/api/singleNucleotidePolymorphisms/search/findByGene?geneName=PSMD5 failed: response code was 500.
The server is reachable, though.
is_ebi_reachable()
[1] TRUE
from gwasrapidd.
Hi Pradeep,
I got an update from the GWAS team. It seems that these downtime issues are now resolved. Please let me know if it is working for you.
from gwasrapidd.
Thanks, @ramiromagno, for getting in touch with the GWAS team.
I can now interact with the website using the functionalities of gwasrapidd, albeit very slow. However, this situation is not an issue and hence closing it.
from gwasrapidd.
Hi @peranti: I would like to reach out by email. Could you contact me at rmagno at pattern.institute?
from gwasrapidd.
Related Issues (20)
- Is it possible to add additional gene information? HOT 4
- Response code 500 when using get_studies() HOT 8
- Gwascatcollect<-function(gene, chr=xx, start=xx, end=xx) HOT 3
- GRASP: Genome-Wide Repository of Associations Between SNPs and Phenotypes HOT 4
- The most efficient way to retrieve association results by study_id? HOT 2
- institutional logo not rendered in footer
- revisit FAQ 5 HOT 1
- consider transitioning to the (not so) new pkgdown website template HOT 2
- Error: parse error: premature EOF in study responses
- Response code was 500. HOT 3
- About failing download the studies of "get_studies()“ HOT 6
- Error when running get_associations() HOT 4
- List of Variants to GWAS associations HOT 3
- Problem with obtaining the RAF for individual variants contained within associations with a haplotype
- Why are some gene names present in `genomic_contexts` but not in `ensembl_ids`? HOT 7
- The associations number obtained by "gwasrapidd" differs extremly from obtained in GWAS Catalog HOT 5
- How do I export `my_associations` to a table file, separated by tabs HOT 8
- FR: Add export functionality for gwasrapidd objects: `write_xlsx()`
- `get_studies()` not returning a scores object with efo id `"MONDO_0004648"`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwasrapidd.