ChimeraLM
A language model enables accurate structural variant detection in whole-genome amplified long-read sequencing
Installation • Quick Start • Web Demo • Documentation • Citation
A deep learning-powered tool to identify chimeric artifacts introduced by whole genome amplification (WGA).
🌐 Try it Online
No installation required! Try ChimeraLM instantly in your browser:
🤗 Launch Web Demo on Hugging Face Spaces
Perfect for:
- 🧪 Testing with individual sequences
- 📊 Visualizing prediction confidence scores
- 🎓 Learning about chimeric artifact detection
- 🔬 Quick validation before batch processing
For production use with BAM files and batch processing, install the CLI tool below.
Installation
pip install chimeralm
Requirements: Python 3.10, 3.11 and 3.12
For GPU support, installation instructions, and troubleshooting, see the Installation Guide.
Quick Start
# Predict chimeric reads (CPU)
chimeralm predict your_data.bam
# Predict with GPU acceleration
chimeralm predict your_data.bam --gpus 1 --batch-size 24
# Filter BAM to remove chimeric reads
chimeralm filter your_data.bam your_data.predictions
Output:
- Predictions: Tab-separated file with read names and labels (0=biological, 1=chimeric)
- Filtered BAM:
{input}.filtered.sorted.bamwith chimeric reads removed
Need more help? See the Quick Start Tutorial for a complete walkthrough.
Documentation
Full documentation is available at ylab-hi.github.io/ChimeraLM
Key Resources:
- Installation Guide - Setup with pip, conda, uv, or from source
- Quick Start Tutorial - Your first prediction in 15 minutes
- CLI Reference - Complete command documentation
- BAM Filtering Tutorial - Comprehensive filtering guide
- Performance Optimization - Speed up your analysis
- Troubleshooting - Common issues and solutions
Features
- 🌐 Interactive Web Demo: Try it online at HuggingFace Spaces - no installation needed!
- 🎯 High Accuracy: Deep learning model trained on real WGA data
- ⚡ GPU Accelerated: Optimized for CUDA, MPS (Apple Silicon), and CPU
- 🚀 Easy to Use: Simple CLI with sensible defaults
- 📦 Fast Processing: Batch inference with configurable parallelism
- 🖥️ Local Web Interface: Run the web UI locally with
chimeralm ui - 🏭 Production Ready: Includes filtering, sorting, and indexing of BAM files
Related Projects
- DeepChopper - Identify chimera artifacts induced by internal adapter sequences in Nanopore direct RNA sequencing
Contributing
Contributions are welcome! See our Contributing Guide for development setup and guidelines.
Citation
If you use ChimeraLM in your research, please cite:
@software{chimeralm2025,
title={ChimeraLM: A genomic language model to identify chimera artifacts},
author={Li, Yangyang and Guo, Qingxiang and Yang, Rendong},
year={2025},
url={https://github.com/ylab-hi/ChimeraLM}
}
License
Apache License 2.0 - see LICENSE for details.
Metadata
Release files for chimeralm 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| chimeralm-1.0.5.tar.gz | 12.6 MB | Without provenance | Details for chimeralm-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chimeralm-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for chimeralm-1.0.5-py3-none-any.whl |
Total release size: 12.7 MB
Release files / chimeralm-1.0.5.tar.gz
| Download URL | chimeralm-1.0.5.tar.gz |
|---|---|
| Size | 12.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
054688bf0e871e15ddb5ae5b7469308cb9ec32bc64c6a9cde20d71015c8ad461
|
|
BLAKE2b-256 checksum How to use checksums |
72e814c3a8db423f9f1982c3d9b288a769507a48d6e2c34539c2f824800205bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / chimeralm-1.0.5-py3-none-any.whl
| Download URL | chimeralm-1.0.5-py3-none-any.whl |
|---|---|
| Size | 60.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a39d04d426845ccdf57075c6591ea421f024a2c6818d0bcdc56031b93a5bde3
|
|
BLAKE2b-256 checksum How to use checksums |
bb0ed5b0abc43f1ad481614e589acc44916f5f67e0a81d3c5ec65c13c2c8b576
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for chimeralm 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.