Code Monkey home page Code Monkey logo

sire's Introduction

Build status Downloads License

About

Sire is a molecular modelling framework that provides extensive functionality to manipulate representations of biomolecular systems.

It is used as a key component of BioSimSpace, and is distributed and supported as an open source community project by OpenBioSim.

For more information about how to use Sire, and about application built with Sire, please visit the Sire website.

Installation

The easiest way to install Sire is using our conda channel. Sire is built using dependencies from conda-forge, so please ensure that the channel takes strict priority. We recommend using mambaforge.

To create a new environment:

mamba create -n openbiosim python==3.9
mamba activate openbiosim
mamba install -c openbiosim sire

To install the latest development version you can use:

mamba create -n openbiosim-dev python==3.9
mamba activate openbiosim-dev
mamba install -c openbiosim/label/dev sire

However, as you are here, it is likely you want to download the latest, greatest version of the code, which you will need to compile. To compile sire, you need a git client to download the source, and a working internet connection (needed by the sire compilation scripts to download additional dependencies).

First, you need to create and activate a conda environment, e.g.

mamba create -n openbiosim-dev python==3.9
mamba activate openbiosim-dev

Next, you need to install the Sire build dependencies.

mamba install cmake pip-requirements-parser

You will also need to install compilers, e.g. on Linux use

mamba install gcc gxx

on MacOS use

mamba install clang clangxx

and on Windows use

mamba install conda-build

Next, you can clone the Sire source code and compile and install Sire:

git clone https://github.com/OpenBioSim/sire
cd sire
python setup.py install

A small word of warning, the compilation can easily take over an hour!

The above will compile sire in your existing conda environment.

If you plan to build BioSimSpace on top of sire, then you will need to resolve BioSimSpace's dependencies at the time sire is installed to ensure that it is built in a self-consistent way. This can be achieved as follows:

python setup.py --install-bss-deps install

Support and Development

Bugs, Comments, Questions

For bug reports/sugguestions/complains please file an issue on GitHub.

Developers guide

Please visit the website for information on how to develop applications using sire.

GitHub actions

Since sire is quite large, a build can take quite long and might not be neccessary if a commit is only fixing a couple of typos. Simply add ci skip to your commit message and GitHub actions will not invoke an autobuild.

Note that every time you commit to devel, it will trigger a build of sire, full testing, construction of a Conda package and upload to our Anaconda channel. Please think twice before committing directly to devel. You should ideally be working in a _feature_ branch, and only commit to devel once you are happy the code works on your branch. Use ci skip until you are happy that you want to trigger a full build, test and deployment. This full pipeline will take several hours to complete.

Have fun :-)

sire's People

Contributors

lohedges avatar chryswoods avatar ppxasjsm avatar halx avatar jmichel80 avatar ptosco avatar sofiabariami avatar fjclark avatar steboss avatar kexul avatar msuruzhon avatar nigel-palmer-cresset 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.