Metadata-Version: 2.1
Name: elarodon
Version: 1.1.1
Summary: Detection and analysis of genomic rearrangements from Oxford Nanopore alignments
Author: Andrey Kechin
Author-email: Regina Mikheeva <mikheeva@yandex.ru>
License: MIT License
        
        Copyright (c) 2025-2026 Andrey Kechin and Regina Mikheeva
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/aakechin/eLaRodON
Project-URL: Documentation, https://github.com/aakechin/eLaRodON#readme
Project-URL: Issues, https://github.com/aakechin/eLaRodON/issues
Project-URL: Benchmark, https://github.com/aakechin/eLaRodON/tree/v1.1.0/benchmark
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: POSIX :: Linux
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Requires-Python: <3.13,>=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: biopython ==1.84
Requires-Dist: pandas ==2.2.2
Requires-Dist: pysam ==0.22.1
Requires-Dist: toml ==0.10.2
Requires-Dist: tqdm ==4.66.5

# eLaRodON

eLaRodON detects and characterizes genomic rearrangements from Oxford Nanopore
read alignments. It reports rearrangement calls in VCF and intermediate tables.

Version 1.1.1 packages the analysis code from the revised GitHub benchmark
release v1.1.0 and fixes handling of the last junction during merging. A single
junction is now retained, the final junction can be merged with a nearby call,
and writing an empty junction table no longer divides by zero. These changes
can affect calls relative to v1.1.0; the published v1.1.0 benchmark results were
not recomputed for this package. The earlier PyPI release 0.1.3 predates the
revision corrections.

## Installation

Use Linux and Python 3.10, 3.11 or 3.12. In a Python virtual environment, run:

```bash
python -m pip install elarodon==1.1.1
elarodon --help
```

Python dependencies are installed by pip. Install these external command-line
tools separately and make them available on `PATH`:

- minimap2
- samtools
- bgzip and tabix from HTSlib
- bedtools
- vcfanno

The [repository documentation](https://github.com/aakechin/eLaRodON#readme)
lists the tool versions and the input and output formats.

## Run on your own data

Provide a coordinate-sorted, indexed BAM and the matching indexed reference
FASTA. Use paths without spaces for the external annotation commands.

```bash
elarodon \
    -dir /path/to/results \
    -bam /path/to/sample.bam \
    -ref /path/to/reference.fa \
    -vcfanno /path/to/vcfanno \
    -th 4
```

The default final output is `sample_all_LGRS.vcf` in the results directory.
`python -m elarodon` accepts the same arguments as `elarodon`.

## Benchmark data and source code

The pip package contains the program, license and package metadata. Reference
genomes, BAM files, curated benchmark data and benchmark scripts are distributed
separately through the
[GitHub repository](https://github.com/aakechin/eLaRodON) and the
[v1.1.0 benchmark release](https://github.com/aakechin/eLaRodON/releases/tag/v1.1.0).
See the [benchmark guide](https://github.com/aakechin/eLaRodON/tree/v1.1.0/benchmark)
for the test dataset and Docker workflow.

## License

MIT. Copyright Andrey Kechin and Regina Mikheeva.
