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

Uploaded Source

File details

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

File metadata

  • Download URL: sequana_downsampling-0.8.2.tar.gz
  • Upload date:
  • Size: 108.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.5.5

File hashes

Hashes for sequana_downsampling-0.8.2.tar.gz
Algorithm Hash digest
SHA256 7fddfcaccd3c28e0d9121d85cae5a6a3e7fca35ce7267eaab08759ee05f83a58
MD5 c689c8179c4d1664235cd661d80b798f
BLAKE2b-256 683ae7d30afa88620326b3135c8204478ea5a02f7f4a25bedd4e2ecdc033fa8e

See more details on using hashes here.

Release history Release notifications | RSS feed

0.10.0

2 files

0.9.0

1 file

0.8.4

1 file

0.8.3

1 file

This release

0.8.2 This release

1 file

0.8.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page