Git Product home page Git Product logo

aspire-python's Introduction

Logo

Azure Build Status Travis Build Status Coverage Status

ASPIRE - Algorithms for Single Particle Reconstruction

This is the Python version to supersede the Matlab ASPIRE.

ASPIRE is an open-source software package for processing single-particle cryo-EM data to determine three-dimensional structures of biological macromolecules. The package includes advanced algorithms based on rigorous mathematics and recent developments in statistics and machine learning. It provides unique and improved solutions to important computational challenges of the cryo-EM processing pipeline, including 3-D ab-initio modeling, 2-D class averaging, automatic particle picking, and 3-D heterogeneity analysis.

For more information about the project, algorithms, and related publications please refer to the ASPIRE Project website.

For full documentation see the docs.

Installation Instructions

For end-users

ASPIRE is a pip-installable package that works on Linux/Mac/Windows, and requires Python 3.6. The simplest option is to use Anaconda 64-bit for your platform with a minimum of Python 3.6 and pip, and then use pip to install aspire in that environment.

conda create -n aspire_env python=3.6 pip
conda activate aspire_env
pip install aspire

The final step above should install any dependent packages from pip automatically.

Note that this step installs the base aspire package for you to work with, but not the unit tests/documentation. If you need to install ASPIRE for development purposes, read on.

For developers

After cloning this repo, the simplest option is to use Anaconda 64-bit for your platform, and use the provided environment.yml file to build a Conda environment to run ASPIRE.

cd /path/to/git/clone/folder
conda env create -f environment.yml
conda activate aspire

Make sure everything works

Once ASPIRE is installed, make sure the unit tests run correctly on your platform by doing:

cd /path/to/git/clone/folder
python setup.py test

Tests currently take around 2 minutes to run. If some tests fail, you may realize that python setup.py test produces too much information. You may want to re-run tests using:

cd /path/to/git/clone/folder
PYTHONPATH=./src pytest tests

This provides a cleaner output to analyze.

Install

If the tests pass, install the ASPIRE package for the currently active Conda environment:

cd /path/to/git/clone/folder
python setup.py install

aspire-python's People

Contributors

junchaoxia avatar rbrook avatar vineetbansal avatar pgabi avatar garrettwrong avatar janden avatar itaysason avatar amitsinger avatar yoelsh 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.