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.4

  • add missing MANIFEST to include missing requirements.txt

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.4.tar.gz (110.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: sequana_downsampling-0.8.4.tar.gz
  • Upload date:
  • Size: 110.7 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.4.tar.gz
Algorithm Hash digest
SHA256 cc0d7b60ff83cff72715c27549f0a6a5bc6278a7e3d9ca2bf83a539b94fe04fd
MD5 82fcecb044eb190ef33513eb884fb1b0
BLAKE2b-256 ef7dee48687fd9d63ce3d0633935979cc6d6b7c4c2ac66b890256f594a0b7923

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