DeepChopper: Chimera Detection for Nanopore Direct RNA Sequencing
DeepChopper is a genomic language model designed to accurately detect and remove chimera artifacts in Nanopore direct RNA sequencing data. It uses a HyenaDNA backbone with a token classification head to identify artificial adapter sequences within reads.
Model Details
Model Description
DeepChopper leverages the HyenaDNA-small-32k backbone, a genomic foundation model, combined with a specialized token classification head to detect chimeric artifacts in nanopore direct RNA sequencing reads. The model processes both sequence information and base quality scores to make accurate predictions.
Loss Function: Continuous Interval Loss (CrossEntropyLoss with no penalty)
Framework: PyTorch Lightning
Training Hyperparameters
Learning Rate: 0.0002
Batch Size: Configured per experiment
Weight Decay: 0
Backbone: Fine-tuned (not frozen)
Evaluation
Testing Data & Metrics
The model is evaluated on held-out test sets using:
F1 Score (primary metric)
Precision
Recall
Results
DeepChopper significantly improves downstream analysis quality by accurately removing chimeric artifacts that would otherwise confound transcriptome analyses.
How to Use
Installation
pip install deepchopper
Python API
python
1import deepchopper
23# Load the pretrained model4model = deepchopper.DeepChopper.from_pretrained("yangliz5/deepchopper-rna004")56# The model is ready for inference7# Use with deepchopper's predict pipeline
Platform-specific: Optimized for Nanopore direct RNA sequencing
Read length: Best performance on reads up to 32k bases (model context window)
Species: Trained primarily on human RNA sequences
Computational requirements: GPU recommended for large datasets
Citation
If you use DeepChopper in your research, please cite:
bibtex
1@article{Li2024.10.23.619929,
2 author = {Li, Yangyang and Wang, Ting-You and Guo, Qingxiang and Ren, Yanan and Lu, Xiaotong and Cao, Qi and Yang, Rendong},
3 title = {A Genomic Language Model for Chimera Artifact Detection in Nanopore Direct RNA Sequencing},
4 year = {2024},
5 doi = {10.1101/2024.10.23.619929},
6 journal = {bioRxiv}
7}