romxero/HCP_Pipeline_Singulartiy:latest
$ singularity pull shub://romxero/HCP_Pipeline_Singulartiy:latest
Singularity Recipe
Bootstrap: shub
From: pndni/centos7-base:1.2.0
#OSVersion: 7
#MirrorURL: http://mirror.centos.org/centos-%{OSVERSION}/%{OSVERSION}/os/x86_64/
#Include: yum
%post
yum -y install git scipy numpy expat-devel libX11-devel mesa-libGL-devel zlib-devel libpng12 libmng
#installing the packages here
##############
# freesurfer #
##############
wget -4 --no-verbose --output-document=/root/freesurfer.tar.gz https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/6.0.1/freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.1.tar.gz
tar -C /opt -xzvf /root/freesurfer.tar.gz
rm /root/freesurfer.tar.gz
#######
# fsl #
#######
wget -4 --output-document=/root/fslinstaller.py https://fsl.fmrib.ox.ac.uk/fsldownloads/fslinstaller.py
python /root/fslinstaller.py -p -V 6.0.1 -d /opt/fsl
rm /root/fslinstaller.py
##########
# Connectome
##########
wget -4 -O /root/workbench-rh_linux64-v1.3.2.zip https://www.humanconnectome.org/storage/app/media/workbench/workbench-rh_linux64-v1.3.2.zip
unzip /root/workbench-rh_linux64-v1.3.2.zip -d /opt
rm /root/workbench-rh_linux64-v1.3.2.zip -d
######
# University of Washington Gradunwrap
######
wget -4 -O /root/wu_gw_1.1.0.tar.gz https://github.com/Washington-University/gradunwarp/archive/v1.1.0.tar.gz
tar -C /root -zxvf /root/wu_gw_1.1.0.tar.gz
cd /root/gradunwarp-1.1.0/
python setup.py install
rm /root/wu_gw_1.1.0.tar.gz
######
#MSM for Centos
######
mkdir -p /opt/msm/bin
wget -4 -O /opt/msm/bin/msm_centos https://github.com/ecr05/MSM_HOCR/releases/download/1.0/msm_centos
######
#FSL Fix
######
wget -4 -O /root/fix.tar.gz http://www.fmrib.ox.ac.uk/~steve/ftp/fix.tar.gz
tar -C /opt/fsl -zxvf /root/fix.tar.gz
###Grabing license files
cd /root
git clone https://github.com/romxero/HCP_Pipeline_Singulartiy.git
cp /root/HCP_Pipeline_Singulartiy/license.txt /opt/freesurfer/license.txt
%environment
##Placing key environment things here
export NO_FSFAST=1
export FREESURFER_HOME=/opt/freesurfer
source $FREESURFER_HOME/SetUpFreeSurfer.sh
export FSLDIR=/opt/fsl
source $FSLDIR/etc/fslconf/fsl.sh
export PATH=$FSLDIR/bin:$PATH
export WKBLDIR=/opt/workbench/
export PATH=$FSLDIR/bin_rh_linux64:$PATH
export PATH=/opt/msm/bin:$PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/workbench/libs_rh_linux64
# License https://surfer.nmr.mgh.harvard.edu/fswiki/FreeSurferSoftwareLicense
# URL https://surfer.nmr.mgh.harvard.edu/
# Version 6.0.1
# Using freesurfer requires a freesurfer license file.
# A license file may be obtained from
# https://surfer.nmr.mgh.harvard.edu/registration.html
# Ensure that the license file is visible from the container,
# and set the environment variable FS_LICENSE to point to it
# (or copy the file to /opt/freesurfer/license.txt from
# inside the container)
# License https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/Licence
# URL https://fsl.fmrib.ox.ac.uk/fsl/fslwiki
# Version 6.0.1
# Before using FSL you must agree to the license at
# https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/Licence
%labels
Maintainer Randall White
Maintainer Steven Tilley
Version 1.2
Collection
- Name: romxero/HCP_Pipeline_Singulartiy
- License: Other
View on Datalad
Metrics
key | value |
---|---|
id | /containers/romxero-HCP_Pipeline_Singulartiy-latest |
collection name | romxero/HCP_Pipeline_Singulartiy |
branch | master |
tag | latest |
commit | f31fcf879ec3ecaa03c0d74d674973259d98f11a |
version (container hash) | a93add5e33a5301db080b8bf2e9143e1 |
build date | 2021-03-29T19:07:26.113Z |
size (MB) | 27971 |
size (bytes) | 14069002271 |
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.