pndni/freesurfer-6.0.1-container:1.1.0
$ singularity pull shub://pndni/freesurfer-6.0.1-container:1.1.0
Singularity Recipe
Bootstrap: shub
From: pndni/centos7-base:1.4.0
#OSVersion: 7
#MirrorURL: http://mirror.centos.org/centos-%{OSVERSION}/%{OSVERSION}/os/x86_64/
#Include: yum
%post
##############
# freesurfer #
##############
wget --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
mkdir /mnt/input
mkdir /mnt/output
mkdir /mnt/work_dir
%environment
export NO_FSFAST=1
export FREESURFER_HOME=/opt/freesurfer
source $FREESURFER_HOME/SetUpFreeSurfer.sh
%help
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)
%labels
Maintainer Steven Tilley
Version 1.1.0
FreeSurfer_License https://surfer.nmr.mgh.harvard.edu/fswiki/FreeSurferSoftwareLicense
FreeSurfer_URL https://surfer.nmr.mgh.harvard.edu/
FreeSurfer_Version 6.0.1
Collection
- Name: pndni/freesurfer-6.0.1-container
- License: GNU General Public License v3.0
View on Datalad
Metrics
key | value |
---|---|
id | /containers/pndni-freesurfer-6.0.1-container-1.1.0 |
collection name | pndni/freesurfer-6.0.1-container |
branch | master |
tag | 1.1.0 |
commit | 028bbd281382d92a10dc7d828456ba0322c04b0a |
version (container hash) | 8d821b840450292b3419cf002c2095b0 |
build date | 2019-05-01T22:22:28.491Z |
size (MB) | 11135 |
size (bytes) | 4768043039 |
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.