Comments (9)
metadata = requests.get("https://trace.ncbi.nlm.nih.gov/Traces/sra-db-be/runinfo?acc="+pacc)
seems work
from grabseqs.
Thank you chansigit, it is working again
from grabseqs.
same
from grabseqs.
same problem than Nov 2022:
(grabseqs) ant@hillary:/LemonSharkGSS$ grabseqs sra SRR23340818 -t 12/LemonSharkGSS$
Traceback (most recent call last):
File "/home/ant/miniconda3/envs/grabseqs/bin/grabseqs", line 11, in
sys.exit(main())
File "/home/ant/miniconda3/envs/grabseqs/lib/python3.7/site-packages/grabseqslib/init.py", line 58, in main
metadata_agg = process_sra(args, zip_func)
File "/home/ant/miniconda3/envs/grabseqs/lib/python3.7/site-packages/grabseqslib/sra.py", line 31, in process_sra
metadata_agg)
File "/home/ant/miniconda3/envs/grabseqs/lib/python3.7/site-packages/grabseqslib/sra.py", line 97, in get_sra_acc_metadata
run_col = lines[0].index("Run")
ValueError: 'Run' is not in list
(grabseqs) ant@hillary:
At that time, I followed your (below) suggestion and it went back to work:
Try replacing /usr/local/lib/python3.6/site-packages/grabseqslib/sra.py line 94 with
metadata = requests.get("https://trace.ncbi.nlm.nih.gov/Traces/sra-db-be/sra-db-be.cgi?rettype=runinfo&term="+pacc)
Any new suggestion? Thank you!
from grabseqs.
It didn't work.
from grabseqs.
sra.txt
rename this txt with sra.py and copy it to /yourpathto/grabseqslib/. replacing the former one will solve the problem for now. It is caused by the replacement of trace.ncbi I suppose. If it doesn't work again, just check whether the path https://trace.ncbi.nlm.nih.gov/Traces/sra-db-be is still working and find a new one.
from grabseqs.
doesn't work again
from grabseqs.
if someone is facing this issue now, then try replacing
/usr/local/lib/python3.6/site-packages/grabseqslib/sra.py line 45 with
metadata = requests.get("https://trace.ncbi.nlm.nih.gov/Traces/sra-db-be/sra-db-be.cgi?rettype=runinfo&term="+pacc)
from grabseqs.
Related Issues (20)
- Make --no_SRR_parsing default
- Figure out why iMicrobe breaks on circleCI
- fasterq-dump error: HOT 3
- Add callout to FAQ in main README
- Version 0.5.0 breaks numpy HOT 3
- SRA metadata not including BioSample attributes HOT 4
- Refactor code
- Use "conda deactivate" instead of "source deactivate"
- pigz attempting to zip files that don't exist HOT 1
- Check to see whether user has fasterq-dump installed HOT 1
- Dependency check
- Not compatible with Python 3.7? HOT 4
- Allow users to pass custom args to fast(er)q-dump
- grabseqs and geofetch
- error handling when sra accession doesn't exist / doesn't return runs HOT 1
- Add support to download data from EBI HOT 3
- Add support to download data from National Genomics Data Center
- All grabseqs SRA downloads failing HOT 10
- grabseqs sra -l PRJDB5400 pigz not found, using gzip Traceback (most recent call last): File "/home/tools/anaconda3/bin/grabseqs", line 8, in <module> sys.exit(main()) File "/home/tools/anaconda3/lib/python3.8/site-packages/grabseqslib/__init__.py", line 58, in main metadata_agg = process_sra(args, zip_func) File "/home/tools/anaconda3/lib/python3.8/site-packages/grabseqslib/sra.py", line 27, in process_sra acclist, metadata_agg = get_sra_acc_metadata(sra_identifier, File "/home/tools/anaconda3/lib/python3.8/site-packages/grabseqslib/sra.py", line 97, in get_sra_acc_metadata run_col = lines[0].index("Run") ValueError: 'Run' is not in list HOT 1
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 grabseqs.