Add Rosetta v3.15 for x86 and ARM #16

Merged
duan_j merged 2 commits from Rosetta_3.15 into main 2025-11-21 12:00:42 +01:00
4 changed files with 54 additions and 51 deletions

View File

@@ -1,18 +1,5 @@
### Rosetta installation remarks:
# Rosetta
As of July 2024, phenix 1.21 exists, and also Rosetta 3.14. These do not work together , as phenix/1.21.1 misses a file called command_line.py , which is existent in phenix 1.20 and is required for Rosetta. Also the compilation of phenix+Rosetta fails on RH7, so def needs to be done on RH8 nodes (Ra) and Rosetta 3.14 fails during compilation. --> check for new phenix releases if the compatabilty with Rosetta latest release was tested etc .
As a result, phenix/1.20 plus Rosetta 3.13 is used. (July 2024)
The installation of Rosetta +phenix requires a fully functional new phenix installation. A phenix command is run after the installation of Rosetta that builds the interface between the two:
- Install phenix ( see phenix )
- Install Rosetta as usual (see Pmodules MX Rosetta build script)
- copy the site.settings file into the correct folder as described in "NOTE: On linux, if you are using GCC 5.1 or later (Ubuntu 16.04 or later), there is an ABI change that requires an additional flag to allow linking between our CentOS 6 binary build and Rosetta. To apply this flag, copy this site.settings file to ${PHENIX_ROSETTA_PATH}/main/source/tools/build/site.settings before running this final step" "(https://phenix-online.org/documentation/reference/rosetta_install.html)
- then run the command
rosetta.build_phenix_interface nproc=10
- run rosetta.run_tests to test it.
IMPORTANT, both phenix and rosetta need to have the same file permisssions /owner as described in the phenix readme. In both cases the recommendation is to do it as -adm account on /afs/psi.ch/group/HPCE/user/xxx and then run the installation from there (RH8 needed, RA therefore )
The Rosetta software suite includes algorithms for computational modeling and analysis of protein structures. It has enabled notable scientific advances in computational biology, including de novo protein design, enzyme design, ligand docking, and structure prediction of biological macromolecules and macromolecular complexes.
https://github.com/RosettaCommons/rosetta

View File

@@ -1,21 +1,21 @@
#!/usr/bin/env modbuild
pbuild::prep(){
:
}
pbuild::configure(){
pbuild::configure() {
:
}
pbuild::compile() {
:
cd "$SRC_DIR/main/source" || exit 1
./scons.py -j10 mode=release bin
}
pbuild::install() {
mkdir "$PREFIX"
cd "$PREFIX"
tar -xf "${PMODULES_DISTFILESDIR}/Rosetta-${V}.tgz" --strip-components=1
# Copy the contents of the source code into <PREFIX>
cp -r "$SRC_DIR/main/"* "$PREFIX/"
# Ensure target directory exists
mkdir -p "$PREFIX/bin"
# Copy compiled binaries to the installation directory
install -m 755 "$SRC_DIR/main/source/bin/"* "$PREFIX/bin/"
}

View File

@@ -1,3 +1,5 @@
---
# yamllint disable rule:line-length
format: 1
Rosetta:
defaults:
@@ -5,7 +7,32 @@ Rosetta:
overlay: base
relstage: unstable
urls:
- url: https://www.rosettacommons.org/downloads/academic/3.13/rosetta_bin_linux_3.13_bundle.tgz
name: Rosetta-${V}.tgz
- url: https://downloads.rosettacommons.org/downloads/academic/${V_PKG}/rosetta_source_${V_PKG}_bundle.tar.bz2
shasums:
rosetta_source_3.15_bundle.tar.bz2: ac4665fb0173ac1e1ed060d4a894964d14a32aba49e3ee2f3f50e83c26ba0fb1
versions:
3.13:
3.15:
variants:
- overlay: base
systems: [.*.merlin7.psi.ch]
target_cpus: [x86_64]
relstage: unstable
build_requires:
- gcc/12.3.0
- Python/3.9.21
runtime_deps:
- gcc/12.3.0
- Python/3.9.21
- overlay: base
target_cpus: [aarch64]
systems: [gpu0.*.merlin7.psi.ch]
relstage: unstable
build_requires:
- gcc/12.3.0
- Python/3.9.21
runtime_deps:
- gcc/12.3.0
- Python/3.9.21

View File

@@ -1,25 +1,14 @@
#%Module1.0
module-whatis "Rosetta™ is a molecular modeling software package for understanding protein structures, protein design, protein docking, protein-DNA and protein-protein interactions."
module-url "https://www.rosettacommons.org/home"
module-license "Academic License"
module-maintainer "greta.assmann@psi.ch>"
module-whatis "The Rosetta software suite includes algorithms for computational modeling and analysis of protein structures"
module-url "https://github.com/RosettaCommons/rosetta"
module-license "Rosetta Software Non-Commercial License Agreement (https://github.com/RosettaCommons/rosetta?tab=License-1-ov-file)"
module-maintainer "João Pedro Agostinho de Sousa <joao.agostinho-de-sousa@psi.ch>"
module-help "
The Rosetta software suite includes algorithms for computational modeling and analysis of protein structures. It has enabled notable scientific advances in computational biology, including de novo protein design, enzyme design, ligand docking, and structure prediction of biological macromolecules and macromolecular complexes
.
Rosetta development began in the laboratory of Dr. David Baker at the University of Washington as a structure prediction tool but since then has been adapted to solve common computational macromolecular problems.
Development of Rosetta has moved beyond the University of Washington into the members of RosettaCommons, which include government laboratories, institutes, research centers, and partner corporations.
The Rosetta community has many goals for the software, such as:
Understanding macromolecular interactions
Designing custom molecules
Developing efficient ways to search conformation and sequence space
Finding a broadly useful energy functions for various biomolecular representations
module-help "
The Rosetta software suite includes algorithms for computational modeling and
analysis of protein structures. It has enabled notable scientific advances in
computational biology, including de novo protein design, enzyme design, ligand
docking, and structure prediction of biological macromolecules and
macromolecular complexes.
"
prepend-path PHENIX_ROSETTA_PATH $PREFIX