pndni/dcm-conversion-container:2.0.0

$ singularity pull shub://pndni/dcm-conversion-container:2.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

%appinstall heudiconv
    pip3.6 install virtualenv
    virtualenv /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 2.0.0

Collection


View on Datalad

Metrics

key value
id /containers/pndni-dcm-conversion-container-2.0.0
collection name pndni/dcm-conversion-container
branch 2.0.0
tag 2.0.0
commit 29511f0c7de607794ba4e461fe88fad8251331dc
version (container hash) 05cbe5496b20acb44f80a9039b2e0a00
build date 2019-04-04T22:58:11.513Z
size (MB) 1497
size (bytes) 519082015
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.