# Welcome

**Recovery of homoeologous loci from target capture data in higher-ploidy samples.**

`NextPyper` is a bioinformatics pipeline specifically designed to disentangle and recover distinct homoeologs, paralogs, and even ohnologs from polyploid target capture datasets.


## Key Features

- **Built for polyploids**: Handles polyploid samples across a wide range of ploidal levels (from diploids to 10x+ polyploids) without requiring high-quality parental reference genomes.
- **Uncompromised sensitivity**: Strives to recover all distinct homologs (homoeologs, paralogs, and even ohnologs) present in your data.
- **Inter-sample seed borrowing**: Rescues targeted loci in low-coverage or diverged samples by leveraging homologous sequences from related samples.
- **Automated graph complexity resolution**: Automatically identifies dense assembly graph components ("tribbles"), re-assembles complex loci with adaptive parameters, and flags putative chimeric sequences.
- **Streamlined workflow**: Simple command-line interface powered by [Snakemake](https://snakemake.github.io/), offering automatic environment management, parallel processing, and seamless execution.

------------------------------------------------------------------------


## Getting Started

1.  **Setup**: Follow the [installation guide](./user-guide/Setup/installation.html) and [environment setup](./user-guide/Setup/env_setup.html).
2.  **Inputs**: Learn how to [prepare your probes](./user-guide/Getting-started/prep_probes.html) and [prepare your sample table](./user-guide/Getting-started/prep_samples.html).
3.  **Execution**: Learn how to [run NextPyper](./user-guide/Getting-started/running.html).
4.  **Outputs & Analysis**: Explore the [output](./user-guide/Output/folder_structure.html) or compute run [summary statistics](./user-guide/Output/stats.html).


### Links

[View on PyPI![](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0eWxlPSJ2ZXJ0aWNhbC1hbGlnbjogLTAuMDVlbTsgbWFyZ2luLWxlZnQ6IDBlbTsgbWFyZ2luLXRvcDogMC4xZW07IiB2aWV3Ym94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik03IDdoMTB2MTAiIC8+PHBhdGggZD0iTTcgMTcgMTcgNyIgLz48L3N2Zz4=)](https://pypi.org/project/NextPyper/)\


### AI / Agents

[llms.txt](llms.txt)\
[llms-full.txt](llms-full.txt)\


### Developers


**Simón Villanueva Corrales**

<span style="margin-top: -0.15em; display: block;"> </span>

Author

[IBot CAS](https://www.ibot.cas.cz)

<span style="margin-top: -0.15em; display: block;">[](mailto:simon.corrales@ibot.cas.cz "Email") [](https://github.com/https://github.com/sivico26 "GitHub") [](https://orcid.org/0000-0002-0311-878X "ORCID")</span>


**Yann J.K. Bertrand**

<span style="margin-top: -0.15em; display: block;"> </span>

Author

[IBot CAS](https://www.ibot.cas.cz)

<span style="margin-top: -0.15em; display: block;">[](mailto:Yann.Bertrand@ibot.cas.cz "Email") [](https://orcid.org/0000-0001-6593-6959 "ORCID")</span>


### Meta

**Requires:** Python `>=3.12`\
[Site Tags](tags/index.html)\
[Package Info](package-info.md)
