Contents
CatMOD is a CatBoost-based feature-concatenation model for RNA modification recognition from ONT DRS.
CatMOD Project is a python3 package. To use CatMOD, python version 3.9 or higher is required.
- python >= 3.9
- catboost
- h5py
- numpy
- pysam
- rich
- scipy
git clone https://github.com/CatMOD/CatMOD.git
cd CatMOD
conda create -n catmod -y python=3.9
python setup.py install
or
git clone https://github.com/CatMOD/CatMOD.git
cd CatMOD
conda env create -f catmod.yml
or
git clone https://github.com/CatMOD/CatMOD.git
conda create -n catmod -y python=3.9 catboost h5py numpy pysam rich scipy
conda activate catmod
Using Guppy and Tombo processes ONT fast5 files.
guppy_basecaller --input_path $fast5_folder --recursive --fast5_out --save_path $guppy_folder --flowcell $FLOWCELL --kit $KIT --num_callers $THREADS
multi_to_single_fast5 --input_path $guppy_folder --save_path $single_folder --threads $THREADS --recursive
tombo resquiggle --rna --processes $threads --overwrite --fit-global-scale --include-event-stdev $single_folder $REFERENCE
catmod data_process
catmod extract_features --bed $sample_bed --ref $REFERENCE --align $ont_bam --current $ont_current --threads $THREADS --output $datasets_folder
catmod predict --bed $sample_bed --datasets $datasets_folder --model /path/to/CatMOD/models/wheat_pretrained.cbc.cbm --threads $THREADS --output $datasets_folder
For any bugs/issues, please feel free to leave a message at Github issues. We will try our best to deal with all issues as soon as possible.
For any suggestions/comments, please send emails to: Shang Xie xieshang0608@gmail.com, Jingjing Zhai zhaijingjing603@gmail.com.