DeepChopper 
🧬 DeepChopper leverages a language model to accurately detect and chop artificial sequences that may cause chimeric reads, ensuring higher quality and more reliable sequencing results. By integrating seamlessly with existing workflows, DeepChopper provides a robust solution for researchers and bioinformaticians working with Nanopore direct-RNA sequencing data.
✨ What's New in v1.3.0
- 🚀 Direct FASTQ Processing: No more encoding step! DeepChopper now works directly with FASTQ files
- ⚡ Simplified Workflow: Go from raw data to results in just 2 commands (
predict→chop) - 📦 Auto-format Detection: Automatically handles
.fastq,.fq,.fastq.gz, and.fq.gzfiles - ⚠️ Breaking Change: The
encodecommand has been removed - update your pipelines accordingly
📘 FEATURED: We provide a comprehensive tutorial that includes an example dataset in our full documentation.
🚀 Quick Start: Try DeepChopper Online
Experience DeepChopper instantly through our user-friendly web interface. No installation required! Simply click the button below to launch the web application and start exploring DeepChopper's capabilities:
What you can do online:
- 📤 Upload your sequencing data
- 🔬 Run DeepChopper's analysis
- 📊 Visualize results
- 🎛️ Experiment with different parameters
Perfect for quick tests or demonstrations! However, for extensive analyses or custom workflows, we recommend installing DeepChopper locally.
⚠️ Note: The online version is limited to one FASTQ record at a time and may not be suitable for large-scale projects.
📦 Installation
DeepChopper can be installed using pip, the Python package installer. Follow these steps to install:
-
Ensure you have Python 3.10 or later installed on your system.
-
Create a virtual environment (recommended):
python -m venv deepchopper_env source deepchopper_env/bin/activate # On Windows use `deepchopper_env\Scripts\activate`
-
Install DeepChopper:
pip install deepchopper
-
Verify the installation:
deepchopper --help
Compatibility and Support
DeepChopper is designed to work across various platforms and Python versions. Below are the compatibility matrices for PyPI installations:
PyPI Support
| Python Version | Linux x86_64 | macOS Intel | macOS Apple Silicon | Windows x86_64 |
|---|---|---|---|---|
| 3.10 | ✅ | ✅ | ✅ | ✅ |
| 3.11 | ✅ | ✅ | ✅ | ✅ |
| 3.12 | ✅ | ✅ | ✅ | ✅ |
🆘 Trouble installing? Check our Troubleshooting Guide or open an issue.
🛠️ Usage
For a comprehensive guide, check out our full tutorial. Here's a quick overview:
Command-Line Interface
🎉 New in v1.3.0: DeepChopper now works directly with FASTQ files! No encoding step required.
DeepChopper offers two main commands: predict and chop.
-
Predict chimera artifacts directly from FASTQ:
deepchopper predict input.fastq --output predictions
Using GPUs? Add the
--gpusflag:deepchopper predict input.fastq --output predictions --gpus 2
Supports all FASTQ formats:
.fastq,.fq,.fastq.gz,.fq.gz -
Chop chimera artifacts:
deepchopper chop predictions/0 input.fastq
Want a GUI? Launch the web interface (note: limited to one FASTQ record at a time):
deepchopper web
Python Library
Integrate DeepChopper into your Python scripts:
import deepchopper
model = deepchopper.DeepChopper.from_pretrained("yangliz5/deepchopper")
# Your analysis code here
📚 Cite
If DeepChopper aids your research, please cite our paper:
@article{li2026genomic,
title = {Genomic Language Model Mitigates Chimera Artifacts in Nanopore Direct {{RNA}} Sequencing},
author = {Li, Yangyang and Wang, Ting-You and Guo, Qingxiang and Ren, Yanan and Lu, Xiaotong and Cao, Qi and Yang, Rendong},
date = {2026-01-19},
journaltitle = {Nature Communications},
shortjournal = {Nat Commun},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-68571-5},
url = {https://www.nature.com/articles/s41467-026-68571-5},
urldate = {2026-01-20}
}
🤝 Contribution
We welcome contributions! Here's how to set up your development environment:
Build Environment
git clone https://github.com/ylab-hi/DeepChopper.git
cd DeepChopper
# Install dependencies
uv sync
# Run DeepChopper
uv run deepchopper --help
🎉 Ready to contribute? Check out our Contribution Guidelines to get started!
🔗 Related Projects
- ChimeraLM - Identify artificial chimeric reads from whole genome amplification (WGA) processes
📬 Support
Need help? Have questions?
- 📖 Check our Documentation
- 🐛 Report issues
DeepChopper is developed with ❤️ by the YLab team. Happy sequencing! 🧬🔬
Metadata
Release files for deepchopper 1.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deepchopper-1.3.3.tar.gz | 58.8 MB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| deepchopper-1.3.3-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| deepchopper-1.3.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| deepchopper-1.3.3-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
| deepchopper-1.3.3-cp310-abi3-macosx_10_12_x86_64.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 83.4 MB
Release files / deepchopper-1.3.3.tar.gz
| Download URL | deepchopper-1.3.3.tar.gz |
|---|---|
| Size | 58.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ceaed4fd0749ad06ed8277eaac11016ce996aba0ff22f14889c9805e0b5ce04e
|
|
BLAKE2b-256 checksum How to use checksums |
269634b176dc31328ad33ec9d044d249aa1760f726bad22c3ebb9cc314c69df6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.13.1
|
Release files / deepchopper-1.3.3-cp310-abi3-win_amd64.whl
| Download URL | deepchopper-1.3.3-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 5.8 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
7b123c4934ceec3c537db1699771d660aed5cee4c86edc6ad3f73027716d8a8b
|
|
BLAKE2b-256 checksum How to use checksums |
47cf2bccde4e9ded4e89bbe2d31ad78989b695e26cea620cb55b5699e287a666
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.13.1
|
Release files / deepchopper-1.3.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | deepchopper-1.3.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 6.6 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
313046446307bdbd7ee752a67005a50198f24e12a125fc73d10a90a5ae728492
|
|
BLAKE2b-256 checksum How to use checksums |
0b8e60a837c232d0721c1083796db508caf1170c1d182719fab460d5d808ee06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.13.1
|
Release files / deepchopper-1.3.3-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | deepchopper-1.3.3-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 5.8 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b977c9bfff830ab324bc6ff09e791410059b6804b8a210ac7ccdc0c0f3ed0527
|
|
BLAKE2b-256 checksum How to use checksums |
6fc4475120ba20e3ab61424a32b082018ea04fb2e7a3b31762c94a68c3f4e2ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.13.1
|
Release files / deepchopper-1.3.3-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | deepchopper-1.3.3-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 6.3 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
a6d7e99f905710adbf0915dca25e8e82ead7f49fc214141e7f18cb90a7a3786d
|
|
BLAKE2b-256 checksum How to use checksums |
fbb0e0a5cb0ac93574bef7b61dade534dcff5ba65e5f94aeefcf30a39d2ecfc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.13.1
|