Skip to main content

Extract Methylation calls from ONT or PB long read data

Project description

LoReMe pipeline

TODO: make a 'loreme clean' subcommand to remove downloads before uninstalling

LoReMe (Long Read Methylaton) is a Python package facilitating analysis of DNA methylation signals from Pacific Biosciences or Oxford Nanopore long read sequencing data.

It consists of an API and CLI for three distinct applications:

  1. Pacific Biosciences data processing. PB reads in SAM/BAM format are aligned to a reference genome with the special-purpose aligner pbmm2, a modified version of minimap2. Methylation calls are then extracted from the aligned reads by pb-CpG-tools.

  2. Oxford nanopore basecalling. ONT reads are optionally converted from FAST5 to POD5 format, then basecalled and aligned to a reference with dorado. (dorado alignment also uses minimap2 under the hood).

  3. Postprocessing and QC of methylation calls. Several functions are available to generate diagnostic statistics and plots.

See also the full documentation.

Other tools of interest: methylartist and modbamtools (modbamtools docs), methplotlib

Installation

Conda

The recommended way to install loreme is with a dedicated conda environment:

First create an environment including all dependencies:

conda create -n loreme -c conda-forge -c bioconda pbmm2 urllib3 \
  pybedtools gff2bed seaborn pyfaidx psutil gputil tabulate \
  cython h5py iso8601 more-itertools polars tqdm
conda activate loreme

Then install with pip:

pip install loreme

Alternatively, install from the git repo:

git clone https://gitlab.com/salk-tm/loreme.git
cd loreme
pip install .

You may also wish to install nvtop to monitor GPU usage:

conda install -c conda-forge nvtop

Check installation

Check that the correct version was installed with loreme --version

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

loreme-0.1.1.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

loreme-0.1.1-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

Details for the file loreme-0.1.1.tar.gz.

File metadata

  • Download URL: loreme-0.1.1.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for loreme-0.1.1.tar.gz
Algorithm Hash digest
SHA256 49e7f96cca85d89262675167a1f97661a9e766a99be1d361b2c12e78be3cd52c
MD5 805494ac205cd3c4eb7291361079081e
BLAKE2b-256 1cf6435f867e800931019f7f101fe52e49719cc9d731809d45343cb15ddc7f5d

See more details on using hashes here.

File details

Details for the file loreme-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: loreme-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for loreme-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 15269c6420f8b9bdc300141b3be7a09a63c10af7c84dc9c3f8d39135346e7854
MD5 47351e54fb1214630c1ad9272575c025
BLAKE2b-256 a9621254e4e296f358f6e7bafc170558b4baec03dfd2bf4083bbcffbc21a6d8f

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