enasearch
enasearch copied to clipboard
A Python library for interacting with ENA's API
``` >>> enasearch.retrieve_run_report(accession="ERR1558694", fields="run_accession,instrument_platform,library_strategy,read_count,fastq_ftp") Traceback (most recent call last): File "", line 1, in File "/ebio/abt3_projects/software/dev/miniconda3_dev/envs/database/lib/python2.7/site-packages/enasearch/__init__.py", line 737, in retrieve_run_report file=file) File "/ebio/abt3_projects/software/dev/miniconda3_dev/envs/database/lib/python2.7/site-packages/enasearch/__init__.py", line 721, in retrieve_filereport return request_url(url, "text",...
- Check doc: https://www.ebi.ac.uk/ena/portal/api/doc - Use proper CSV
For the BioProject [`PRJNA256314`](https://www.ncbi.nlm.nih.gov/bioproject/256314) does not return any data: ``` enasearch retrieve_data --ids PRJNA256314 --display text Entry: PRJNA256314 display type is either not supported or entry is not found. ```...
The following two commands work just fine: ``` enasearch retrieve_run_report --accession PRJNA473989 --file results.txt enasearch retrieve_run_report --accession PRJNA473989 ``` But the following gives an exception ``` $ enasearch retrieve_run_report --accession...
Hi @bebatut, First off, thanks for this package! I was trying to find an automation tool for interacting with the ENA website and found this library. For now, I've created...
When I try to install enasearch through conda, it asks me to downgrade my environment to Python 2 ``` $ conda install -c bioconda enasearch Solving environment: done ## Package...
I am having trouble using the search_data() function to filter fields that I return Going from the tutorial, if I update to call this: data = enasearch.search_data( free_text_search=True, query="SMP1+homo", result="sequence_release",...