# 🚀 Quickstart * For demonstration purposes, you can use examples POD5 and BAM files provided in the `examples` directory of the repository. * You can also use your own POD5 and BAM files. ## RNA Modification Detection * Estimated time: ~1 hours 1️⃣ **Prepare data** ```bash deeprm call prep -p inference_example.pod5 -b inference_example.bam -o ``` * (Alternative) To supply your own POD5 file: ```bash dorado basecaller --reference --min-qscore 0 --emit-moves rna004_130bps_sup@v5.0.0 \ | tee >(samtools sort -@ -O BAM -o - && samtools index -@ ) \ | deeprm call prep -p -b - -o ``` * If Dorado fails due to "illegal memory access", try adding `--chunksize ` option (e.g., chunk_size=12000). 2️⃣ **Run inference** ```bash deeprm call run -b inference_example.bam -i -o -s 1000 ``` * Adjust the `-s` (batch size) parameter according to your GPU memory capacity (default: 10000). * Expected output file: * Site-level detection result file (.bed) * Molecule-level detection result file (.npz) ## Model Training * Estimated time: ~1 hours 1️⃣ **Prepare unmodified & modified training data** ```bash deeprm train prep -p training_a_example.pod5 -b training_a_example.bam -o /a deeprm train prep -p training_m6a_example.pod5 -b training_m6a_example.bam -o /m6a ``` 2️⃣ **Compile training data** ```bash deeprm train compile -n /a/data -p /m6a/data -o /compiled ``` 3️⃣ **Run training** ```bash deeprm train run -d /compiled -o --batch 64 ``` * Adjust the `--batch` parameter according to your GPU memory capacity (default: 1024). * Expected output file: * Trained DeepRM model file (.pt)