SegPore: Raw Signal Segmentation for Estimating RNA Modification from Nanopore Direct RNA Sequencing Data
More details on SegPore tutorials.
git clone https://github.com/guangzhaocs/SegPore.git
cd SegPore
conda env create -f environment.yml
conda activate segpore_env
pip3 install git+https://github.com/EGA-archive/ont2cram
# install Guppy
Here we use the WT demo data of xPore.
cd SegPore
wget https://zenodo.org/record/5162402/files/demo.tar.gz
tar -xvf demo.tar.gz
cd scripts
sh 0_data_proc.sh
sh 1_basecalling.sh
sh 1_nanopolish.sh
Step 2: Hierarchical hidden Markov model (HHMM) for signal segmentation
2.1 Firstly, prepare the input of HHMM.
sh 2_hhmm_prepare.sh
2.2 Next, run HHMM on CUDA:
sh 2_hhmm_GPU.sh
2.3 Finally, generate the final output:
sh 2_hhmm_post_proc.sh
sh 3_alignment.sh
Fix the mean of the first component of GMM.
sh 4_gmm.sh
Use the results of GMM to update the 5mer parameter table and iteratively run Step 3 and Step 4.
- Pratanwanich, P.N., Yao, F., Chen, Y. et al. Identification of differential RNA modifications from nanopore direct RNA sequencing with xPore. Nat Biotechnol 39, 1394–1402 (2021). https://doi.org/10.1038/s41587-021-00949-w
- Zhong, ZD., Xie, YY., Chen, HX. et al. Systematic comparison of tools used for m6A mapping from nanopore direct RNA sequencing. Nat Commun 14, 1906 (2023). https://doi.org/10.1038/s41467-023-37596-5