Skip to main content

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

  • comply with new API from sequana_pipetools 0.2.4

0.8.2

  • add a –run option to execute the pipeline directly

0.8.1

  • fix input and N in the random selection

0.8.0

First release.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sequana_downsampling-0.8.3.tar.gz (110.6 kB view details)

Uploaded Source

File details

Details for the file sequana_downsampling-0.8.3.tar.gz.

File metadata

  • Download URL: sequana_downsampling-0.8.3.tar.gz
  • Upload date:
  • Size: 110.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

File hashes

Hashes for sequana_downsampling-0.8.3.tar.gz
Algorithm Hash digest
SHA256 18e1ae4a644420a64f3f1dae4e458f8ec46d5321b5ae01e2e00b043d578ba2d5
MD5 3c673349b27348a5c99368554f04948d
BLAKE2b-256 8795ba5e2245aa58d0dd55660d89cb208d0568387a43d2b2d14ee26921dd1fbf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page