Skip to main content

No project description provided

Project description

nanoMD

nanoMD(Nanopore direct RNA sequencing Multi-dimensional analysis) was developed to synchronously analyze the changes in m6A sites, genes, and isoforms, and new mRNA.

Overview

nanoMD is designed to work with the output of the ONT direct RNA sequencing platform and can be used to identify new m6A sites, genes, and isoforms, as well as detect and quantify new mRNA.

It is recommended to use the docker or conda environment to run the pipeline.

Requirements

  1. Python 3.8+
  2. Python modules:
    • pandas
    • numpy
    • scipy
    • sklearn
    • matplotlib
    • seaborn
    • pysam
  3. minimap2
  4. samtools
  5. bedtools

nanoMD modules

nanomd.py is the main module of nanoMD, which includes the following sub-modules:

  • gene
  • isoform
  • matrix
  • detectMod
  • nascentRNA
  • polyA

nanomd gene

Usage

nanomd gene -i ../input/{}/pass.fq.gz -r ../reference/fasta/genome.fa -o ./{}_gene.sam --parms '--secondary=no --cs -a --sam-hit-only'

nanomd isoform

Usage

nanomd isoform -i ../input/{}/pass.fq.gz -r ../reference/fasta/transcripts.fa -o ./{}_transcripts.sam

nanomd matrix

Usage

nanomd matrix -i "*_polyA.tsv" -c "WT1_polyA.tsv,WT2_polyA.tsv" -t polyA

nanomd matrix -i "*_quant" -c "NC1_quant,NC2_quant,NC3_quant,NC4_quant,NC5_quant" -t salmon

nanomd detectMod

Usage

nanomd detectMod -i ../input/{}/pass.fq.gz -s ../01_map_gene/{}_gene.sam -b ../reference/genes/genes.bed -r ../reference/genes/region_sizes.txt -p {}

nanomd nascentRNA

Usage

nanomd nascentRNA -i ../input/{}/pass.fq.gz -s ../01_map_gene/{}_gene.sam -r ../reference/fasta/transcripts.fa -m ~/soft/newRNA.pkl -p {}

nanomd polyA

Usage

nanomd polyA -i ./pass.fq.gz --transcriptome=$ref -o . -p Ctrl-1

Scripts

We provide a set of standalone scripts for 5EU detection and quantification.

detect5EU.py

This script detects 5' untranslated regions (5EU) from the ONT direct RNA sequencing data.

Usage

python detect5EU.py -i sample.fastq -o 5EU.bed

Docker

If the user has docker installed, the following command can be used to run the pipeline in a docker container:

docker run -v /path/to/data:/data -it nanomd/nanomd:latest /bin/bash

Conda Environment

If the user has conda installed, the following command can be used to create a conda environment for nanoMD:

  1. Install conda
  2. Create a new conda environment: conda create -n nanomd python=3.12
  3. Activate the environment: conda activate nanomd
  4. Install the required packages: conda install -c bioconda minimap2 samtools bedtools
  5. Install the required python packages: pip install pandas numpy scipy sklearn matplotlib seaborn pysam
  6. Clone the nanoMD repository: git clone https://github.com/LegendZDY/nanoMD.git
  7. Run the pipeline: nanomd gene -i ../input/{}/pass.fq.gz -r ../reference/fasta/genome.fa -o ./{}_gene.sam --parms '--secondary=no --cs -a --sam-hit-only'

Cite nanoMD

If you use nanoMD in your research, please cite the following paper:

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

nanomd-0.4.4.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

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

nanomd-0.4.4-py3-none-any.whl (35.5 kB view details)

Uploaded Python 3

File details

Details for the file nanomd-0.4.4.tar.gz.

File metadata

  • Download URL: nanomd-0.4.4.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.8 Linux/5.15.0-143-generic

File hashes

Hashes for nanomd-0.4.4.tar.gz
Algorithm Hash digest
SHA256 041c8ce1bdb67afa69ee5e35223dbd91f48663ce29470ed79ece4d08dfb98ff8
MD5 44c092e50cff2fff62903d463f87a5d7
BLAKE2b-256 b047d90a06749e3eb910b2374abb96a9d41068e404e82303b5746292b08f1f0f

See more details on using hashes here.

File details

Details for the file nanomd-0.4.4-py3-none-any.whl.

File metadata

  • Download URL: nanomd-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 35.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.8 Linux/5.15.0-143-generic

File hashes

Hashes for nanomd-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3c2523a3ceed27f702a5cc2a7e63388307b3bc7aed49ead0851174b8445a729f
MD5 4e61336a8b652e17a61183b72638662d
BLAKE2b-256 6d9e2e33b6d641c1c51528337eafb88e0b1653cbe6915582a93d2629c91b5b25

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