forked from ArcInstitute/state
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingularity.def
More file actions
40 lines (30 loc) · 1.1 KB
/
singularity.def
File metadata and controls
40 lines (30 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Bootstrap: docker
From: ubuntu:22.04
%labels
Author Nick Youngblut
Version 1.0
Description STATE - machine learning model for cellular perturbation prediction
%help
This container includes STATE (https://github.com/ArcInstitute/state), a machine learning model
that predicts cellular perturbation response across diverse contexts.
STATE is trained on single-cell RNA-seq data and can predict how cells respond to various
perturbations including drugs, genetic modifications, and environmental changes.
To build with singularity, run:
singularity build state.sif singularity.def
To run the container, run:
singularity run state.sif --help
%environment
export PATH="/root/.local/bin:$PATH"
%post
# Install system dependencies
apt-get update && apt-get install -y \
curl \
build-essential \
python3-dev \
&& rm -rf /var/lib/apt/lists/*
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install STATE
/root/.local/bin/uv tool install arc-state
%runscript
exec state "$@"