Skip to content

Apptainer/Singularity container support - #78

Open
epbrenner wants to merge 17 commits into
mainfrom
singularity-support
Open

epbrenner wants to merge 17 commits into
mainfrom
singularity-support

Conversation

@epbrenner

Copy link
Copy Markdown
Contributor

What's in this one?

  • Improved BFC recognition of downloaded resources for runDataProcessing()
  • Added the ability to resume Panaroo merges if they fail mid-merge (no re-running all pangenomes from scratch)
  • Added support for Apptainer instead of Docker, allowing users to run amRdata on HPC clusters that may not have Docker

How do I test it?

  • Slither onto your favorite HPC, create an environment, and let 'er rip with prepareGenomes and runDataProcessing.

TODO:
I'd like to add setup documentation or materials for HPC installs. Would be nice, but not a v1 blocker.

AbhirupaGhosh and others added 13 commits September 30, 2026 18:35
generateSummary and generatePlots read ORBs and the country names are only kept if they have valid ISO3 codes.
I went through manually first.

These are from Claude Sonnet 5.5.
Propose function renaming scheme (dev/function_renaming.md)

Adds a proposal for standardizing function names across amRdata. Nothing
in R/ is renamed yet; this is for review first.

Rules (AG et al.,):
- Exported: lowerCamelCase, no leading dot.
- Internal: leading dot + lowerCamelCase.
- Names follow verbNoun (.fetchBVBRCData, .buildPanarooGeneTable);
  `is` predicates are fine (.isCompleteSet).
- .manifest*, .bfc* and .cli* keep their shared prefix, in camelCase.
- Acronyms stay uppercase (ID, AMR, DB, QC, API, GFF, GTO, TSV, FASTA,
  ORB, HMMER, CDHIT, BVBRC); DuckDB follows the product spelling.
- verbNoun takes priority over `2`/`To` names
  (.panaroo2duckdb -> .writePanarooTables).
- The .amr_ prefix is dropped.

Known gaps (to fix before implementing):
- ~40 functions in R/ have no row yet: resumeDyads, the .amr_theme /
  .amr_filter_evidence / .amr_resolve_evidence_mode helpers, the
  HMMER/dyad and Panaroo import helpers, and the .plot*/format helpers.
- Some rows refer to functions no longer defined in R/ (e.g.
  buildMatrices, .parseProteinClusters, .panaroo2* helpers) and need
  to be dropped or reconciled.
- Singular/plural and abbreviation choices are not yet consistent.
In progress! Enabling Apptainer/Singularity/.sif support and not just Docker on HPC clusters. Also adds Panaroo resume functionality that enables recovery in the middle of a split-jobs run, in cases where a merge might fail due to memory limits.
Trying to address a GTO download bug through CLI branch. Adding better BFC caching and detection of prepared resources like databases.
Comment thread R/data_processing.R Resolved
Comment thread R/data_processing.R Resolved
Comment thread R/data_processing.R Resolved
AbhirupaGhosh and others added 4 commits November 12, 2026 18:27
Co-authored-by: Abhirupa Ghosh <100681585+AbhirupaGhosh@users.noreply.github.com>
Some genomes that fail to download complete filesets were sneaking in as genomes with no features. That is not in fact true. Now verifying that genomes used downstream in data processing have data to process.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants