diff --git a/DIALS/.licence b/DIALS/.licence new file mode 100644 index 0000000..3d3b837 --- /dev/null +++ b/DIALS/.licence @@ -0,0 +1,2 @@ +# Paul Scherrer Institute, Macromolecular Crystallography + 3938465545 2992269931 2851646202 2685600639 2346109776 3745393523 diff --git a/DIALS/README.md b/DIALS/README.md new file mode 100644 index 0000000..72fd11f --- /dev/null +++ b/DIALS/README.md @@ -0,0 +1,25 @@ +XDS + +Step 1: login with your -adm account + +``` +kinit xxxx_x-adm +aklog +``` + +Step 2: load the latest Pmodules package + +``` +module use unstable +module load Pmodules/2.0.0 +``` + +Step 3: go into DIALS directory, update config.yaml to add newest release version and build module with that release name + +``` +cd DIALS +vi files/config.yaml +./build 3.25.0 +``` + +Step 4: confirm that the module loads as expected diff --git a/DIALS/build b/DIALS/build new file mode 100644 index 0000000..4a4e3ad --- /dev/null +++ b/DIALS/build @@ -0,0 +1,20 @@ +#!/usr/bin/env modbuild + + +pbuild::prep() { :; } + +pbuild::configure() { :; } + +pbuild::compile() { :; } + +pbuild::install() { + cd "${PREFIX}" + wget https://dials.diamond.ac.uk/diamond_builds/dials-linux-x86_64-conda3.tar.xz + tar -xJf dials-linux-x86_64-conda3.tar.xz + cd dials-installer-dev + ./install --prefix=$PREFIX + cd "${PREFIX}" + rm dials-linux-x86_64-conda3.tar.xz + rm -r dials-installer-dev + ln -s dials-dev20251026 dials-v3-25-0 +} diff --git a/DIALS/files/config.yaml b/DIALS/files/config.yaml new file mode 100644 index 0000000..26c034a --- /dev/null +++ b/DIALS/files/config.yaml @@ -0,0 +1,11 @@ +--- +format: 1 +DIALS: + defaults: + group: MX + overlay: base + relstage: stable + versions: + 3.25.0: + config: + relstage: unstable diff --git a/DIALS/modulefile b/DIALS/modulefile new file mode 100644 index 0000000..3cbe3fe --- /dev/null +++ b/DIALS/modulefile @@ -0,0 +1,14 @@ +#%Module1.0 + +module-whatis "DIALS: Diffraction Integration for Advanced Light Sources" +module-url "https://dials.github.io/" +module-license "DIALS license" +module-maintainer "Jiaxin Duan " + +module-help " +X-ray crystallography for structural biology has benefited greatly from a number of advances in recent years including high performance pixel array detectors, new beamlines capable of delivering micron and sub-micron focus and new light sources such as X-FELs. The DIALS project is a collaborative endeavour to develop new diffraction integration software to meet the data analysis requirements presented by these recent advances. There are three end goals: to develop an extensible framework for the development of algorithms to analyse X-ray diffraction data; the implementation of algorithms within this framework and finally a set of user facing tools using these algorithms to allow integration of data from diffraction experiments on synchrotron and free electron sources. + +License : https://dials.github.io/license.html +" + +puts stdout "source $PREFIX/dials-v3-25-0/dials_env.sh;"