Comments (3)
Thanks, this issue seems to be coming from a library version mismatch from your python installation. I would recommend using conda/bioconda to create a separate enivronment for pysradb.
from pysradb.
ok I fixed the above problem but still don't get the fastq file, only empty folders, with the following code:
from pysradb.sraweb import SRAweb
SRA_OUR_DIR = "/data/NCBI_data/"
db = SRAweb()
gse_to_srp = db.gse_to_srp("GSE226189")
print("gse_to_srp shape:", gse_to_srp.shape)
display(gse_to_srp.head(2))
metadata = db.sra_metadata(gse_to_srp["study_accession"].to_list(), detailed=True)
print(metadata.shape)
display(metadata.head(2))
db.download(df=metadata.head(1),
url_col="ena_fastq_http_1",
use_ascp=True,
#threads=8,
skip_confirmation=True,#don't ask for permmision to download
out_dir=SRA_OUR_DIR)
- OS: AWS EC2, Ubuntu 22.04.2 LTS
- anaconda3 Python 3.11.5
when the url_col is the default I do get the .sra files.
The link in column "ena_fastq_http_1" seems fine
(http://ftp.sra.ebi.ac.uk/vol1/fastq/SRR236/077/SRR23630177/SRR23630177_1.fastq.gz)
from pysradb.
Hi
Is my new comment can be seen after issue was closed?
from pysradb.
Related Issues (20)
- [BUG] cannot download a single experiment from command line HOT 1
- [BUG] Metadata download not only for the provided accession number HOT 3
- [BUG] aspera HOT 3
- [BUG] gse-to-srp error HOT 1
- [BUG] Download error HOT 1
- [BUG] download error HOT 2
- [BUG]Downloading issue HOT 1
- fastq's URLs are empty HOT 2
- Not all attributes are being exported HOT 6
- [BUG] missing run-related entries for experiments with high number of runs
- [BUG] Metadata download only for a few run accessions, not for all the run accessions of the study HOT 4
- [BUG] srp-to-srr giving SRSs as result HOT 3
- could you expend to support European Nucleotide Archive data HOT 1
- [BUG] All arrays must be of the same length
- [ENH] geo_download_links error handling HOT 1
- Incosistencies with retrieving SRX data from different archives HOT 1
- Specific srp seems to cause metadata download to freeze
- [BUG] gse_to_srp problems HOT 2
- [BUG] Cant download using ascp 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 pysradb.