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
When the input list includes DRP****** ids or PRJDB***** ids, the sra_ids_to_runid.py script fails with error or returns the incorrect data (for a different ID).
It appears that the efetch query fails in cls._id_to_srx(identifier)
You can take for example the id mentioned in the script: DRP004793 will return the incorrect results - a different study is returned. It returns the information for SRP000742. Here is the query and result:
just running the sra_ids_to_runinfo.py directly with input.txt gives this error:
Traceback (most recent call last):
File "bin/sra_ids_to_runinfo.py", line 498, in <module>
sys.exit(main())
^^^^^^
File "/bin/sra_ids_to_runinfo.py", line 494, in main
fetch_sra_runinfo(args.file_in, args.file_out, ena_metadata_fields)
File "bin/sra_ids_to_runinfo.py", line 470, in fetch_sra_runinfo
ids = DatabaseResolver.expand_identifier(db_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "bin/sra_ids_to_runinfo.py", line 223, in expand_identifier
return cls._id_to_srx(identifier)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "bin/sra_ids_to_runinfo.py", line 241, in _id_to_srx
cls._content_check(response, identifier)
File "bin/sra_ids_to_runinfo.py", line 232, in _content_check
if response.status == 204:
^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'status'
Relevant files
input.txt:
SRP102769
DRP004793
System information
This would happen on any system - have tested locally, awsbatch, docker, linux, macOS.
Version of nf-core/fetchngs: 1.12.0
The text was updated successfully, but these errors were encountered:
Description of the bug
When the input list includes DRP****** ids or PRJDB***** ids, the sra_ids_to_runid.py script fails with error or returns the incorrect data (for a different ID).
It appears that the efetch query fails in
cls._id_to_srx(identifier)
You can take for example the id mentioned in the script: DRP004793 will return the incorrect results - a different study is returned. It returns the information for SRP000742. Here is the query and result:
I am not sure the best solution other than doing eutils esearch for example, term=DRP004793, and using the returned ids.
Command used and terminal output
nextflow run main.nf --input 'input.txt'
This will fail to return results from DRP004793.
just running the sra_ids_to_runinfo.py directly with input.txt gives this error:
Relevant files
input.txt:
System information
This would happen on any system - have tested locally, awsbatch, docker, linux, macOS.
Version of nf-core/fetchngs: 1.12.0
The text was updated successfully, but these errors were encountered: