Quade 0.3.2

Fastq files demultiplexer, handling double indexing, molecular indexing and filtering based on index quality (Pure Python2.7)

Creation : 2015/01/07

Last update : 2016/11/21

Motivation

Quade is a python2.7 object oriented script developed to demultiplex sample from mixed fastq files.

Specific features:

Double index

Principle

  1. A configuration file containing all program parameters (including sample/index association) is parsed and thoroughly verified for validity
  2. Non demultiplexed fastq files are read with a custom fastq parser (pyFastq Submodule) chunks by chunks, with reads from sample read1, sample read2, index read1 [and index read2] in different files.
  3. sample barcode and molecular index sequence are extracted from index read. In the case of double indexing sample barcode is the result of the fusion between sample barcode from index1 and index2. The same applies for molecular index
  4. Depending of the index (or fused index) sequence, sample reads1 and read2 are attributed to a defined sample, or to the undetermined category if appropriate.
  5. The phred quality of the index read is checked so as every positions is above a defined minimal value. If so reads are written in a sample pass file, else reads are written in a sample fail file.
  6. reads names are written as follow : @Name_in_original_fastq:SAMPLE_BARCODE[:MOLECULAR_BARCODE]
  7. a distribution report is generated

Quade

Dependencies

The program was developed under Linux Mint 17 and was not tested with other OS. In addition to python2.7 the following dependencies are required for proper program execution:

If you have pip already installed, enter the following line to install packages: sudo pip install numpy HTSeq

Get and install Quade

Usage

In the folder where fastq files will be created

Usage: Quade.py -c Conf.txt [-i -h]

Options:
  --version     show program's version number and exit
  -h, --help    show this help message and exit
  -c CONF_FILE  Path to the configuration file [Mandatory]
  -i            Generate an example configuration file and exit [Facultative]

An example configuration file can be generated by running the program with the option -i The possible options are extensively described in the configuration file. The program can be tested from the test folder with the dataset provided and the default configuration file.

cd ./test/result
Quade.py -i
Quade.py -c Quade_conf_file.txt

Additional information

See Blog post Starting a new NGS project with python : Example with a fastq demultiplexer

Authors and Contact