Skip to main content

Several useful tools for manipulating FASTQ files.

Project description

# fqutils

A couple Python-based FASTQ QC tools that perform several useful file handling operations, notably check read-pairing, repair read-pairing, and trim reads. Notably, fq-repair is the only tool (to my knowledge) that can successfully re-pair reads from gzipped FASTQ input. All tools are designed to be as fast and memory-efficient as possible. Input is assumed to be 4-line FASTQ and may be gzipped.

## Installation and tests

fqutils has no dependencies aside from the Python 3 standard library (if this Python is installed, things will work). Just clone the repository with with git clone https://github.com/jstaf/fqutils.git. Clever users will also note that this repository can be installed as a python package with pip install .

To run tests: pytest

## Current scripts

Run commandname –help for individual usage instructions. Sample commands can also be found in the tests/ directory.

  • fq-checkpair - Check if two FASTQ files are properly paired and highlight errors.

  • fq-trim - Starting from both ends, trim a read so that bases below a certain Phred quality score are removed. Resulting reads shorter than a minimum length are removed. Fast, dirty, and idiot-proof trimming.

  • fq-repair - Re-pair the reads in two FASTQ files if reads have been filtered out or otherwise reordered.

  • fq-zwc - Just a wrapper around wc -l for gzipped files.

Project details


Download files

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

Source Distribution

fqutil-1.1.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file fqutil-1.1.tar.gz.

File metadata

  • Download URL: fqutil-1.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fqutil-1.1.tar.gz
Algorithm Hash digest
SHA256 86714a4993871b16cc9a3f7509c6a2e7166f89086aa383af2569f971a3749ce6
MD5 f623dced6d82b47dc977c1d5e6c1a835
BLAKE2b-256 b1324cbbbd20dfa1a9bc11dc9edc59fb3709bbf6c12add4c660be3caca14006f

See more details on using hashes here.

Supported by

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