tjhendrickson/MACCHIATO:latest
$ singularity pull shub://tjhendrickson/MACCHIATO:latest
Singularity Recipe
Bootstrap: docker
From: ubuntu:18.04
%files
run.py /run.py
tools /tools
workflow /workflow
%environment
export LC_ALL=C
export CARET7DIR=/opt/workbench/bin_rh_linux64
export OS=Linux
export FS_OVERRIDE=0
export FIX_VERTEX_AREA=
export FSF_OUTPUT_FORMAT=nii.gz
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH
export PYTHONPATH=""
%post
# Make local folders/files
mkdir /share
mkdir /scratch
mkdir /local-scratch
mkdir /input_dir
mkdir /output_dir
mkdir /fsf_template_dir
touch /parcel_dlabel.nii
# Install basic utilities
apt-get -qq update
apt-get install -yq --no-install-recommends libquadmath0 libglib2.0-0 python wget bc bzip2 ca-certificates libgomp1 perl-modules tar tcsh unzip git libgomp1 perl-modules curl libgl1-mesa-dev libfreetype6 libfreetype6-dev nano
# Install miniconda3 and needed python tools
cd /opt
wget https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.sh -O /opt/Miniconda3.sh
bash /opt/Miniconda3.sh -b -p /opt/Miniconda3
export PATH="/opt/Miniconda3/bin:${PATH}"
. /opt/Miniconda3/etc/profile.d/conda.sh
conda activate
conda install -y scipy numpy pandas mpi4py
conda install -c conda-forge -y statsmodels
conda install -c conda-forge -y "h5py>=2.9=mpi*"
/opt/Miniconda3/bin/pip install nibabel cifti PyWavelets nilearn sklearn git+git://github.com/aestrivex/bctpy.git@5f19d5aa9d14bf638ae6baf1b25280cf1222a476
/opt/Miniconda3/bin/pip install argunparse
# Install the validator 0.26.11, along with pybids 0.6.5
apt-get update
apt-get install -y curl
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt-get remove -y curl
apt-get install -y nodejs
npm install -g bids-validator@0.26.11
/opt/Miniconda3/bin/pip install git+https://github.com/INCF/pybids.git@0.6.5
# Install entropy toolbox: https://raphaelvallat.com/entropy/build/html/index.html
/opt/Miniconda3/bin/pip install git+git://github.com/raphaelvallat/entropy.git@3bf3b6e937687e77965ecb5bfdc69e2a0f05936
# Install Connectome Workbench version 1.3.2
apt-get update
cd /opt
wget http://brainvis.wustl.edu/workbench/workbench-rh_linux64-v1.3.2.zip
unzip workbench-rh_linux64-v1.3.2.zip
export PATH=/opt/workbench/bin_rh_linux64:${PATH}
# Make scripts executable
chmod +x -R /run.py /tools /workflow
%runscript
. /opt/Miniconda3/etc/profile.d/conda.sh
conda activate
exec /run.py "$@"
Collection
- Name: tjhendrickson/MACCHIATO
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/tjhendrickson-MACCHIATO-latest |
collection name | tjhendrickson/MACCHIATO |
branch | master |
tag | latest |
commit | c6d89705dffebd76ca58f4a8e791319744e95bc3 |
version (container hash) | a1414512212c6eba12f1650f7f3ea093 |
build date | 2021-04-11T14:45:08.737Z |
size (MB) | 3126.0 |
size (bytes) | 1379639327 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.