Skip to main content

biobb_haddock is the Biobb module collection to compute information-driven flexible protein-protein docking.

Project description

fair-software.eu

biobb_haddock

Introduction

biobb_haddock is the Biobb module collection to compute information-driven flexible protein-protein docking. Biobb (BioExcel building blocks) packages are Python building blocks that create new layer of compatibility and interoperability over popular bioinformatics tools. The latest documentation of this package can be found in our readthedocs site: latest API documentation.

Version

v5.0.0 2024.2

Install CNS

1 Download the source code of CNS

In this case: cns_solve_1.3_all.tar.gz

From the CNS site create a new folder in the Haddock folder and uncompress it.

# Replace /__PATH__/__to__/ by your path to the haddock3 directory.
cd /__PATH__/__to__/haddock3
mkdir haddock3/CNS
cp cns_solve_1.3_all.tar.gz haddock3/CNS/
cd haddock3/CNS/
tar xvzf cns_solve_1.3_all.tar.gz

2 Download the Intel Fortran and C++ offline compilers

In this case: m_fortran-compiler-classic_p_2022.0.0.63_offline.dmg and m_cpp-compiler-classic_p_2022.0.0.62_offline.dmg

From the Intel developers site and double click to install them.

3 Configure the CNS environment

3.1 cns_solve_env:

# Replace /__PATH__/__to__/ by your path to the haddock3 directory.
cd /__PATH__/__to__/haddock3/CNS
vim cns_solve_1.3/cns_solve_env

Modify the CNS_SOLVE env var:

# CHANGE THE NEXT LINE TO POINT TO THE LOCATION OF THE CNSsolve DIRECTORY

            setenv CNS_SOLVE '_CNSsolve_location_'

#
# ==========================================================================

In this case:

# Replace /__PATH__/__to__/ by your path to the haddock3 directory.

            setenv CNS_SOLVE '/__PATH__/__to__/haddock3/CNS/cns_solve_1.3/'

3.2 rtf.inc:

# Replace /__PATH__/__to__/ by your path to the haddock3 directory.
cd /__PATH__/__to__/haddock3/CNS
vim cns_solve_1.3/source/rtf.inc

Modify all the MX (maximum) variables adding one extra zero to all of them:

PARAMETER (MXRTRS=200,NICM=50) --> PARAMETER (MXRTRS=2000,NICM=50)
PARAMETER (MXRTA=2000)         --> PARAMETER (MXRTA=20000)
PARAMETER (MXRTX=2000)         --> PARAMETER (MXRTX=20000)
PARAMETER (MXRTB=2000)         --> PARAMETER (MXRTB=20000)
PARAMETER (MXRTT=3000)         --> PARAMETER (MXRTT=30000)
PARAMETER (MXRTP=2000)         --> PARAMETER (MXRTP=20000)
PARAMETER (MXRTI=2000)         --> PARAMETER (MXRTI=20000)

4 Compile and link CNS

# Replace /__PATH__/__to__/ by your path to the haddock3 directory.
cd /__PATH__/__to__/haddock3/CNS/cns_solve_1.3
make install

If everything ended well, one of the last output lines will be:

created executable file cns_solve-xxxxxxxxx.exe

The xxxxxxxxx will be a different number on each build.

Finally link the CNS binary:

# Replace /__PATH__/__to__/ by your path to the haddock3 directory.
cd /__PATH__/__to__/haddock3
mkdir -p bin/
#Replace the  `xxxxxxxxx` and the __PATH__TO_BIN__ by your binary file
ln -s CNS/__PATH__TO_BIN__/cns_solve-xxxxxxxxx.exe bin/cns

Installation

Using PIP:

Important: PIP only installs the package. All the dependencies must be installed separately. To perform a complete installation, please use ANACONDA, DOCKER or SINGULARITY.

Using ANACONDA:

Using DOCKER:

  • Installation:

      docker pull quay.io/biocontainers/biobb_haddock:5.0.0--pyhdfd78af_0
    
  • Usage:

      docker run quay.io/biocontainers/biobb_haddock:5.0.0--pyhdfd78af_0 <command>
    

Using SINGULARITY:

MacOS users: it's strongly recommended to avoid Singularity and use Docker as containerization system.

  • Installation:

      singularity pull --name biobb_haddock.sif https://depot.galaxyproject.org/singularity/biobb_haddock:5.0.0--pyhdfd78af_0
    
  • Usage:

      singularity exec biobb_haddock.sif <command>
    

The command list and specification can be found at the Command Line documentation.

Copyright & Licensing

This software has been developed in the MMB group at the BSC & IRB for the European BioExcel, funded by the European Commission (EU H2020 823830, EU H2020 675728), EU Horizon Europe [101093290] (https://cordis.europa.eu/project/id/101093290).

Licensed under the Apache License 2.0, see the file LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biobb_haddock-5.0.0.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

biobb_haddock-5.0.0-py3-none-any.whl (36.1 kB view details)

Uploaded Python 3

File details

Details for the file biobb_haddock-5.0.0.tar.gz.

File metadata

  • Download URL: biobb_haddock-5.0.0.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for biobb_haddock-5.0.0.tar.gz
Algorithm Hash digest
SHA256 6a41e63280f577e16e923bc1027967c37a3dfca823cc21803324c6fe33786bb8
MD5 670d4a761c8acaedd9c9d4192fb015f8
BLAKE2b-256 810005fd3565d65137431d4dbfea930fa2972f9cd3713435b6f5cb56d3d2c147

See more details on using hashes here.

File details

Details for the file biobb_haddock-5.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for biobb_haddock-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 235c89a2042616de1368f9c18d46cb936dcd0303904e149050203c2dd31db6b7
MD5 3ce8767279fa2042cf5d34771bbe1f96
BLAKE2b-256 49933d167303a3d2ef28129e6246de7cdf97c37bb37c3d3a8ad1306e6242fc31

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page