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:

uv pip install umierrorcorrect2

Or standard pip:

pip install umierrorcorrect2

Quick Start

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

umierrorcorrect batch \
    -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):

umierrorcorrect batch \
    -i folder_with_fastq_files/ \
    -r hg38.fa \
    -o results/

For detailed instructions, see the User Guide or run:

umierrorcorrect

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.31.0.tar.gz (60.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.31.0-py3-none-any.whl (70.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: umierrorcorrect2-0.31.0.tar.gz
  • Upload date:
  • Size: 60.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"openSUSE Tumbleweed","version":"20260126","id":null,"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.31.0.tar.gz
Algorithm Hash digest
SHA256 d68f41a61464f20b3e369da9729244ad84562ce7fab42b936ced45d6ec240d26
MD5 f0253882894ea1aba0a2c79e265e83e7
BLAKE2b-256 aa432ecb04b05454173742405708ac8b2e1fc4d6aa45adef01a4d7279e93cb68

See more details on using hashes here.

File details

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

File metadata

  • Download URL: umierrorcorrect2-0.31.0-py3-none-any.whl
  • Upload date:
  • Size: 70.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"openSUSE Tumbleweed","version":"20260126","id":null,"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.31.0-py3-none-any.whl
Algorithm Hash digest
SHA256 785df5e0e91b69f9845003d5865e7b4829d166efd4455ebedd7cbfe902c36df5
MD5 7d4b06134e21b9a96db5144b21271624
BLAKE2b-256 8e981080f955584de3d2c1ea06e1f3a483551a1e454d3dd3c95ebb1769ceb243

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