diff --git a/EM/ctffind4/README b/EM/ctffind4/README new file mode 100644 index 0000000..8044d39 --- /dev/null +++ b/EM/ctffind4/README @@ -0,0 +1,8 @@ +# ctffind4 + +## Installation + + ./build + +Installs the pre-build binaries. + diff --git a/EM/ctffind4/build b/EM/ctffind4/build new file mode 100755 index 0000000..ad8ea2a --- /dev/null +++ b/EM/ctffind4/build @@ -0,0 +1,36 @@ +#!/usr/bin/env modbuild + +# Binary distribution with manual installation. See README.md + +pbuild::add_to_group 'EM' + +pbuild::set_download_url "https://grigoriefflab.umassmed.edu/system/tdf?path=ctffind-${V_PKG}-linux64.tar.gz&file=1&type=node&id=26" + +#pbuild::prep() { +# local filename="ctffind-${V_PKG}-linux64.tar.gz" +# local dst="$PMODULES_DISTFILESDIR/${filename}" +# if [ -f "$dst" ]; then +# echo "Found cached $dst" >&2 +# else +# ${curl:-curl} \ +# --location \ +# --fail \ +# --output "$dst" \ +# "https://grigoriefflab.umassmed.edu/system/tdf?path=${filename}&file=1&type=node&id=26" +# fi +#} +# + +pbuild::configure() { + : +} + +pbuild::compile() { + : +} + +pbuild::install() { + mkdir -p "$PREFIX/bin" + mv "$SRC_DIR/"* "$PREFIX/bin" +} + diff --git a/EM/ctffind4/files/variants b/EM/ctffind4/files/variants new file mode 100644 index 0000000..1f3614f --- /dev/null +++ b/EM/ctffind4/files/variants @@ -0,0 +1,2 @@ +ctffind4/4.1.8 stable +ctffind4/4.1.14 stable diff --git a/EM/ctffind4/modulefile b/EM/ctffind4/modulefile new file mode 100644 index 0000000..6098b06 --- /dev/null +++ b/EM/ctffind4/modulefile @@ -0,0 +1,10 @@ +#%Module1.0 + +module-whatis "CTF estimation from electron micrographs" +module-url "https://grigoriefflab.umassmed.edu/ctffind4" +module-license "The Janelia Research Campus Software License 1.2 http://license.janelia.org/license/janelia_license_1_2.html" +module-maintainer "Spencer Bliven " + +module-help " +Mindell, JA, Grigorieff N. 2003. Accurate determination of local defocus and specimen tilt in electron microscopy. J Struct Biol. 142:334-47. +"