--- license: gpl-3.0 library_name: pytorch tags: - nanopore - dna-modification - methylation - raw-signal --- # RawMod Pretrained models for **RawMod: Modification-Agnostic Detection of DNA Base Modifications from Nanopore Signal Pileups**. RawMod detects modified DNA bases directly from raw nanopore signals. One model detects 5mC, 5hmC, 6mA, 4mC and 5hmU, and it needs no unmodified control. Paper (bioRxiv preprint): **https://www.biorxiv.org/content/10.64898/2026.11.10.765445v1** Code, installation, usage and full documentation: **https://github.com/STORMgroup/RawMod** Project page: https://bds062.github.io/projects/rawmod/ ## Files | Path | Use | |---|---| | `rawmod.pt` | The released model. Use this one to score new data. | | `region_holdout/` | Models trained without one region of every genome. Used for the accuracy numbers of the paper. `loco_.pt` also withholds one modification type. `seeds/` holds two more training seeds. | | `leaveout/` | Models trained without one organism or library. Used for the paper's supplementary leave-out benchmark. | All files share one architecture (230,697 parameters). They are PyTorch state dictionaries for the code in the GitHub repository. `SHA256SUMS` lists the checksums of every file. ## Download ```bash hf download STORMResearch/RawMod --local-dir checkpoints ``` ## Citation If you use RawMod, please cite our [preprint](https://www.biorxiv.org/content/10.64898/2026.11.10.765445v1): > Bhargav Srinivasan, Sabeena Nazar, Vir Gandhi, Ernest Zhang, Tsvetan Bachvaroff, > Mikhail Kolmogorov, Allen Place, and Can Firtina. > "RawMod: Modification-Agnostic Detection of DNA Base Modifications from Nanopore > Signal Pileups." *bioRxiv* (2026). > [doi:10.64898/2026.11.10.765445](https://doi.org/10.64898/2026.11.10.765445) ```bibtex @article{srinivasan2026rawmod, title = {RawMod: Modification-Agnostic Detection of DNA Base Modifications from Nanopore Signal Pileups}, author = {Srinivasan, Bhargav and Nazar, Sabeena and Gandhi, Vir and Zhang, Ernest and Bachvaroff, Tsvetan and Kolmogorov, Mikhail and Place, Allen and Firtina, Can}, journal = {bioRxiv}, year = {2026}, doi = {10.64898/2026.11.10.765445}, url = {https://www.biorxiv.org/content/10.64898/2026.11.10.765445v1} } ```