plexembler 0.5.0rc1__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.
Files changed (108) hide show
  1. plexembler-0.5.0rc1/.copier-answers.yml +59 -0
  2. plexembler-0.5.0rc1/.dockerignore +3 -0
  3. plexembler-0.5.0rc1/.editorconfig +40 -0
  4. plexembler-0.5.0rc1/.git-blame-ignore-revs +2 -0
  5. plexembler-0.5.0rc1/.gitattributes +31 -0
  6. plexembler-0.5.0rc1/.gitignore +55 -0
  7. plexembler-0.5.0rc1/.python-version +1 -0
  8. plexembler-0.5.0rc1/CITATION.cff +25 -0
  9. plexembler-0.5.0rc1/CONTRIBUTING.md +5 -0
  10. plexembler-0.5.0rc1/Dockerfile +22 -0
  11. plexembler-0.5.0rc1/LICENSE +21 -0
  12. plexembler-0.5.0rc1/PKG-INFO +110 -0
  13. plexembler-0.5.0rc1/README.md +75 -0
  14. plexembler-0.5.0rc1/chromokit.json +24 -0
  15. plexembler-0.5.0rc1/docs/api/plexembler.md +6 -0
  16. plexembler-0.5.0rc1/docs/assets/mark.svg +53 -0
  17. plexembler-0.5.0rc1/docs/assets/metro_map.py +550 -0
  18. plexembler-0.5.0rc1/docs/assets/metro_map_dark.svg +257 -0
  19. plexembler-0.5.0rc1/docs/assets/metro_map_light.svg +257 -0
  20. plexembler-0.5.0rc1/docs/changelog.md +327 -0
  21. plexembler-0.5.0rc1/docs/citation.md +15 -0
  22. plexembler-0.5.0rc1/docs/cli.md +658 -0
  23. plexembler-0.5.0rc1/docs/concepts.md +113 -0
  24. plexembler-0.5.0rc1/docs/contributing.md +311 -0
  25. plexembler-0.5.0rc1/docs/formats.md +211 -0
  26. plexembler-0.5.0rc1/docs/guides/compute.md +143 -0
  27. plexembler-0.5.0rc1/docs/index.md +40 -0
  28. plexembler-0.5.0rc1/docs/installation.md +97 -0
  29. plexembler-0.5.0rc1/docs/javascripts/chromokit.js +57 -0
  30. plexembler-0.5.0rc1/docs/output.md +366 -0
  31. plexembler-0.5.0rc1/docs/parameters.md +124 -0
  32. plexembler-0.5.0rc1/docs/plan.md +891 -0
  33. plexembler-0.5.0rc1/docs/quickstart.md +63 -0
  34. plexembler-0.5.0rc1/docs/real-runs.md +349 -0
  35. plexembler-0.5.0rc1/docs/stylesheets/chromokit.css +3449 -0
  36. plexembler-0.5.0rc1/docs/stylesheets/site.css +2 -0
  37. plexembler-0.5.0rc1/docs/usage.md +467 -0
  38. plexembler-0.5.0rc1/docs/why.md +49 -0
  39. plexembler-0.5.0rc1/overrides/main.html +12 -0
  40. plexembler-0.5.0rc1/overrides/partials/cx-page-footer.html +43 -0
  41. plexembler-0.5.0rc1/overrides/partials/header.html +64 -0
  42. plexembler-0.5.0rc1/overrides/partials/search.html +8 -0
  43. plexembler-0.5.0rc1/pyproject.toml +227 -0
  44. plexembler-0.5.0rc1/src/plexembler/__init__.py +11 -0
  45. plexembler-0.5.0rc1/src/plexembler/_log.py +167 -0
  46. plexembler-0.5.0rc1/src/plexembler/_report/__init__.py +613 -0
  47. plexembler-0.5.0rc1/src/plexembler/_report/base.html.j2 +146 -0
  48. plexembler-0.5.0rc1/src/plexembler/_report/macros.html.j2 +144 -0
  49. plexembler-0.5.0rc1/src/plexembler/_report/report.css +1928 -0
  50. plexembler-0.5.0rc1/src/plexembler/_report/report.js +362 -0
  51. plexembler-0.5.0rc1/src/plexembler/ani.py +215 -0
  52. plexembler-0.5.0rc1/src/plexembler/browser.py +157 -0
  53. plexembler-0.5.0rc1/src/plexembler/circular.py +235 -0
  54. plexembler-0.5.0rc1/src/plexembler/cli.py +1538 -0
  55. plexembler-0.5.0rc1/src/plexembler/closest.py +427 -0
  56. plexembler-0.5.0rc1/src/plexembler/digest.py +216 -0
  57. plexembler-0.5.0rc1/src/plexembler/dotplot.py +758 -0
  58. plexembler-0.5.0rc1/src/plexembler/expression.py +129 -0
  59. plexembler-0.5.0rc1/src/plexembler/finalize.py +397 -0
  60. plexembler-0.5.0rc1/src/plexembler/genes.py +414 -0
  61. plexembler-0.5.0rc1/src/plexembler/junctions.py +571 -0
  62. plexembler-0.5.0rc1/src/plexembler/rename.py +231 -0
  63. plexembler-0.5.0rc1/src/plexembler/report.py +416 -0
  64. plexembler-0.5.0rc1/src/plexembler/run.py +244 -0
  65. plexembler-0.5.0rc1/src/plexembler/screen.py +503 -0
  66. plexembler-0.5.0rc1/src/plexembler/select.py +542 -0
  67. plexembler-0.5.0rc1/src/plexembler/split.py +544 -0
  68. plexembler-0.5.0rc1/tests/conftest.py +39 -0
  69. plexembler-0.5.0rc1/tests/data/libraries.csv +4 -0
  70. plexembler-0.5.0rc1/tests/data/make_test_data.py +302 -0
  71. plexembler-0.5.0rc1/tests/data/pool_hic_R1.fastq.gz +0 -0
  72. plexembler-0.5.0rc1/tests/data/pool_hic_R2.fastq.gz +0 -0
  73. plexembler-0.5.0rc1/tests/data/pool_rnaseq_R1.fastq.gz +0 -0
  74. plexembler-0.5.0rc1/tests/data/pool_rnaseq_R2.fastq.gz +0 -0
  75. plexembler-0.5.0rc1/tests/data/pool_wgs_R1.fastq.gz +0 -0
  76. plexembler-0.5.0rc1/tests/data/pool_wgs_R2.fastq.gz +0 -0
  77. plexembler-0.5.0rc1/tests/data/scaffold/sp1.agp +4 -0
  78. plexembler-0.5.0rc1/tests/data/scaffold/sp1.junctions.tsv +2 -0
  79. plexembler-0.5.0rc1/tests/data/sp1.ont.fastq.gz +0 -0
  80. plexembler-0.5.0rc1/tests/data/sp2.ont.fastq.gz +0 -0
  81. plexembler-0.5.0rc1/tests/data/species.csv +3 -0
  82. plexembler-0.5.0rc1/tests/data/truth/genes.tsv +12 -0
  83. plexembler-0.5.0rc1/tests/data/truth/sp1.fa +502 -0
  84. plexembler-0.5.0rc1/tests/data/truth/sp2.fa +376 -0
  85. plexembler-0.5.0rc1/tests/test_ani.py +100 -0
  86. plexembler-0.5.0rc1/tests/test_browser.py +87 -0
  87. plexembler-0.5.0rc1/tests/test_circular.py +155 -0
  88. plexembler-0.5.0rc1/tests/test_cli.py +23 -0
  89. plexembler-0.5.0rc1/tests/test_closest.py +360 -0
  90. plexembler-0.5.0rc1/tests/test_digest.py +128 -0
  91. plexembler-0.5.0rc1/tests/test_docs.py +200 -0
  92. plexembler-0.5.0rc1/tests/test_dotplot.py +266 -0
  93. plexembler-0.5.0rc1/tests/test_environments.py +56 -0
  94. plexembler-0.5.0rc1/tests/test_expression.py +74 -0
  95. plexembler-0.5.0rc1/tests/test_finalize.py +256 -0
  96. plexembler-0.5.0rc1/tests/test_genes.py +212 -0
  97. plexembler-0.5.0rc1/tests/test_junctions.py +375 -0
  98. plexembler-0.5.0rc1/tests/test_metro_map.py +52 -0
  99. plexembler-0.5.0rc1/tests/test_params.py +69 -0
  100. plexembler-0.5.0rc1/tests/test_plan.py +56 -0
  101. plexembler-0.5.0rc1/tests/test_release.py +149 -0
  102. plexembler-0.5.0rc1/tests/test_rename.py +284 -0
  103. plexembler-0.5.0rc1/tests/test_report.py +203 -0
  104. plexembler-0.5.0rc1/tests/test_run.py +448 -0
  105. plexembler-0.5.0rc1/tests/test_screen.py +471 -0
  106. plexembler-0.5.0rc1/tests/test_select.py +394 -0
  107. plexembler-0.5.0rc1/tests/test_split.py +344 -0
  108. plexembler-0.5.0rc1/zensical.toml +116 -0
@@ -0,0 +1,59 @@
1
+ # Changes here are overwritten by `uvx copier update`: answer again there.
2
+ _commit: v0.2.1
3
+ _src_path: gh:js2264/chromokit
4
+ authors:
5
+ - name: Jacques Serizay
6
+ bioconda: false
7
+ cli: click
8
+ command: plexembler
9
+ compiled_dependencies: false
10
+ default_branch: main
11
+ description: Reference genomes, gene annotations, Hi-C maps and expression tables
12
+ for every species of a pool, from per-species nanopore reads and pooled Hi-C,
13
+ WGS and RNA-seq
14
+ distribution: plexembler
15
+ docs_url: https://js2264.github.io/plexembler/
16
+ docstring_style: numpy
17
+ doi: ''
18
+ entry_point: plexembler.cli:cli
19
+ formats_page: formats.md
20
+ gpu: false
21
+ image: true
22
+ image_arm64: true
23
+ image_base: ghcr.io/mamba-org/micromamba:2.10.0
24
+ image_env: ''
25
+ image_v_tags: false
26
+ image_variants: []
27
+ install_run: ''
28
+ install_source_builds: {}
29
+ keywords:
30
+ - genome-assembly
31
+ - hi-c
32
+ - nanopore
33
+ - scaffolding
34
+ - genome-annotation
35
+ - yeast
36
+ - nextflow
37
+ - multiplexing
38
+ license: MIT
39
+ line_length: 88
40
+ maintainers: []
41
+ next_python_apt: ''
42
+ owner: js2264
43
+ package: plexembler
44
+ paper: null
45
+ project_name: plexembler
46
+ pypi_only: true
47
+ python_dev: '3.14'
48
+ python_max: '3.14'
49
+ released: '2026-11-26'
50
+ repository: plexembler
51
+ ruff_version: 0.17.6
52
+ sdist_test_data: true
53
+ src_layout: true
54
+ status: 3 - Alpha
55
+ test_apt: ''
56
+ test_data: tests/data
57
+ ty_required: true
58
+ version: 0.0.0
59
+ version_module: ''
@@ -0,0 +1,3 @@
1
+ # The image needs the released wheel, nothing else (CONVENTIONS.md § 15).
2
+ *
3
+ !dist/*.whl
@@ -0,0 +1,40 @@
1
+ # CONVENTIONS.md § 5.
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ end_of_line = lf
7
+ insert_final_newline = true
8
+ trim_trailing_whitespace = true
9
+
10
+ [*.py]
11
+ indent_style = space
12
+ indent_size = 4
13
+
14
+ [*.{yml,yaml,toml,json,cff}]
15
+ indent_style = space
16
+ indent_size = 2
17
+
18
+ [*.md]
19
+ # Two spaces at the end of a line are a line break in Markdown.
20
+ trim_trailing_whitespace = false
21
+
22
+ [Makefile]
23
+ indent_style = tab
24
+
25
+ # The pipeline: Nextflow scripts, configs and tests, as nf-core writes them.
26
+ [*.{nf,config,groovy}]
27
+ indent_style = space
28
+ indent_size = 4
29
+
30
+ [*.nf.test]
31
+ indent_style = space
32
+ indent_size = 4
33
+
34
+ # nf-core's modules and subworkflows keep the style they are installed with:
35
+ # they are never edited here (`nf-core modules patch` records a change).
36
+ [{modules,subworkflows}/nf-core/**]
37
+ indent_style = unset
38
+ indent_size = unset
39
+ trim_trailing_whitespace = unset
40
+ insert_final_newline = unset
@@ -0,0 +1,2 @@
1
+ # Commits that only reformat, which `git blame` skips
2
+ # (git config blame.ignoreRevsFile .git-blame-ignore-revs).
@@ -0,0 +1,31 @@
1
+ # CONVENTIONS.md § 5.
2
+ * text=auto eol=lf
3
+
4
+ # Binary test data.
5
+ *.cool binary
6
+ *.mcool binary
7
+ *.metacool binary
8
+ *.mmetacool binary
9
+ *.h5 binary
10
+ *.gz binary
11
+ *.bt2 binary
12
+
13
+ # Written by tools, not by hand.
14
+ uv.lock linguist-generated
15
+ # chromokit's kits, copied as they are (chromokit.json lists them).
16
+ src/plexembler/_report/** linguist-vendored
17
+ overrides/** linguist-vendored
18
+ docs/stylesheets/chromokit.css linguist-vendored
19
+ docs/javascripts/chromokit.js linguist-vendored
20
+
21
+ # The pipeline (Nextflow): its configs and tests are Nextflow.
22
+ *.config linguist-language=nextflow
23
+ *.nf.test linguist-language=nextflow
24
+ # nf-core's modules and subworkflows, installed by `nf-core modules install`
25
+ # and `nf-core subworkflows install`, never edited by hand (modules.json lists them).
26
+ modules/nf-core/** linguist-generated
27
+ subworkflows/nf-core/** linguist-generated
28
+ modules.json linguist-generated
29
+ # Binary inputs: nanopore reads and alignments.
30
+ *.bam binary
31
+ *.pod5 binary
@@ -0,0 +1,55 @@
1
+ # CONVENTIONS.md § 17: the standard Python list, then the repository's own
2
+ # outputs. Never uv.lock or .python-version, which are committed.
3
+
4
+ # Python
5
+ __pycache__/
6
+ *.py[cod]
7
+ *.so
8
+ *.egg-info/
9
+ .eggs/
10
+ build/
11
+ dist/
12
+ .venv/
13
+
14
+ # Tests and coverage
15
+ .pytest_cache/
16
+ .coverage
17
+ .coverage.*
18
+ coverage.xml
19
+ htmlcov/
20
+ .ruff_cache/
21
+ .mypy_cache/
22
+
23
+ # The documentation site, as zensical builds it, and its cache, which a
24
+ # .gitignore of its own hides from git but not from the sdist's builder
25
+ /site/
26
+ /.cache/
27
+
28
+ # Editors and systems
29
+ .vscode/
30
+ .idea/
31
+ .DS_Store
32
+
33
+ # Instructions for coding agents are AGENTS.md, and nothing else
34
+ # (CONVENTIONS.md § 21): a personal CLAUDE.md holding `@AGENTS.md` stays out.
35
+ CLAUDE.md
36
+ CLAUDE.local.md
37
+
38
+ # The repository's own outputs
39
+
40
+ # Nextflow: its caches, work directories and logs; the pipeline's outputs
41
+ # (--outdir); nf-test's runs. Anchored, so that tests/data/ stays tracked.
42
+ .nextflow*
43
+ /work/
44
+ /results/
45
+ /testing/
46
+ /testing*/
47
+ /null/
48
+ .lineage/
49
+ .nf-test/
50
+ .nf-test.log
51
+
52
+ # The benchmark data: generated or downloaded (benchmarks/README.md), never committed.
53
+ /benchmarks/data/
54
+ # nf-test's wrappers of a workflow test
55
+ /.nf-test-*.nf
@@ -0,0 +1 @@
1
+ 3.14
@@ -0,0 +1,25 @@
1
+ # GitHub shows this file as "Cite this repository", and Zenodo reads it for
2
+ # each release (CONVENTIONS.md § 17). bump-my-version updates version and
3
+ # date-released.
4
+ cff-version: 1.2.0
5
+ message: "If you use plexembler, please cite it as below."
6
+ type: software
7
+ title: "plexembler"
8
+ abstract: "Reference genomes, gene annotations, Hi-C maps and expression tables for every species of a pool, from per-species nanopore reads and pooled Hi-C, WGS and RNA-seq"
9
+ version: "0.5.0rc1"
10
+ date-released: "2026-11-30"
11
+ license: "MIT"
12
+ repository-code: "https://github.com/js2264/plexembler"
13
+ url: "https://js2264.github.io/plexembler/"
14
+ keywords:
15
+ - "genome-assembly"
16
+ - "hi-c"
17
+ - "nanopore"
18
+ - "scaffolding"
19
+ - "genome-annotation"
20
+ - "yeast"
21
+ - "nextflow"
22
+ - "multiplexing"
23
+ authors:
24
+ - family-names: "Serizay"
25
+ given-names: "Jacques"
@@ -0,0 +1,5 @@
1
+ # Contributing
2
+
3
+ How to set up plexembler, test it, document it and release it:
4
+ [the contributing page](https://js2264.github.io/plexembler/contributing/), written from
5
+ [docs/contributing.md](docs/contributing.md).
@@ -0,0 +1,22 @@
1
+ # The image of plexembler (CONVENTIONS.md § 15), which release.yml
2
+ # builds from the released wheel (dist/*.whl): it holds what PyPI holds, and
3
+ # the programs pip cannot install. Dependabot updates the base.
4
+ ARG BASE=ghcr.io/mamba-org/micromamba:2.10.0
5
+ FROM ${BASE}
6
+
7
+ # samtools: the pipeline's steps stream alignments into plexembler's commands
8
+ # (`samtools view | plexembler split -`, docs/plan.md, T1). procps: ps, which
9
+ # Nextflow runs in every step's container to measure it.
10
+ RUN micromamba install -y -n base -c conda-forge -c bioconda python=3.14 pip procps-ng samtools=1.22.1 \
11
+ && micromamba clean --all --yes
12
+
13
+ COPY --chown=$MAMBA_USER:$MAMBA_USER dist/*.whl /tmp/dist/
14
+ RUN micromamba run -n base pip install --no-cache-dir /tmp/dist/*.whl \
15
+ && rm -rf /tmp/dist
16
+
17
+ # The environment on PATH without the entrypoint too: Nextflow runs a step's
18
+ # script with bash, and Apptainer and Singularity skip the entrypoint.
19
+ ENV PATH=/opt/conda/bin:$PATH
20
+
21
+ WORKDIR /home/mambauser
22
+ ENTRYPOINT ["/usr/local/bin/_entrypoint.sh"]
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) The js2264/plexembler team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,110 @@
1
+ Metadata-Version: 2.5
2
+ Name: plexembler
3
+ Version: 0.5.0rc1
4
+ Summary: Reference genomes, gene annotations, Hi-C maps and expression tables for every species of a pool, from per-species nanopore reads and pooled Hi-C, WGS and RNA-seq
5
+ Project-URL: Homepage, https://github.com/js2264/plexembler
6
+ Project-URL: Documentation, https://js2264.github.io/plexembler/
7
+ Project-URL: Repository, https://github.com/js2264/plexembler
8
+ Project-URL: Changelog, https://js2264.github.io/plexembler/changelog/
9
+ Project-URL: Issues, https://github.com/js2264/plexembler/issues
10
+ Author: Jacques Serizay
11
+ Maintainer: Jacques Serizay
12
+ License-Expression: MIT
13
+ License-File: LICENSE
14
+ Keywords: genome-annotation,genome-assembly,hi-c,multiplexing,nanopore,nextflow,scaffolding,yeast
15
+ Classifier: Development Status :: 3 - Alpha
16
+ Classifier: Intended Audience :: Science/Research
17
+ Classifier: Operating System :: MacOS
18
+ Classifier: Operating System :: POSIX :: Linux
19
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
26
+ Requires-Python: >=3.10
27
+ Requires-Dist: click>=8.1
28
+ Requires-Dist: jinja2>=3.1
29
+ Requires-Dist: nextflow>=26.4
30
+ Requires-Dist: pyyaml>=6.0
31
+ Requires-Dist: rich-click>=1.9
32
+ Provides-Extra: java
33
+ Requires-Dist: jdk4py>=21; extra == 'java'
34
+ Description-Content-Type: text/markdown
35
+
36
+ # plexembler
37
+
38
+ [![Nextflow](https://img.shields.io/badge/version-%E2%89%A526.04.0-green?style=flat&logo=nextflow&logoColor=white&color=%230DC09D&link=https%3A%2F%2Fnextflow.io)](https://www.nextflow.io/)
39
+ [![Pipeline](https://github.com/js2264/plexembler/actions/workflows/pipeline.yml/badge.svg)](https://github.com/js2264/plexembler/actions/workflows/pipeline.yml)
40
+ [![CI](https://github.com/js2264/plexembler/actions/workflows/ci.yml/badge.svg)](https://github.com/js2264/plexembler/actions/workflows/ci.yml)
41
+ [![Docs](https://github.com/js2264/plexembler/actions/workflows/docs.yml/badge.svg)](https://js2264.github.io/plexembler/)
42
+ [![Codecov](https://codecov.io/gh/js2264/plexembler/branch/main/graph/badge.svg)](https://codecov.io/gh/js2264/plexembler)
43
+ [![License](https://img.shields.io/badge/license-MIT-blue)](LICENSE)
44
+ [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
45
+
46
+ <picture>
47
+ <source media="(prefers-color-scheme: dark)" srcset="docs/assets/metro_map_dark.svg">
48
+ <img alt="plexembler's metro map: each species' nanopore reads, filtered and assembled into contigs; the pooled WGS, Hi-C and RNA-seq libraries split between the species, then the contigs screened, polished, scaffolded into chromosomes, mapped and annotated; each species' expression, tracks and report." src="docs/assets/metro_map_light.svg">
49
+ </picture>
50
+
51
+ Reference genomes, gene annotations, Hi-C maps and expression tables for every
52
+ species of a pool, from per-species nanopore reads and pooled Hi-C, WGS and
53
+ RNA-seq.
54
+
55
+ Each species of a pool has its own nanopore reads; the Hi-C, WGS and RNA-seq
56
+ libraries are made once, from the cells of every species mixed in one tube.
57
+ plexembler assembles each species from its nanopore reads, splits the pooled
58
+ libraries between the species by competitive mapping, and gives each species
59
+ its polished, screened and scaffolded genome, its gene annotation, its Hi-C
60
+ map, its expression table and its report.
61
+
62
+ > [!NOTE]
63
+ > plexembler is being built, milestone by milestone: today it makes each
64
+ > species' contigs, splits the pooled libraries between the species, screens
65
+ > and polishes the contigs, scaffolds them into chromosomes with Hi-C, annotates
66
+ > their repeats and genes, writes their expression tables, tracks, reports
67
+ > and a chromosomix store, and finds each species' closest known genome in
68
+ > sourmash's database of NCBI's fungi and draws its dotplot against it. Each milestone has steps still to come:
69
+ > [the implementation plan](https://js2264.github.io/plexembler/plan/) says
70
+ > which.
71
+
72
+ ## Install
73
+
74
+ ```bash
75
+ # 1. uv
76
+ curl -LsSf https://astral.sh/uv/install.sh | sh && . ~/.local/bin/env
77
+ # 2. [Optional] micromamba, to run the tools without Docker or Apptainer
78
+ curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xj -C ~/.local bin/micromamba
79
+ # 3. plexembler, with Nextflow's launcher and Java
80
+ uv tool install 'plexembler[java]'
81
+ # 4. Run it on the test data (-profile test,docker without micromamba)
82
+ plexembler run -profile test,micromamba --outdir results
83
+ ```
84
+
85
+ On an Apple silicon Mac, micromamba's URL ends in `osx-arm64`. Without the
86
+ `java` extra, Nextflow runs on the machine's Java, 17 or newer.
87
+ `plexembler run` runs `nextflow run js2264/plexembler -r v<version>`, the
88
+ pipeline of the release installed, and passes it every other argument: with a
89
+ Nextflow of your own (26.04.0 or newer), `nextflow run js2264/plexembler`
90
+ takes the same.
91
+
92
+ ## Quick start
93
+
94
+ ```bash
95
+ # with micromamba (step 2): AUGUSTUS's genes, BRAKER3 having no conda environment
96
+ plexembler run -profile micromamba --gene_predictor augustus \
97
+ --input species.csv --libraries libraries.csv --outdir results
98
+
99
+ # with a container engine: BRAKER3's genes
100
+ plexembler run -profile docker \
101
+ --input species.csv --libraries libraries.csv --outdir results
102
+ ```
103
+
104
+ ## Documentation
105
+
106
+ <https://js2264.github.io/plexembler/>: [concepts](https://js2264.github.io/plexembler/concepts/),
107
+ [usage](https://js2264.github.io/plexembler/usage/),
108
+ [outputs](https://js2264.github.io/plexembler/output/),
109
+ [the implementation plan](https://js2264.github.io/plexembler/plan/) and
110
+ [how to cite plexembler](https://js2264.github.io/plexembler/citation/).
@@ -0,0 +1,75 @@
1
+ # plexembler
2
+
3
+ [![Nextflow](https://img.shields.io/badge/version-%E2%89%A526.04.0-green?style=flat&logo=nextflow&logoColor=white&color=%230DC09D&link=https%3A%2F%2Fnextflow.io)](https://www.nextflow.io/)
4
+ [![Pipeline](https://github.com/js2264/plexembler/actions/workflows/pipeline.yml/badge.svg)](https://github.com/js2264/plexembler/actions/workflows/pipeline.yml)
5
+ [![CI](https://github.com/js2264/plexembler/actions/workflows/ci.yml/badge.svg)](https://github.com/js2264/plexembler/actions/workflows/ci.yml)
6
+ [![Docs](https://github.com/js2264/plexembler/actions/workflows/docs.yml/badge.svg)](https://js2264.github.io/plexembler/)
7
+ [![Codecov](https://codecov.io/gh/js2264/plexembler/branch/main/graph/badge.svg)](https://codecov.io/gh/js2264/plexembler)
8
+ [![License](https://img.shields.io/badge/license-MIT-blue)](LICENSE)
9
+ [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
10
+
11
+ <picture>
12
+ <source media="(prefers-color-scheme: dark)" srcset="docs/assets/metro_map_dark.svg">
13
+ <img alt="plexembler's metro map: each species' nanopore reads, filtered and assembled into contigs; the pooled WGS, Hi-C and RNA-seq libraries split between the species, then the contigs screened, polished, scaffolded into chromosomes, mapped and annotated; each species' expression, tracks and report." src="docs/assets/metro_map_light.svg">
14
+ </picture>
15
+
16
+ Reference genomes, gene annotations, Hi-C maps and expression tables for every
17
+ species of a pool, from per-species nanopore reads and pooled Hi-C, WGS and
18
+ RNA-seq.
19
+
20
+ Each species of a pool has its own nanopore reads; the Hi-C, WGS and RNA-seq
21
+ libraries are made once, from the cells of every species mixed in one tube.
22
+ plexembler assembles each species from its nanopore reads, splits the pooled
23
+ libraries between the species by competitive mapping, and gives each species
24
+ its polished, screened and scaffolded genome, its gene annotation, its Hi-C
25
+ map, its expression table and its report.
26
+
27
+ > [!NOTE]
28
+ > plexembler is being built, milestone by milestone: today it makes each
29
+ > species' contigs, splits the pooled libraries between the species, screens
30
+ > and polishes the contigs, scaffolds them into chromosomes with Hi-C, annotates
31
+ > their repeats and genes, writes their expression tables, tracks, reports
32
+ > and a chromosomix store, and finds each species' closest known genome in
33
+ > sourmash's database of NCBI's fungi and draws its dotplot against it. Each milestone has steps still to come:
34
+ > [the implementation plan](https://js2264.github.io/plexembler/plan/) says
35
+ > which.
36
+
37
+ ## Install
38
+
39
+ ```bash
40
+ # 1. uv
41
+ curl -LsSf https://astral.sh/uv/install.sh | sh && . ~/.local/bin/env
42
+ # 2. [Optional] micromamba, to run the tools without Docker or Apptainer
43
+ curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xj -C ~/.local bin/micromamba
44
+ # 3. plexembler, with Nextflow's launcher and Java
45
+ uv tool install 'plexembler[java]'
46
+ # 4. Run it on the test data (-profile test,docker without micromamba)
47
+ plexembler run -profile test,micromamba --outdir results
48
+ ```
49
+
50
+ On an Apple silicon Mac, micromamba's URL ends in `osx-arm64`. Without the
51
+ `java` extra, Nextflow runs on the machine's Java, 17 or newer.
52
+ `plexembler run` runs `nextflow run js2264/plexembler -r v<version>`, the
53
+ pipeline of the release installed, and passes it every other argument: with a
54
+ Nextflow of your own (26.04.0 or newer), `nextflow run js2264/plexembler`
55
+ takes the same.
56
+
57
+ ## Quick start
58
+
59
+ ```bash
60
+ # with micromamba (step 2): AUGUSTUS's genes, BRAKER3 having no conda environment
61
+ plexembler run -profile micromamba --gene_predictor augustus \
62
+ --input species.csv --libraries libraries.csv --outdir results
63
+
64
+ # with a container engine: BRAKER3's genes
65
+ plexembler run -profile docker \
66
+ --input species.csv --libraries libraries.csv --outdir results
67
+ ```
68
+
69
+ ## Documentation
70
+
71
+ <https://js2264.github.io/plexembler/>: [concepts](https://js2264.github.io/plexembler/concepts/),
72
+ [usage](https://js2264.github.io/plexembler/usage/),
73
+ [outputs](https://js2264.github.io/plexembler/output/),
74
+ [the implementation plan](https://js2264.github.io/plexembler/plan/) and
75
+ [how to cite plexembler](https://js2264.github.io/plexembler/citation/).
@@ -0,0 +1,24 @@
1
+ {
2
+ "$comment": "Written by chromokit (https://github.com/js2264/chromokit). The files listed are the kit's: `npx github:js2264/chromokit sync` replaces them and `… check` refuses local edits. Put local changes in your own files instead: your stylesheet, your report template.",
3
+ "version": "0.2.0",
4
+ "target": "zensical",
5
+ "files": {
6
+ "docs/javascripts/chromokit.js": "sha256:862155458c809b647e6f45ed25cb1134e822817e6e7ceaccbdfdeb36fd40983e",
7
+ "docs/stylesheets/chromokit.css": "sha256:10ea76f6f2cd79228997f63dbdbfc076580d2c7c6c991c59f4e32cda6302ca45",
8
+ "overrides/main.html": "sha256:24ce2012e4c3bfcdbd643a57e81c11cc4e645c1597e2f36dda806e03248fcb82",
9
+ "overrides/partials/cx-page-footer.html": "sha256:c2c73dd0722deab073368444b46e82dd8b13774aa4c6c0ce7305f8c1fac92d1d",
10
+ "overrides/partials/header.html": "sha256:b0ab045a8d9d749ab9b9736b14947aed2783a27082d2121590217267287277ec",
11
+ "overrides/partials/search.html": "sha256:e75c9bae1df009516dccca6a83a1763e9962ca07971b33c1c4a36731e7c4d54a"
12
+ },
13
+ "report": {
14
+ "package": "plexembler",
15
+ "dir": "src/plexembler/_report",
16
+ "files": {
17
+ "src/plexembler/_report/__init__.py": "sha256:8cfa74dadb84789245d7d807ca829d9c9c1689ffc02ca9cb49227c402b145021",
18
+ "src/plexembler/_report/base.html.j2": "sha256:1cc71195ef52e2021f5f6e6bd0e10414df342e077f997356e20a1543f8d5d5b5",
19
+ "src/plexembler/_report/macros.html.j2": "sha256:2159cd5d416e5de64e2318b7a9271ca20763a5c28e32aa4837cd40d11a4ae6dc",
20
+ "src/plexembler/_report/report.css": "sha256:8d5accf05eca93dcd5a35881ec1564763e0e7fb841dee052474d3223af7c365f",
21
+ "src/plexembler/_report/report.js": "sha256:30941e1cfeaa2f86e657a3ac27dadce9ee6deb2e5b7936a52b2c0c3b84e2b1f3"
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,6 @@
1
+ # Python API
2
+
3
+ The Python package holds the commands the pipeline's steps run; its modules
4
+ are documented here as their functions become useful outside the command line.
5
+
6
+ ::: plexembler.rename
@@ -0,0 +1,53 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" role="img" aria-label="plexembler">
2
+ <title>plexembler</title>
3
+ <rect x=".5" y=".5" width="31" height="31" rx="6.5" fill="#17181a" stroke="#ffffff" stroke-opacity="0.14"/>
4
+ <rect x="2.25" y="2.25" width="3.44" height="3.44" rx="0.69" fill="#6ba4e8" fill-opacity="1"/>
5
+ <rect x="6.26" y="2.25" width="3.44" height="3.44" rx="0.69" fill="#6ba4e8" fill-opacity="0.42"/>
6
+ <rect x="10.27" y="2.25" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.11"/>
7
+ <rect x="14.28" y="2.25" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.08"/>
8
+ <rect x="18.29" y="2.25" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.07"/>
9
+ <rect x="22.3" y="2.25" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.07"/>
10
+ <rect x="26.31" y="2.25" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.07"/>
11
+ <rect x="2.25" y="6.26" width="3.44" height="3.44" rx="0.69" fill="#6ba4e8" fill-opacity="0.42"/>
12
+ <rect x="6.26" y="6.26" width="3.44" height="3.44" rx="0.69" fill="#6ba4e8" fill-opacity="1"/>
13
+ <rect x="10.27" y="6.26" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.15"/>
14
+ <rect x="14.28" y="6.26" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.11"/>
15
+ <rect x="18.29" y="6.26" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.08"/>
16
+ <rect x="22.3" y="6.26" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.07"/>
17
+ <rect x="26.31" y="6.26" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.07"/>
18
+ <rect x="2.25" y="10.27" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.11"/>
19
+ <rect x="6.26" y="10.27" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.15"/>
20
+ <rect x="10.27" y="10.27" width="3.44" height="3.44" rx="0.69" fill="#6cc48f" fill-opacity="1"/>
21
+ <rect x="14.28" y="10.27" width="3.44" height="3.44" rx="0.69" fill="#6cc48f" fill-opacity="0.42"/>
22
+ <rect x="18.29" y="10.27" width="3.44" height="3.44" rx="0.69" fill="#6cc48f" fill-opacity="0.32"/>
23
+ <rect x="22.3" y="10.27" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.08"/>
24
+ <rect x="26.31" y="10.27" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.07"/>
25
+ <rect x="2.25" y="14.28" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.08"/>
26
+ <rect x="6.26" y="14.28" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.11"/>
27
+ <rect x="10.27" y="14.28" width="3.44" height="3.44" rx="0.69" fill="#6cc48f" fill-opacity="0.42"/>
28
+ <rect x="14.28" y="14.28" width="3.44" height="3.44" rx="0.69" fill="#6cc48f" fill-opacity="1"/>
29
+ <rect x="18.29" y="14.28" width="3.44" height="3.44" rx="0.69" fill="#6cc48f" fill-opacity="0.42"/>
30
+ <rect x="22.3" y="14.28" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.11"/>
31
+ <rect x="26.31" y="14.28" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.59"/>
32
+ <rect x="2.25" y="18.29" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.07"/>
33
+ <rect x="6.26" y="18.29" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.08"/>
34
+ <rect x="10.27" y="18.29" width="3.44" height="3.44" rx="0.69" fill="#6cc48f" fill-opacity="0.32"/>
35
+ <rect x="14.28" y="18.29" width="3.44" height="3.44" rx="0.69" fill="#6cc48f" fill-opacity="0.42"/>
36
+ <rect x="18.29" y="18.29" width="3.44" height="3.44" rx="0.69" fill="#6cc48f" fill-opacity="1"/>
37
+ <rect x="22.3" y="18.29" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.15"/>
38
+ <rect x="26.31" y="18.29" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.11"/>
39
+ <rect x="2.25" y="22.3" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.07"/>
40
+ <rect x="6.26" y="22.3" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.07"/>
41
+ <rect x="10.27" y="22.3" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.08"/>
42
+ <rect x="14.28" y="22.3" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.11"/>
43
+ <rect x="18.29" y="22.3" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.15"/>
44
+ <rect x="22.3" y="22.3" width="3.44" height="3.44" rx="0.69" fill="#e3a857" fill-opacity="1"/>
45
+ <rect x="26.31" y="22.3" width="3.44" height="3.44" rx="0.69" fill="#e3a857" fill-opacity="0.42"/>
46
+ <rect x="2.25" y="26.31" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.07"/>
47
+ <rect x="6.26" y="26.31" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.07"/>
48
+ <rect x="10.27" y="26.31" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.07"/>
49
+ <rect x="14.28" y="26.31" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.59"/>
50
+ <rect x="18.29" y="26.31" width="3.44" height="3.44" rx="0.69" fill="#ffffff" fill-opacity="0.11"/>
51
+ <rect x="22.3" y="26.31" width="3.44" height="3.44" rx="0.69" fill="#e3a857" fill-opacity="0.42"/>
52
+ <rect x="26.31" y="26.31" width="3.44" height="3.44" rx="0.69" fill="#e3a857" fill-opacity="1"/>
53
+ </svg>