No project description provided
Project description
nanoMD
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
- Python 3.8+
- Python modules:
- pandas
- numpy
- scipy
- sklearn
- matplotlib
- seaborn
- pysam
- minimap2
- samtools
- bedtools
nanoMD modules
nanomd.py is the main module of nanoMD, which includes the following sub-modules:
- gene
- count
- polyA
- matrix
- detectMod
- nascentRNA
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 count
Usage
nanomd count -i ../input/{}/pass.fq.gz -r ../reference/fasta/transcripts.fa -o ./{}_transcripts.sam
nanomd polyA
Usage
nanomd polyA -i ./pass.fq.gz --transcriptome=$ref -o . -p Ctrl-1
nanomd matrix
Usage
nanomd matrix -i "*_polyA.tsv" -c "WT1_polyA.tsv,WT2_polyA.tsv" -p polyA -s human -t polyA --docker
nanomd matrix -i "*_quant" -c "NC1_quant,NC2_quant,NC3_quant,NC4_quant,NC5_quant" -p salmon -s human --docker
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 {}
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:
- Install conda
- Create a new conda environment:
conda create -n nanomd python=3.12 - Activate the environment:
conda activate nanomd - Install the required packages:
conda install -c bioconda minimap2 samtools bedtools - Install the required python packages:
pip install pandas numpy scipy sklearn matplotlib seaborn pysam - Clone the nanoMD repository:
git clone https://github.com/LegendZDY/nanoMD.git - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nanomd-0.4.5.tar.gz.
File metadata
- Download URL: nanomd-0.4.5.tar.gz
- Upload date:
- Size: 25.2 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
089834f53a3f6dff41ba251d7dd1e5118449799dc483cbd28eeb3838f588ac7b
|
|
| MD5 |
ca222d2c9016f60cb4e7ba9ddf761d41
|
|
| BLAKE2b-256 |
9f94cf9bce30d099ddb43ce7c352101694cefead3112c99a7aace14179a720d7
|
File details
Details for the file nanomd-0.4.5-py3-none-any.whl.
File metadata
- Download URL: nanomd-0.4.5-py3-none-any.whl
- Upload date:
- Size: 37.6 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03f96138cc9678df2bb96fdec7c6a0994ef285708cddd38b751c8fc44a8a099c
|
|
| MD5 |
f4394b383f43fe32a304ef019eef84c1
|
|
| BLAKE2b-256 |
9df059c3873453acbecdd73b35a045695d83b0a22d1740e6e48b64ef38cdca1e
|