Metadata-Version: 2.4
Name: viro-drift
Version: 0.1.0
Summary: Adaptive divergent viral discovery via 6-frame protein seed baiting and local micro-assembly
Author-email: "Molecular Plant Pathology Lab, ICAR-Indian Sugarcane Research Institute" <shwetabac@gmail.com>
Maintainer-email: "Dr. Shweta Singh" <shwetabac@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/molecularplantpathology/Virome-Suite
Project-URL: Repository, https://github.com/molecularplantpathology/Virome-Suite.git
Project-URL: Issues, https://github.com/molecularplantpathology/Virome-Suite/issues
Keywords: virome,metagenomics,virus-discovery,plant-pathology,bioinformatics
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: biopython>=1.81
Requires-Dist: numpy>=1.24.0
Dynamic: license-file

# viro-drift

**Adaptive Divergent Viral Pathogen Discovery via 6-Frame Catalytic Seed Baiting & Local Micro-Assembly**

Part of the [Virome-Suite](https://github.com/molecularplantpathology/Virome-Suite) ecosystem developed at the **Molecular Plant Pathology Lab, ICAR-Indian Sugarcane Research Institute**.

## Key Features
- **Evidence-Preserving Host Read Partitioning:** Separates host-concordant reads, ambiguous host-viral chimeric bridges (preserved for downstream integration checks), and unmapped viral candidates.
- **Low-Complexity & Homopolymer Shield:** Sliding-window nucleotide Shannon entropy masking ($H < 1.20\text{ bits}$) with strict stop/ambiguous residue exclusion.
- **6-Frame Collinear Catalytic Baiting:** Recruits divergent viral reads (15%–35% nucleotide divergence) using reduced-alphabet amino acid $k$-mers (`kmer_seed` self-contained engine) or external `DIAMOND blastx` / `HMMER hmmsearch`.
- **Two-Phase Cycle-Safe Micro-Assembly:** Strand-normalized iterative paired recruitment and local de Bruijn assembly supporting both linear unitigs and closed circular viral rings.

## Installation

```bash
pip install viro-drift
```

## Quick Start

```bash
viro-drift run --r1 unmapped_R1.fasta --r2 unmapped_R2.fasta --seeds viral_core_seeds.faa -o out_drift/
```
