Open xsq2022 opened 2 years ago
same
same problem than Nov 2022:
(grabseqs) ant@hillary:~/LemonSharkGSS$ grabseqs sra SRR23340818 -t 12
Traceback (most recent call last):
File "/home/ant/miniconda3/envs/grabseqs/bin/grabseqs", line 11, in
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!
It didn't work.
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.
doesn't work again
metadata = requests.get("https://trace.ncbi.nlm.nih.gov/Traces/sra-db-be/runinfo?acc="+pacc)
seems work
Thank you chansigit, it is working again
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)
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)
Worked for me thank you
Hi, I met this problem when I used grabseqs. Traceback (most recent call last): File "/media/home/user05/anaconda3/envs/python36/bin/grabseqs", line 11, in
sys.exit(main())
File "/media/home/user05/anaconda3/envs/python36/lib/python3.6/site-packages/grabseqslib/init.py", line 58, in main
acclist, metadata_agg = get_sra_acc_metadata(sra_identifier, args.outdir, args.list, not args.SRR_parsing, metadata_agg)
File "/media/home/user05/anaconda3/envs/python36/lib/python3.6/site-packages/grabseqslib/sra.py", line 52, in get_sra_acc_metadata
run_col = lines[0].index("Run")
ValueError: 'Run' is not in list
Could you please tell me how to solve this problem? Thanks.