https://img.shields.io/github/v/tag/bioexcel/biobb_haddock?label=Version https://img.shields.io/pypi/v/biobb-haddock.svg?label=Pypi https://img.shields.io/conda/vn/bioconda/biobb_haddock?label=Conda https://img.shields.io/conda/dn/bioconda/biobb_haddock?label=Conda%20Downloads https://img.shields.io/badge/Docker-Quay.io-blue https://img.shields.io/badge/Singularity-GalaxyProject-blue

https://img.shields.io/badge/OS-Unix%20%7C%20MacOS-blue https://img.shields.io/pypi/pyversions/biobb-haddock.svg?label=Python%20Versions https://img.shields.io/badge/License-Apache%202.0-blue.svg https://img.shields.io/badge/Open%20Source%3f-Yes%21-blue

https://readthedocs.org/projects/biobb-haddock/badge/?version=latest&label=Docs https://img.shields.io/website?down_message=Offline&label=Biobb%20Website&up_message=Online&url=https%3A%2F%2Fmmb.irbbarcelona.org%2Fbiobb%2F https://img.shields.io/badge/Youtube-tutorial-blue?logo=youtube&logoColor=red https://zenodo.org/badge/DOI/10.1038/s41597-019-0177-4.svg https://img.shields.io/endpoint?color=brightgreen&url=https%3A%2F%2Fapi.juleskreuer.eu%2Fcitation-badge.php%3Fshield%26doi%3D10.1038%2Fs41597-019-0177-4

https://docs.bioexcel.eu/biobb_haddock/junit/testsbadge.svg https://docs.bioexcel.eu/biobb_haddock/coverage/coveragebadge.svg https://docs.bioexcel.eu/biobb_haddock/flake8/flake8badge.svg https://img.shields.io/github/last-commit/bioexcel/biobb_haddock?label=Last%20Commit https://img.shields.io/github/issues/bioexcel/biobb_haddock.svg?color=brightgreen&label=Issues

fair-software.eu https://www.bestpractices.dev/projects/8847/badge

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

v4.1.0 2024.1

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)

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:4.1.0--pyhdfd78af_0
    
  • Usage:

      docker run quay.io/biocontainers/biobb_haddock:4.1.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:4.1.0--pyhdfd78af_0
    
  • Usage:

      singularity exec biobb_haddock.sif <command>
    

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