downsample NGS data sets
Project description
This is is the downsampling pipeline from the Sequana project
- Overview:
downsample NGS data sets
- Input:
a set of FastQ or FASTA files
- Output:
a set of downsampled files
- Status:
mature
- Citation:
Cokelaer et al, (2017), ‘Sequana’: a Set of Snakemake NGS pipelines, Journal of Open Source Software, 2(16), 352, JOSS DOI doi:10.21105/joss.00352
Installation
You must install Sequana first:
pip install sequana
Then, just install this package:
pip install sequana_downsampling
Usage
sequana_pipelines_downsampling --help sequana_pipelines_downsampling --input-directory DATAPATHH sequana_downsampling --downsampling-method random --downsampling-max-entries 100
This creates a directory with the pipeline and configuration file. You will then need to execute the pipeline:
cd downsampling sh downsampling.sh # for a local run
This launch a snakemake pipeline. If you are familiar with snakemake, you can retrieve the pipeline itself and its configuration files and then execute the pipeline yourself with specific parameters:
snakemake -s downsampling.rules -c config.yaml --cores 4 --stats stats.txt
Or use sequanix interface.
Requirements
This pipelines requires the following executable(s):
sequana
pigz
Details
This pipeline runs downsampling in parallel on the input fastq or fasta files (paired or not).
Rules and configuration details
Here is the latest documented configuration file to be used with the pipeline. Each rule used in the pipeline may have a section in the configuration file.
Changelog
Version |
Description |
---|---|
0.8.3 |
|
0.8.2 |
|
0.8.1 |
|
0.8.0 |
First release. |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for sequana_downsampling-0.8.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18e1ae4a644420a64f3f1dae4e458f8ec46d5321b5ae01e2e00b043d578ba2d5 |
|
MD5 | 3c673349b27348a5c99368554f04948d |
|
BLAKE2b-256 | 8795ba5e2245aa58d0dd55660d89cb208d0568387a43d2b2d14ee26921dd1fbf |