From e783deb71ee8ff75aa303cb585cf57665114748c Mon Sep 17 00:00:00 2001 From: Spencer Bliven Date: Wed, 30 Nov 2022 17:01:09 +0100 Subject: [PATCH] Create ctffind4 build script & install 4.1.14 --- EM/ctffind4/README | 8 ++++++++ EM/ctffind4/build | 36 ++++++++++++++++++++++++++++++++++++ EM/ctffind4/files/variants | 2 ++ EM/ctffind4/modulefile | 10 ++++++++++ 4 files changed, 56 insertions(+) create mode 100644 EM/ctffind4/README create mode 100755 EM/ctffind4/build create mode 100644 EM/ctffind4/files/variants create mode 100644 EM/ctffind4/modulefile 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. +"