Skip to main content
https://badge.fury.io/py/sequana-quality-control.svg JOSS (journal of open source software) DOI https://github.com/sequana/quality_control/actions/workflows/main.yml/badge.svg Python 3.11 | 3.12

This pipeline is not maintained anymore but should be functional. It is a short-read quality control pipeline from the Sequana project. We would recommend to use the fastqc, demultiplex, and multitax pipelines instead.

Overview:

A quality control pipeline for illumina data set. This pipeline removes contaminants (e.g. Phix), performs fastqc, adapter cleaning and trimming and checks for contaminants

Input:

Raw fastq files

Output:

Cleaned fastQ files, remove phix and adapters + taxonomy

Status:

production. not maintained. Please use sequana_fastqc and sequana_multitax pipeline instead

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_quality_control

Usage

sequana_quality_control --help
sequana_quality_control --input-directory DATAPATH

This creates a directory with the pipeline and configuration file. You will then need to execute the pipeline:

cd quality_control
sh quality_control.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 quality_control.rules -c config.yaml --cores 4 --stats stats.txt

Or use sequanix interface.

Requirements

This pipelines requires the following executable(s):

  • fastqc

  • bwa

  • sambamba

  • samtools

  • pigz

  • cutadapt [or atropos]

https://raw.githubusercontent.com/sequana/quality_control/master/sequana_pipelines/quality_control/dag.png

Details

This pipeline runs quality_control in parallel on the input fastq files (paired or not). A brief sequana summary report is also produced.

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

1.0.0

  • switch to click, pyproject. remove kraken (see multitax pipeline instead). Uses new convention.

0.10.0

  • add missing MANIFEST

0.9.0

  • remove design_file for cutadapt to reflect changes in sequana 0.12.0

  • update kraken rules to use a kraken2 version

  • Update to use new sequana framework (0.12)

  • added CI action

0.8.4

  • fix the onsuccess section to reflect changes in sequana 0.9.3

0.8.3

  • fix cleaning output files

0.8.2

  • fix typo in parameter (-skip-phix-removal –> –skip-phix-removal)

  • implement hiearchical kraken analysis. Required major updates of the sequana kraken rules + general fixes in sequana

0.8.1

uses more sequana tools to handle the options

Metadata

Release files for sequana-quality-control 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sequana-quality-control 1.1.0
File Size Uploaded
sequana_quality_control-1.1.0.tar.gz 98.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sequana-quality-control 1.1.0
File Interpreter ABI Platform
sequana_quality_control-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 196.2 kB

Release files / sequana_quality_control-1.1.0.tar.gz

Download URL sequana_quality_control-1.1.0.tar.gz
Size 98.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f3106291e762ce504b4944f1360683bda73cf8e53346082dd63dcdda9f1dbdde
BLAKE2b-256 checksum
How to use checksums
4ddbae2629c9aa121032b9d112db3d1a1e117a0212393d2d09347116f12a1dca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.4 CPython/3.11.15 Linux/6.14.5-100.fc40.x86_64

Release files / sequana_quality_control-1.1.0-py3-none-any.whl

Download URL sequana_quality_control-1.1.0-py3-none-any.whl
Size 97.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d079b5526a59923c342c7b588573bbc7c32ffd68d9374ac2ed2ef00c1313e831
BLAKE2b-256 checksum
How to use checksums
1ce767dcd53a32fd1a32e1d16cfedfe0e6bd4e1a1306d85634dd05ccbf20bf79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.4 CPython/3.11.15 Linux/6.14.5-100.fc40.x86_64

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

0.10.0

1 release file

0.9.0

1 release file

0.8.2

1 release file

0.8.1

1 release file

0.8.0

1 release 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