Skip to content

update singularity support#113

Open
owlang wants to merge 2 commits intoay-lab:masterfrom
owlang:master
Open

update singularity support#113
owlang wants to merge 2 commits intoay-lab:masterfrom
owlang:master

Conversation

@owlang
Copy link
Copy Markdown

@owlang owlang commented Mar 24, 2026

This is an alternative way of using singularity containers - not compatible with the bash wrapper (FitHiChIP_Singularity.sh).

When singularity.def is built, the resulting image should have FitHiChIP (v 11.0) + all dependencies set up inside. See %help for details and use singularity run-help for usage (different from FitHiChIP_Singularity.sh).

Some notes:

  1. I had to do some funny business with which b/c of the way FitHiChIP_HiCPro.sh executes. It may be worth considering updating the executable to use type -p over which. This is more modern/avoids clashes of differing which behavior. Maybe better would be to follow a more standard installation approach like make.
  2. I tried to hard version as much as possible for future-proofing reasons so this .def will need to be updated with any new releases. Not sure what your design philosophy is but it would be a (hopefully) straightforward adjustment to build from the most recent commit.

owlang added 2 commits March 19, 2026 15:17
Since there are several issue tickets indicating problems with container-based use (ay-lab#112, ay-lab#106, ay-lab#94, ay-lab#88, ay-lab#85), it may be helpful to users for the documentation to be updated accordingly. Not sure how docs are hosted but this may also need a redeployment after PR.
- adding .def file for building a singularity container with FitHiChIP + all dependencies set up inside the image built from this (see help for usage, different from FitHiChIP_Singularity.sh)
- removed old Singularity to avoid confusion - can always check history to bring it back
@owlang owlang mentioned this pull request Mar 24, 2026
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.

1 participant