Skip to main content

Pipeline for analyzing barcoded amplicon sequencing data with Unique Molecular Identifiers (UMI)

Project description

UMIErrorCorrect2

PyPI version CI codecov Python 3.10+ License: MIT Ruff

A modern, high-performance pipeline for analyzing barcoded amplicon sequencing data with Unique Molecular Identifiers (UMI).

This package is a complete modernization of the original UMIErrorCorrect published in Clinical Chemistry (2022).

Key Features

  • High Performance: Parallel processing of genomic regions and fastp-based preprocessing.
  • Modern Tooling: Built with typer, pydantic, loguru, and hatch.
  • Easy Installation: Fully PEP 621 compliant, installable via pip or uv.
  • Comprehensive: From raw FASTQ to error-corrected VCFs and consensus statistics.
  • Robust: Extensive test suite and type safety.

Dependencies

Mandatory

  • bwa for alignment

Optional

  • fastp for preprocessing
  • fastqc for quality control
  • multiqc for quality control / report aggregation

Fastp is highly recommended, but not mandatory, for preprocessing. If you do not have fastp installed or run with --no-fastp, the pipeline will use cutadapt for adapter trimming only.

The --no-qc flag disables quality control steps. If QC is enabled (default) but fastqc or multiqc are not installed, the pipeline will raise a warning but finish successfully.

Installation

Use uv for lightning-fast installation:

# Installs globally
uv tool install umierrorcorrect2

# Install in your venv
uv pip install umierrorcorrect2

Or standard pip:

pip install umierrorcorrect2

Quick Start

The command-line tool is named umierrorcorrect2. Run the full pipeline on a single sample:

umierrorcorrect2 run \
    -r1 sample_R1.fastq.gz \
    -r2 sample_R2.fastq.gz \
    -r hg38.fa \
    -o results/

Run the pipeline on multiple samples in a folder (searches recursively for FASTQ files):

umierrorcorrect2 run \
    -i folder_with_fastq_files/ \
    -r hg38.fa \
    -o results/

For detailed instructions, see the User Guide or run:

umierrorcorrect2

Documentation

Citation

Osterlund T., Filges S., Johansson G., Stahlberg A. UMIErrorCorrect and UMIAnalyzer: Software for Consensus Read Generation, Error Correction, and Visualization Using Unique Molecular Identifiers, Clinical Chemistry, 2022. doi:10.1093/clinchem/hvac136

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

umierrorcorrect2-0.32.2.tar.gz (61.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

umierrorcorrect2-0.32.2-py3-none-any.whl (71.7 kB view details)

Uploaded Python 3

File details

Details for the file umierrorcorrect2-0.32.2.tar.gz.

File metadata

  • Download URL: umierrorcorrect2-0.32.2.tar.gz
  • Upload date:
  • Size: 61.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for umierrorcorrect2-0.32.2.tar.gz
Algorithm Hash digest
SHA256 6ddc4528c3a1a72c6c14c9e1a63c9689fbe3700d9f4795bd009929ff318b5318
MD5 9aa0724d334b66f654df0d611d8faa9e
BLAKE2b-256 eb7b331b2012cecb75ec5c90b1b5baa9f7ace42f6156b3a9035f4b5f4fb851d1

See more details on using hashes here.

File details

Details for the file umierrorcorrect2-0.32.2-py3-none-any.whl.

File metadata

  • Download URL: umierrorcorrect2-0.32.2-py3-none-any.whl
  • Upload date:
  • Size: 71.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for umierrorcorrect2-0.32.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5acccad575590e13b0ce42f9a876b3a46a61e7da621d2e94275a9f15306a08e8
MD5 928851aa7c516f84540f2045f2de68e3
BLAKE2b-256 993eedece36cc589e9c40c3a97912a0018525810d42ea0d4b4d73bc2b2917fd0

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