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.2.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

loreme-0.1.2-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: loreme-0.1.2.tar.gz
  • Upload date:
  • Size: 21.9 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.2.tar.gz
Algorithm Hash digest
SHA256 20b3c4b7779f95af1530761539e668940a1d1d6409e25fbfdd77b838adb9847a
MD5 c41d4faf1ee3c2a788ae81afe9510968
BLAKE2b-256 66aee28bd97139123c221bae4f72087e274214babc8718d93bd6e899c5c0f515

See more details on using hashes here.

File details

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

File metadata

  • Download URL: loreme-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 30.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1141c69b4e7d6762a9dedab1d2b2f849798ef78af84beef144b7be8d635df174
MD5 bbaa811cce03a2c78f65a961683ebefc
BLAKE2b-256 115b14e2529d9f207d560471af6540114192cd1997c03577d5aeb680dda1df7f

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