diff --git a/EM/Gctf/Gctf b/EM/Gctf/Gctf new file mode 100755 index 0000000000000000000000000000000000000000..a7ddb04c977afe427a2657f12ff34e1fcef84b3d --- /dev/null +++ b/EM/Gctf/Gctf @@ -0,0 +1,6 @@ +#!/bin/sh +# Wrapper for Gctf on merlin +module purge +module use EM +module load cuda/8.0.44 Gctf/1.06 +exec Gctf-v1.06_sm_30_cu8.0_x86_64 "$@" diff --git a/EM/Gctf/README b/EM/Gctf/README new file mode 100644 index 0000000000000000000000000000000000000000..09585488989cbaf420d2af70b545c7c8d9565e45 --- /dev/null +++ b/EM/Gctf/README @@ -0,0 +1,10 @@ +# GCTF + +## Installation + +1. Download binaries from https://www2.mrc-lmb.cam.ac.uk/research/locally-developed-software/zhang-software/ +2. Update files/variants +3. Run `./build ` to create directories +4. Move all executables to /opt/psi/EM/Gctf/$VERSION/bin +5. Create wrapper script at /opt/psi/EM/Gctf/$VERSION/bin/Gctf based on ./Gctf +6. Fix permissions: chmod 755 /opt/psi/EM/Gctf/$VERSION/bin/* diff --git a/EM/Gctf/build b/EM/Gctf/build new file mode 100755 index 0000000000000000000000000000000000000000..e57a477a525140e4f679fa4444b585bb5482a9ce --- /dev/null +++ b/EM/Gctf/build @@ -0,0 +1,22 @@ +#!/usr/bin/env modbuild + +# Binary distribution with manual installation. See README.md + +pbuild::add_to_group 'EM' + +pbuild::prep() { + : +} + +pbuild::configure() { + : +} + +pbuild::compile() { + : +} + +pbuild::install() { + : +} + diff --git a/EM/Gctf/files/variants b/EM/Gctf/files/variants new file mode 100644 index 0000000000000000000000000000000000000000..86eba3ed3508eb42f501cf5c40bc4ac3a451442d --- /dev/null +++ b/EM/Gctf/files/variants @@ -0,0 +1,2 @@ +Gctf/0.50 stable +Gctf/1.06 stable diff --git a/EM/Gctf/modulefile b/EM/Gctf/modulefile new file mode 100644 index 0000000000000000000000000000000000000000..385b609294971593c14a6150b2ad05741251b45e --- /dev/null +++ b/EM/Gctf/modulefile @@ -0,0 +1,14 @@ +#%Module1.0 + +module-whatis "Real-time CTF determination and correction" +module-url "https://www2.mrc-lmb.cam.ac.uk/research/locally-developed-software/zhang-software/" +module-license "free" +module-maintainer "Spencer Bliven " + +module-help " +Citation: Zhang K. (2016). Gctf: Real-time CTF determination and correction. JSB, 193: 1-12. + +The `Gctf` script in this module includes the correct CUDA dependency. Other +executables need CUDA loaded separately. +" +