No project description provided
Project description
Fastq Downloader (WIP)
use this snakemake script to get more fluent experience.
This python package let you download fastq files from ena. It can automatic merge and rename fastq files based on the input file provided. If you have trouble downloading this repo's release, please go to fastgit
How to use
auto merge multiple files of paired end reads are not tested now, but should be usable
conda create --name fastq-downloader -c conda-forge -c hcc -c bioconda aspera-cli snakemake httpx lxml click beautifulsoup4 python=3.9
## use what ever you want to download the gist mentioned above to thisname.smk
## download whl file from github release of this project to thisname.whl
conda activate fastq-downloader
pip install fastq-downloader==0.3.0
## make sure to create an infotsv before, you can just copy from the geo website,
## then go to vim, type :set paste to get into paste mode, paste the table into vim,
## save the file as whatever name you want, then exit vim
## the white space will be auto convert to underscore
## refresh_acc need to be False if you don't want to query again the accesion number,
## or due to the recreation of the link file(default set to false), all files are to be downloaded.
python3 -m fastq_downloader smk --info thisname.tsv --out thisname --refresh_acc False
todo
- test for paired-end reads run merge
- publish to bioconda
- if fail, retry
- use dag to run the pipeline (sort of, implemented by using snakemake)
- option to resume download when md5 not match
- option to continue from last time download
- implement second level parallelization
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fastq-downloader-0.3.0.tar.gz
(10.1 kB
view details)
Built Distribution
File details
Details for the file fastq-downloader-0.3.0.tar.gz
.
File metadata
- Download URL: fastq-downloader-0.3.0.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddaf14312047b83efa29122aa55892a4585c6dd19ce327edbc15153dd80afadd |
|
MD5 | 61d60d19b313a5d03f21c17954d298b4 |
|
BLAKE2b-256 | 9879378fa2c475b85a5ede2285f8abdda28d8010861e0ee986cb55de4c2fb4f6 |
File details
Details for the file fastq_downloader-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: fastq_downloader-0.3.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac320808117a283043fc6e6f597e54eacfffb0eb22972df2ed86ffe629457dbc |
|
MD5 | 59fc9294e078cfed976f4e25932e9dfe |
|
BLAKE2b-256 | baa96cb732713079ae2d42647584c45d44a532f3f1371e44e671048de543c551 |