ebi-gene-expression-group / atlas-fastq-provider Goto Github PK
View Code? Open in Web Editor NEWScripts and utilities for providing fastqs to workflows
Scripts and utilities for providing fastqs to workflows
I noticed that the following works
$ fetchFastq.sh -f ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR035/ERR035229/ERR035229.fastq.gz -t ERR035229.fastq.gz
however when providing -m wget
value it produces an error:
$ fetchFastq.sh -f ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR035/ERR035229/ERR035229.fastq.gz -t ERR035229.fastq.gz -m wget
Downloading ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR035/ERR035229/ERR035229.fastq.gz to .../ERR035229.fastq.gz using wget
No such directory ‘vol1/fastq/ERR035/ERR035229’.
gzip: ERR035229.fastq.gz.tmp: unexpected end of file
No such directory ‘vol1/fastq/ERR035/ERR035229’.
gzip: ERR035229.fastq.gz.tmp: unexpected end of file
No such directory ‘vol1/fastq/ERR035/ERR035229’.
gzip: ERR035229.fastq.gz.tmp: unexpected end of file
ERROR: Failed to retrieve ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR035/ERR035229/ERR035229.fastq.gz to ERR035229.fastq.gz
Failed to download ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR035/ERR035229/ERR035229.fastq.gz from ena with wget: download failed
This is currently happening because convert_ena_fastq_to_uri
calls get_library_path
without a second argument (for the root):
producing a leading /
which then when concatenated at
//
.Explicitly passing wget
as a retrieval method gives an error:
> fetchEnaLibraryFastqs.sh -l ERR2890000 -d "./" -t fastq -n PAIRED -m wget -s ena -p public
Downloading file ERR2890000_1.fastq.gz for ERR2890000 to /path/to/tmpdir/atlas-fastq-provider
/path/to/atlas-fastq-provider-functions.sh: line 1179: fetch_file_from_ena_over_wget: command not found
fetch_file_from_ena_over_wget
method does not exist because the function name is built with the method using fetch_file_from_ena_over_$method
. Only fetch_file_from_ena_over_http
, fetch_file_from_ena_over_ftp
, and fetch_file_from_ena_over_ssh
exist (see functions here)
The method wget
is implied in some methods, and handled internally by the code.
Remove any indication in readme and usages that wget
can be explicitly passed to the command.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.