pndni/dcm-conversion-container:3.0.0

$ singularity pull shub://pndni/dcm-conversion-container:3.0.0

Singularity Recipe

Bootstrap: shub
From: pndni/centos7-base:1.2.0

%post
    yum install -y epel-release
    yum install -y python36 python36-pip python36-devel libstdc++-static pigz python36-virtualenv

%appinstall heudiconv
    virtualenv-3.6 /opt/heudiconv
    source /opt/heudiconv/bin/activate
    pip install heudiconv
    deactivate

%appenv heudiconv
    source ${SCIF_APPENV_dcm2niix}
    source /opt/heudiconv/bin/activate

%apprun heudiconv
    heudiconv "$@"

%appinstall dcm2niix
    git clone --branch v1.0.20181125 https://github.com/rordenlab/dcm2niix.git
    cd dcm2niix
    mkdir build && cd build
    /opt/cmake/bin/cmake -DCMAKE_INSTALL_PREFIX=/opt/dcm2niix ..
    make
    make install

%appenv dcm2niix
    export PATH=/opt/dcm2niix/bin:$PATH

%apprun dcm2niix
    dcm2niix "$@"

%labels
    Maintainer Steven Tilley
    Version 3.0.0

Collection


View on Datalad

Metrics

key value
id /containers/pndni-dcm-conversion-container-3.0.0
collection name pndni/dcm-conversion-container
branch 3.0.0
tag 3.0.0
commit f74e7b331e5d610b54c8549540b3549fb3c628ba
version (container hash) 35b352a1ea27332541cf385d9aa73ebf
build date 2019-04-04T22:58:11.507Z
size (MB) 1497
size (bytes) 518385695
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.