CLI for DeepChopper: A Genomic Language Model for Chimera Artifact Detection
Project description
DeepChopper
🧬 DeepChopper leverages language model to accurately detect and chop artificial sequences which 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 bioinformatics working with NanoPore direct-RNA sequencing data.
🚀 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
DeepChopper offers three main commands: encode
, predict
, and chop
.
-
Encode your input data:
deepchopper encode <input.fq>
-
Predict chimeric reads:
deepchopper predict <input.parquet> --output predictions
Using GPUs? Add the
--gpus
flag:deepchopper predict <input.parquet> --output predictions --gpus 2
-
Chop the chimeric reads:
deepchopper chop <predictions> raw.fq
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:
🤝 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
conda env create -n environment.yaml
conda activate deepchopper
Install Dependencies
pip install pipx
pipx install --suffix @master git+https://github.com/python-poetry/poetry.git@master
poetry@master install
🎉 Ready to contribute? Check out our Contribution Guidelines to get started!
📬 Support
Need help? Have questions?
- 📖 Check our Documentation
- 🐛 Report issues
DeepChopper is developed with ❤️ by the YLab team. Happy sequencing! 🧬🔬
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file deepchopper_cli-1.2.5.tar.gz
.
File metadata
- Download URL: deepchopper_cli-1.2.5.tar.gz
- Upload date:
- Size: 69.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc5ceaf204f82eeae1b82488ee44d020c66b0df13d27a86658ed86a7b1774dbb |
|
MD5 | cc9d019bdb00706b37c1d9493903fdcb |
|
BLAKE2b-256 | eaaf48a678004dcc5e6ebf0c1983ddb44e5a2b9386b2d06acd0a7fbfe9400b23 |
File details
Details for the file deepchopper_cli-1.2.5-cp312-none-win_amd64.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp312-none-win_amd64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15b5be0688f3a82be2d63599e414855b223f7c0dc9d8bc94f000129714c8e521 |
|
MD5 | 7803d95d12205a00b78fb9f80efae66c |
|
BLAKE2b-256 | f7f7620e4c1b0179b6c11aad956db1522c1198cb42f4b2d52b90b67d98e87de0 |
File details
Details for the file deepchopper_cli-1.2.5-cp312-none-win32.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp312-none-win32.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.12, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28103e13a18d93855d472da8085439722a00276643c921e5fb508b622fad426b |
|
MD5 | 9407f4fcaff02054d9ca09f4362cf9f1 |
|
BLAKE2b-256 | 228edae3df5b205a2735fc8ab5c8868559434475465fa2c71306ebadef339ae0 |
File details
Details for the file deepchopper_cli-1.2.5-cp312-cp312-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b607d06052e9bc58f2018ed95586214e87d6044507d314812aa6ef6e630b10b |
|
MD5 | 416bf1704fcb3e4795651a473b3b8094 |
|
BLAKE2b-256 | 3cadcead35d08c28245d65d0ea4007d1a85f0dc2ae5e20642aaf951d4baba901 |
File details
Details for the file deepchopper_cli-1.2.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afb42881a1412cac9cdcb07e1bb320b9da2ad804a0cb99fec58368f16df0291f |
|
MD5 | b498df8542a605f23173a1831b7946ca |
|
BLAKE2b-256 | b95b0072ecf9bbbacc9645ef87ad7258c73fc7018217d6249465eaaa39afce21 |
File details
Details for the file deepchopper_cli-1.2.5-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38bd26462fff008b8eeb54e9186adeac052364c6002f4676b21668702bb5e54e |
|
MD5 | 50150eb7b6de5ee0dd73d38d375c229e |
|
BLAKE2b-256 | 13cbbba734e63896dd2199584393bad130f86e372b0d8704cdbc9aaf991ecf61 |
File details
Details for the file deepchopper_cli-1.2.5-cp312-cp312-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp312-cp312-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.12, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e351491c9ed974363c2ad31128d919f4888fad982540c9af015c3dda4c6a5cd2 |
|
MD5 | c69346255c3bda5b6aeda4cc080b7cc4 |
|
BLAKE2b-256 | 4b5850345dacea2838242f6ee67aeacaf1a9cf4c048c6f8789f8ad7886f77eae |
File details
Details for the file deepchopper_cli-1.2.5-cp311-none-win_amd64.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp311-none-win_amd64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | caed5a046f98edd213b3e2a244f1bd09d7a75c226b0dc22a65d9031a04b3e751 |
|
MD5 | f942182d475f98c12d35b6adde8daff1 |
|
BLAKE2b-256 | 7463f5e57b370db2ea47548d7e25cd540f1dd8bc5fc4ca4973da9da32495ace2 |
File details
Details for the file deepchopper_cli-1.2.5-cp311-none-win32.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp311-none-win32.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.11, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c331528b511129f8a12a5956aff0556eb60ad7fc42ce89df7a7a36f0d281271f |
|
MD5 | f38ab751b1403c7387c663b1aa3fe249 |
|
BLAKE2b-256 | 4045f858e6d4df4937c494c9ebc9ecc77858e23d7e493e791cdbb403ce5fcf54 |
File details
Details for the file deepchopper_cli-1.2.5-cp311-cp311-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f4a134131bfae0732742455ba8c91c8b54b3f4bdb2f7bb9a8c5c4187c2bf683 |
|
MD5 | a796af6a593797988fa09a4cc8eb5e17 |
|
BLAKE2b-256 | 5da68ebb025433f9c99b7ae53636d7948f817249f5dffd07f964b34d39231b96 |
File details
Details for the file deepchopper_cli-1.2.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75a32f84a48b9b580a6f166e7374bfbbc5f033e76fc6ff93c3fee28c2186b98a |
|
MD5 | ccf1c91dbb798a71dd9f99c480656877 |
|
BLAKE2b-256 | f6f2db62b674aa1e39d0d78ad2c9086d4864369f49f61be30375b0c1b04cf10f |
File details
Details for the file deepchopper_cli-1.2.5-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06adf2aa774411268b2c5bf7cb7c96f28d8e0641827ba19950958d6b1841ad75 |
|
MD5 | 102a5bf1fb88e9c9c7e17c3ed7171f18 |
|
BLAKE2b-256 | d60120ea86b43bf8d3aed274462c5661a33f1bc39108f8f0ed0f9a29cf84fdf8 |
File details
Details for the file deepchopper_cli-1.2.5-cp311-cp311-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp311-cp311-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.11, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ebe40c48e2f4a4ef1216ec6101988d54af3c5b7a261dbcb66c7a4907e28b41d |
|
MD5 | 0571a297c4b1cc990ccdb5815b446f04 |
|
BLAKE2b-256 | d9a96e6a20dbe9c3a6e7c29f7f84635206c5e81354827c8772e0a61dfc6d91df |
File details
Details for the file deepchopper_cli-1.2.5-cp310-none-win_amd64.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp310-none-win_amd64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cc2384bde8c4ec571ec50f553978775c428e0965888e95f47bbad7f5b064878 |
|
MD5 | 5fb192386dd5606047514fdbf7274ca1 |
|
BLAKE2b-256 | 49eda866d4bc5b7baf29881a1846acdd5dc0ac926b2c681e3c6f80e7184607b7 |
File details
Details for the file deepchopper_cli-1.2.5-cp310-none-win32.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp310-none-win32.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4b6e4118330e60bc503fd313bfb5dad62cad544e6c038415578f1ec4f6c4769 |
|
MD5 | 4a692a664c268fb5e12cf5a993dbbf93 |
|
BLAKE2b-256 | c632205df9e8b6cc345836a7757942cb3b00172e97fbb56f8df3eb45ca1f5947 |
File details
Details for the file deepchopper_cli-1.2.5-cp310-cp310-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45cdcc29dc285cf3ce8f3907feb5cd9ef4020c3a4c5405a9ad58916d5202552c |
|
MD5 | 3e01a1075cab8d0b6447f3e769a6c649 |
|
BLAKE2b-256 | 3cefb2e78f06502ff30f7864345077587908c00f76eb66f34e85f472daa5b9cc |
File details
Details for the file deepchopper_cli-1.2.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b49cbe951b927cf10eecc92944d3e42f7bc7c5aa82cb12be237b50b4563f7fb |
|
MD5 | 4b6db092232aad4f9b87f930278617cb |
|
BLAKE2b-256 | f43eb13afb2a4a85c09014f407f055b85c5a547bef86b76d9d90f67a32bea970 |
File details
Details for the file deepchopper_cli-1.2.5-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37c548588af24fd76034ae42df7c98f0929ed48e2f68fee1c8465fc21ea68d82 |
|
MD5 | 5d062cdb900f0688c3bd2e4cb2640763 |
|
BLAKE2b-256 | 6ae423a5e61edf3c8f274139d1a93624f3865a2c9a1be4cff73c898ed9bb23b1 |
File details
Details for the file deepchopper_cli-1.2.5-cp310-cp310-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: deepchopper_cli-1.2.5-cp310-cp310-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.10, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78a0f8c853b2f0d99dbc680d4d96726e632328a7ea0783d454366a8b55d184f8 |
|
MD5 | b39c84cc5fc72f53b6e86ae012cd6ae5 |
|
BLAKE2b-256 | 62be755edb0a3cdf1bfd80c5f8ec93d91c72f7d2ad5a92cf063d653ba1cb8102 |