Coder Social home page Coder Social logo

aniewielska / biobb_workflows Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bioexcel/biobb_workflows_old

0.0 1.0 0.0 28.64 MB

BioExcel building blocks tutorials

Home Page: https://bioexcel.eu/research/projects/biobb_standardization/

License: Apache License 2.0

Jupyter Notebook 98.91% Shell 1.09%

biobb_workflows's Introduction

biobb_workflows

Binder bioexcel/biobb_workflows Apache License, 2.0

The Jupyter notebook Lysozyme.ipynb shows a Lysozyme + Mutations tutorial using the BioExcel building blocks biobb.

You may execute the notebook on a free cloud instance using myBinder, or for better performance/extensibility in your on instance of Jupyter Notebook.

Docker image

The Docker image bioexcel/biobb_workflows is provided, based on myBinder.

Launch it as:

docker run -p 8888:8888 -it bioexcel/biobb_workflows

Then access the Notebook at http://127.0.0.1:8888/ using the provided token.

Tip: If you have an NVIDIA GPU and NVIDIA Docker installed, launch with nvidia-docker instead of docker for hardware-accelerated GROMACS.

BioConda installation

For your own installation it is recommended to use BioConda on Linux or OS X. See the BioConda installation instructions for details. In brief:

First, install MiniConda (Python 3.x recommended). Then activate BioConda channels:

conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge

Make a new Conda environment to keep our dependencies:

conda create -n biobb biobb_md biobb_io biobb_model nglview=1.2.0 simpletraj gromacs

Tip: Remove gromacs above if you have already installed GROMACS that you compiled with hardware accelerations like NVidia CUDA.

Activate the Conda environment:

conda activate biobb

OpenCL implementations

After activating the Conda environment for the first time you may see a warning equivalent to:

WARNING: No ICDs were found. Either,
- Install a conda package providing a OpenCL implementation (pocl, oclgrind) or 
- Make your system-wide implementation visible by doing 'ln -s /etc/OpenCL/vendors /home/USER/miniconda3/envs/biobb/etc/OpenCL/vendors'  

The PyOpenCl documentation suggests how to proceed. OS X users should use conda install khronos-opencl-icd-loader which can use GPU hardware installed, while in Linux you can either provide a software-based OpenCL implementation with conda install pocl or (recommended) use GPU-specific hardware implementation found in /etc/OpenCL/vendors (e.g. apt install nvidia-driver-390) by creating the symlink as suggested.

Start Jupyter Notebook

Activate the nglview extension and start Jupyter Notebook:

jupyter-nbextension enable nglview --py --sys-prefix
jupyter notebook biobb_workflows/lysozyme_tutorial/notebooks/Lysozyme.ipynb

A browser window should appear, or click the link provided.

Copyright & Licensing

This software has been developed in the MMB group (http://mmb.irbbarcelona.org) at the BSC (http://www.bsc.es/) & IRB (https://www.irbbarcelona.org/) and eScience Lab group at The University of Manchester for the European BioExcel (http://bioexcel.eu/) CoE, funded by the European Commission (EU H2020 675728, 823830).

The Jupyter Notebook is based on the Lysozyme in Water GROMACS tutorial by Justin A. Lemkul at Virginia Tech Department of Biochemistry.

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

biobb_workflows's People

Contributors

stain avatar pauandrio avatar adamhospital avatar aniewielska avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.