SigProfilerExtractor icon indicating copy to clipboard operation
SigProfilerExtractor copied to clipboard

Singularity container creation

Open Katerina10-cloud opened this issue 1 year ago • 5 comments

It would be helpful to have a Singularity container (image) of your package!

Katerina10-cloud avatar Feb 08 '24 14:02 Katerina10-cloud

Thanks for the feedback! This is something that we are hoping to have in a future release. We will update here when it is ready.

mdbarnesUCSD avatar Feb 23 '24 19:02 mdbarnesUCSD

I've built a docker image for the SigProfiler tools. I haven't extensively tested it, but it builds just fine. GRCh37 and GRCh38 are installed.

https://hub.docker.com/repository/docker/lculibrk/sigprofiler

singularity pull docker://lculibrk/sigprofiler:latest

lculibrk avatar May 21 '24 18:05 lculibrk

Update on my previous comment,

The container runs into the errors outlined here: https://github.com/AlexandrovLab/SigProfilerExtractor/issues/247

I'll try to rebuild and see if that helps. @mdbarnesUCSD , if this is an issue inherent to containerizing the SigProfiler suite, is there any guidance you can provide to workaround the issue? Happy to share the Dockerfile too.

lculibrk avatar May 22 '24 13:05 lculibrk

There are some issues that originate from the default behavior for SigProfilerMatrixGenerator and SigProfilerPlotting because of how they save and load files from site-packages. There are some updates that we are rolling out that enable this behavior to change by adding a parameter "volume" for a user specified location. SigProfilerExtractor will also need to be updated to utilize these changes before a singularity container will work. Here are the recent updates to SigProfilerAssignment.

mdbarnesUCSD avatar May 31 '24 18:05 mdbarnesUCSD

I tested the tool inside your Singularity container and it runs into the same errors as yours: #247

Katerina10-cloud avatar Jun 05 '24 14:06 Katerina10-cloud