NextPyper 0.1.0__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nextpyper-0.2.0/NextPyper.egg-info/PKG-INFO +95 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/NextPyper.egg-info/SOURCES.txt +2 -4
- nextpyper-0.2.0/PKG-INFO +95 -0
- nextpyper-0.2.0/README.md +60 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/__main__.py +4 -2
- nextpyper-0.2.0/nextpyper/__new_main__.py +14 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/config/config.yaml +2 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/nextpyper.CITATION +1 -1
- nextpyper-0.2.0/nextpyper/nextpyper.VERSION +1 -0
- nextpyper-0.2.0/nextpyper/src/cli.py +435 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/multi_seq_probes.py +1 -1
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/envs/assembly.yaml +3 -2
- nextpyper-0.2.0/nextpyper/workflow/envs/clustering.yaml +11 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/envs/preprocessing.yaml +5 -2
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/rules/0_preprocessing/0.1_reads.smk +22 -20
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/rules/0_preprocessing/0.2_probes.smk +6 -6
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/rules/1_seeds_assembly/1.1_assembly_spades.smk +8 -7
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/rules/1_seeds_assembly/1.2_seeds_extension.smk +20 -19
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/rules/1_seeds_assembly/1.3_seeds_filtering.smk +11 -10
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/rules/1_seeds_assembly/1.4_seeds_clustering.smk +22 -13
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/rules/2_homologs_assembly/2.1_saute_assembly.smk +50 -47
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/rules/3_homolog_prospection/3.1_allele_collapsing.smk +9 -6
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/rules/3_homolog_prospection/3.2_homologs_filtering.smk +3 -3
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/rules/3_homolog_prospection/3.3_region_separation.smk +6 -6
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/rules/common.smk +6 -2
- nextpyper-0.1.0/NextPyper.egg-info/PKG-INFO +0 -231
- nextpyper-0.1.0/PKG-INFO +0 -231
- nextpyper-0.1.0/README.md +0 -196
- nextpyper-0.1.0/nextpyper/nextpyper.VERSION +0 -1
- nextpyper-0.1.0/nextpyper/workflow/envs/alignment.yaml +0 -7
- nextpyper-0.1.0/nextpyper/workflow/envs/clustering.yaml +0 -9
- nextpyper-0.1.0/nextpyper/workflow/envs/matching.yaml +0 -8
- nextpyper-0.1.0/nextpyper/workflow/envs/saute.yaml +0 -7
- nextpyper-0.1.0/nextpyper/workflow/envs/translating.yaml +0 -8
- {nextpyper-0.1.0 → nextpyper-0.2.0}/MANIFEST.in +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/NextPyper.egg-info/dependency_links.txt +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/NextPyper.egg-info/entry_points.txt +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/NextPyper.egg-info/requires.txt +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/NextPyper.egg-info/top_level.txt +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/__init__.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/config/rich_config.yaml +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/config/system_config.yaml +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/data/blosum62.csv +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/data/cps_seqids.csv +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/data/mock/mock_args.yaml +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/data/mock/probes.fasta +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/data/mock/reads/sample1_R1.fastq +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/data/mock/reads/sample1_R2.fastq +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/data/mock/reads/sample2_R1.fastq +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/data/mock/reads/sample2_R2.fastq +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/data/mock/reads/sample3_R1.fastq +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/data/mock/reads/sample3_R2.fastq +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/data/mock/sample.tsv +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/nextpyper.LICENSE +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/divergence_estimation.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/diversity.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/exon_discovery.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/exon_intron.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/fix_headers.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/gfa2fasta.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/gfa_graph.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/gff_parser.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/graph_utils.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/homolog_filtering.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/miniprot.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/run_orfipy.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/sample_table.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/seeds_collection.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/summarize_results.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/union_find.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/src/var_asm_parser.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/test/.gitkeep +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/Snakefile +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/schemas/probes.yaml +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/schemas/sample_table.yaml +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/scripts/bench_busco.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/scripts/categories_bench.sh +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/scripts/end_recs_parser.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/nextpyper/workflow/scripts/tribble_stats.py +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/pyproject.toml +0 -0
- {nextpyper-0.1.0 → nextpyper-0.2.0}/setup.cfg +0 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: NextPyper
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Recovery of homoeologous loci from target capture data in higher ploidy samples
|
|
5
|
+
Author-email: Simón Villanueva Corrales <simon.corrales@ibot.cas.cz>, "Yann J.K. Bertrand" <Yann.Bertrand@ibot.cas.cz>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/M2BL/NextPyper
|
|
8
|
+
Project-URL: Documentation, https://m2bl.github.io/NextPyper
|
|
9
|
+
Classifier: Environment :: Console
|
|
10
|
+
Classifier: Environment :: MacOS X
|
|
11
|
+
Classifier: Intended Audience :: Science/Research
|
|
12
|
+
Classifier: Natural Language :: English
|
|
13
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
14
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
17
|
+
Requires-Python: >=3.12
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: nextpyper/nextpyper.LICENSE
|
|
20
|
+
Requires-Dist: snaketool-utils>=0.0.4
|
|
21
|
+
Requires-Dist: snakemake>=9.21
|
|
22
|
+
Requires-Dist: pyyaml>=6.0
|
|
23
|
+
Requires-Dist: Click>=8.1.3
|
|
24
|
+
Requires-Dist: rich-click>=1.9.7
|
|
25
|
+
Requires-Dist: pandas>=2.2
|
|
26
|
+
Requires-Dist: biopython>=1.83
|
|
27
|
+
Requires-Dist: numpy>=1.26
|
|
28
|
+
Requires-Dist: scikit-learn>=1.5
|
|
29
|
+
Requires-Dist: scipy>=1.14
|
|
30
|
+
Requires-Dist: polars>=1.32.3
|
|
31
|
+
Requires-Dist: intervaltree>=3.1
|
|
32
|
+
Requires-Dist: kmedoids>=0.5.3.1
|
|
33
|
+
Requires-Dist: more-itertools>=10.7
|
|
34
|
+
Dynamic: license-file
|
|
35
|
+
|
|
36
|
+
# NextPyper
|
|
37
|
+
|
|
38
|
+
**Recovery of homoeologous loci from target capture data in higher ploidy samples.**
|
|
39
|
+
|
|
40
|
+
`NextPyper` is a bioinformatics pipeline specifically designed to disentangle and recover distinct homoeologs, paralogs, and even ohnologs from polyploid target capture datasets.
|
|
41
|
+
|
|
42
|
+
## Key Features
|
|
43
|
+
|
|
44
|
+
- **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.
|
|
45
|
+
- **Uncompromised sensitivity**: Strives to recover all distinct homologs (homoeologs, paralogs, and even ohnologs) present in your data.
|
|
46
|
+
- **Inter-sample seed borrowing**: Rescues targeted loci in low-coverage or diverged samples by leveraging homologous sequences from related samples.
|
|
47
|
+
- **Automated graph complexity resolution**: Automatically identifies dense assembly graph components ("tribbles"), re-assembles complex loci with adaptive parameters, and flags putative chimeric sequences.
|
|
48
|
+
- **Streamlined workflow**: Simple command-line interface powered by [Snakemake](https://snakemake.github.io/), offering automatic environment management, parallel processing, and seamless execution.
|
|
49
|
+
|
|
50
|
+
## Documentation
|
|
51
|
+
|
|
52
|
+
Please refer to the [official documentation](https://m2bl.github.io/NextPyper/), which is more complete.
|
|
53
|
+
|
|
54
|
+
## Installation
|
|
55
|
+
|
|
56
|
+
`NextPyper` is available in [PyPI](https://pypi.org/project/NextPyper/), and soon in bioconda.
|
|
57
|
+
|
|
58
|
+
Regardless of the installation method, `NextPyper` requires `conda` in your PATH, to manage and deploy workflow environments.
|
|
59
|
+
|
|
60
|
+
### Conda/Mamba
|
|
61
|
+
|
|
62
|
+
If you already have [bioconda](https://bioconda.github.io/) set up, you can create a new environment and simply run:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
conda install nextpyper # or mamba
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Pip
|
|
69
|
+
|
|
70
|
+
Alternatively you can use pip:
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
pip install nextpyper
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Manual
|
|
77
|
+
|
|
78
|
+
You can also install NextPyper manually with pip. We recommend to create a new environment.
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
# from your new environment with pip
|
|
82
|
+
git clone git@github.com:M2BL/NextPyper.git
|
|
83
|
+
cd NextPyper
|
|
84
|
+
pip install .
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Citation
|
|
88
|
+
|
|
89
|
+
If you use `NextPyper` in your work, please cite:
|
|
90
|
+
|
|
91
|
+
> Villanueva Corrales, S., Schmickl, R. E., & Bertrand, Y. J. (2026). *NextPyper: a novel Pipeline for Assembling Target Capture Data in Polyploids*. bioRxiv, 2026-11. doi: [10.64898/2026.11.30.770170](https://doi.org/10.64898/2026.11.30.770170)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
## License
|
|
95
|
+
MIT
|
|
@@ -9,6 +9,7 @@ NextPyper.egg-info/requires.txt
|
|
|
9
9
|
NextPyper.egg-info/top_level.txt
|
|
10
10
|
nextpyper/__init__.py
|
|
11
11
|
nextpyper/__main__.py
|
|
12
|
+
nextpyper/__new_main__.py
|
|
12
13
|
nextpyper/nextpyper.CITATION
|
|
13
14
|
nextpyper/nextpyper.LICENSE
|
|
14
15
|
nextpyper/nextpyper.VERSION
|
|
@@ -26,6 +27,7 @@ nextpyper/data/mock/reads/sample2_R1.fastq
|
|
|
26
27
|
nextpyper/data/mock/reads/sample2_R2.fastq
|
|
27
28
|
nextpyper/data/mock/reads/sample3_R1.fastq
|
|
28
29
|
nextpyper/data/mock/reads/sample3_R2.fastq
|
|
30
|
+
nextpyper/src/cli.py
|
|
29
31
|
nextpyper/src/divergence_estimation.py
|
|
30
32
|
nextpyper/src/diversity.py
|
|
31
33
|
nextpyper/src/exon_discovery.py
|
|
@@ -46,13 +48,9 @@ nextpyper/src/union_find.py
|
|
|
46
48
|
nextpyper/src/var_asm_parser.py
|
|
47
49
|
nextpyper/test/.gitkeep
|
|
48
50
|
nextpyper/workflow/Snakefile
|
|
49
|
-
nextpyper/workflow/envs/alignment.yaml
|
|
50
51
|
nextpyper/workflow/envs/assembly.yaml
|
|
51
52
|
nextpyper/workflow/envs/clustering.yaml
|
|
52
|
-
nextpyper/workflow/envs/matching.yaml
|
|
53
53
|
nextpyper/workflow/envs/preprocessing.yaml
|
|
54
|
-
nextpyper/workflow/envs/saute.yaml
|
|
55
|
-
nextpyper/workflow/envs/translating.yaml
|
|
56
54
|
nextpyper/workflow/rules/common.smk
|
|
57
55
|
nextpyper/workflow/rules/0_preprocessing/0.1_reads.smk
|
|
58
56
|
nextpyper/workflow/rules/0_preprocessing/0.2_probes.smk
|
nextpyper-0.2.0/PKG-INFO
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: NextPyper
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Recovery of homoeologous loci from target capture data in higher ploidy samples
|
|
5
|
+
Author-email: Simón Villanueva Corrales <simon.corrales@ibot.cas.cz>, "Yann J.K. Bertrand" <Yann.Bertrand@ibot.cas.cz>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/M2BL/NextPyper
|
|
8
|
+
Project-URL: Documentation, https://m2bl.github.io/NextPyper
|
|
9
|
+
Classifier: Environment :: Console
|
|
10
|
+
Classifier: Environment :: MacOS X
|
|
11
|
+
Classifier: Intended Audience :: Science/Research
|
|
12
|
+
Classifier: Natural Language :: English
|
|
13
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
14
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
17
|
+
Requires-Python: >=3.12
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: nextpyper/nextpyper.LICENSE
|
|
20
|
+
Requires-Dist: snaketool-utils>=0.0.4
|
|
21
|
+
Requires-Dist: snakemake>=9.21
|
|
22
|
+
Requires-Dist: pyyaml>=6.0
|
|
23
|
+
Requires-Dist: Click>=8.1.3
|
|
24
|
+
Requires-Dist: rich-click>=1.9.7
|
|
25
|
+
Requires-Dist: pandas>=2.2
|
|
26
|
+
Requires-Dist: biopython>=1.83
|
|
27
|
+
Requires-Dist: numpy>=1.26
|
|
28
|
+
Requires-Dist: scikit-learn>=1.5
|
|
29
|
+
Requires-Dist: scipy>=1.14
|
|
30
|
+
Requires-Dist: polars>=1.32.3
|
|
31
|
+
Requires-Dist: intervaltree>=3.1
|
|
32
|
+
Requires-Dist: kmedoids>=0.5.3.1
|
|
33
|
+
Requires-Dist: more-itertools>=10.7
|
|
34
|
+
Dynamic: license-file
|
|
35
|
+
|
|
36
|
+
# NextPyper
|
|
37
|
+
|
|
38
|
+
**Recovery of homoeologous loci from target capture data in higher ploidy samples.**
|
|
39
|
+
|
|
40
|
+
`NextPyper` is a bioinformatics pipeline specifically designed to disentangle and recover distinct homoeologs, paralogs, and even ohnologs from polyploid target capture datasets.
|
|
41
|
+
|
|
42
|
+
## Key Features
|
|
43
|
+
|
|
44
|
+
- **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.
|
|
45
|
+
- **Uncompromised sensitivity**: Strives to recover all distinct homologs (homoeologs, paralogs, and even ohnologs) present in your data.
|
|
46
|
+
- **Inter-sample seed borrowing**: Rescues targeted loci in low-coverage or diverged samples by leveraging homologous sequences from related samples.
|
|
47
|
+
- **Automated graph complexity resolution**: Automatically identifies dense assembly graph components ("tribbles"), re-assembles complex loci with adaptive parameters, and flags putative chimeric sequences.
|
|
48
|
+
- **Streamlined workflow**: Simple command-line interface powered by [Snakemake](https://snakemake.github.io/), offering automatic environment management, parallel processing, and seamless execution.
|
|
49
|
+
|
|
50
|
+
## Documentation
|
|
51
|
+
|
|
52
|
+
Please refer to the [official documentation](https://m2bl.github.io/NextPyper/), which is more complete.
|
|
53
|
+
|
|
54
|
+
## Installation
|
|
55
|
+
|
|
56
|
+
`NextPyper` is available in [PyPI](https://pypi.org/project/NextPyper/), and soon in bioconda.
|
|
57
|
+
|
|
58
|
+
Regardless of the installation method, `NextPyper` requires `conda` in your PATH, to manage and deploy workflow environments.
|
|
59
|
+
|
|
60
|
+
### Conda/Mamba
|
|
61
|
+
|
|
62
|
+
If you already have [bioconda](https://bioconda.github.io/) set up, you can create a new environment and simply run:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
conda install nextpyper # or mamba
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Pip
|
|
69
|
+
|
|
70
|
+
Alternatively you can use pip:
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
pip install nextpyper
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Manual
|
|
77
|
+
|
|
78
|
+
You can also install NextPyper manually with pip. We recommend to create a new environment.
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
# from your new environment with pip
|
|
82
|
+
git clone git@github.com:M2BL/NextPyper.git
|
|
83
|
+
cd NextPyper
|
|
84
|
+
pip install .
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Citation
|
|
88
|
+
|
|
89
|
+
If you use `NextPyper` in your work, please cite:
|
|
90
|
+
|
|
91
|
+
> Villanueva Corrales, S., Schmickl, R. E., & Bertrand, Y. J. (2026). *NextPyper: a novel Pipeline for Assembling Target Capture Data in Polyploids*. bioRxiv, 2026-11. doi: [10.64898/2026.11.30.770170](https://doi.org/10.64898/2026.11.30.770170)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
## License
|
|
95
|
+
MIT
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# NextPyper
|
|
2
|
+
|
|
3
|
+
**Recovery of homoeologous loci from target capture data in higher ploidy samples.**
|
|
4
|
+
|
|
5
|
+
`NextPyper` is a bioinformatics pipeline specifically designed to disentangle and recover distinct homoeologs, paralogs, and even ohnologs from polyploid target capture datasets.
|
|
6
|
+
|
|
7
|
+
## Key Features
|
|
8
|
+
|
|
9
|
+
- **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.
|
|
10
|
+
- **Uncompromised sensitivity**: Strives to recover all distinct homologs (homoeologs, paralogs, and even ohnologs) present in your data.
|
|
11
|
+
- **Inter-sample seed borrowing**: Rescues targeted loci in low-coverage or diverged samples by leveraging homologous sequences from related samples.
|
|
12
|
+
- **Automated graph complexity resolution**: Automatically identifies dense assembly graph components ("tribbles"), re-assembles complex loci with adaptive parameters, and flags putative chimeric sequences.
|
|
13
|
+
- **Streamlined workflow**: Simple command-line interface powered by [Snakemake](https://snakemake.github.io/), offering automatic environment management, parallel processing, and seamless execution.
|
|
14
|
+
|
|
15
|
+
## Documentation
|
|
16
|
+
|
|
17
|
+
Please refer to the [official documentation](https://m2bl.github.io/NextPyper/), which is more complete.
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
`NextPyper` is available in [PyPI](https://pypi.org/project/NextPyper/), and soon in bioconda.
|
|
22
|
+
|
|
23
|
+
Regardless of the installation method, `NextPyper` requires `conda` in your PATH, to manage and deploy workflow environments.
|
|
24
|
+
|
|
25
|
+
### Conda/Mamba
|
|
26
|
+
|
|
27
|
+
If you already have [bioconda](https://bioconda.github.io/) set up, you can create a new environment and simply run:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
conda install nextpyper # or mamba
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Pip
|
|
34
|
+
|
|
35
|
+
Alternatively you can use pip:
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
pip install nextpyper
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Manual
|
|
42
|
+
|
|
43
|
+
You can also install NextPyper manually with pip. We recommend to create a new environment.
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
# from your new environment with pip
|
|
47
|
+
git clone git@github.com:M2BL/NextPyper.git
|
|
48
|
+
cd NextPyper
|
|
49
|
+
pip install .
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Citation
|
|
53
|
+
|
|
54
|
+
If you use `NextPyper` in your work, please cite:
|
|
55
|
+
|
|
56
|
+
> Villanueva Corrales, S., Schmickl, R. E., & Bertrand, Y. J. (2026). *NextPyper: a novel Pipeline for Assembling Target Capture Data in Polyploids*. bioRxiv, 2026-11. doi: [10.64898/2026.11.30.770170](https://doi.org/10.64898/2026.11.30.770170)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
## License
|
|
60
|
+
MIT
|
|
@@ -400,9 +400,11 @@ def prepare(**kwargs):
|
|
|
400
400
|
default="nextpyper.out",
|
|
401
401
|
show_default=True,
|
|
402
402
|
)
|
|
403
|
-
|
|
404
|
-
def config(configfile, system_config, **kwargs):
|
|
403
|
+
def config(**kwargs):
|
|
405
404
|
"""Copy the default config to modify the workflow parameters before running."""
|
|
405
|
+
|
|
406
|
+
configfile = str(Path(kwargs["output"]) / "config.yaml")
|
|
407
|
+
system_config = str(Path(__file__).parent / "config/config.yaml")
|
|
406
408
|
copy_config(configfile, system_config=system_config)
|
|
407
409
|
|
|
408
410
|
|
|
@@ -26,6 +26,7 @@ nextpyper:
|
|
|
26
26
|
seeds:
|
|
27
27
|
min_sister_sample_freq: 0.5
|
|
28
28
|
cov_by_mapping: true
|
|
29
|
+
clustering_idt: 0.95
|
|
29
30
|
saute:
|
|
30
31
|
heuristic:
|
|
31
32
|
primary_target_depth: 15
|
|
@@ -53,6 +54,7 @@ nextpyper:
|
|
|
53
54
|
min_orf_len: 15
|
|
54
55
|
gapopen: 13
|
|
55
56
|
frameshift: 15
|
|
57
|
+
allele_clustering_idt: 0.99
|
|
56
58
|
homolog_filtering:
|
|
57
59
|
seeds:
|
|
58
60
|
max_gc: 0.6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.2.0
|