Metadata-Version: 2.1
Name: scipion-em-locscale
Version: 3.0.5
Summary: Plugin to use Locscale program within the Scipion framework
Home-page: https://github.com/scipion-em/scipion-em-locscale
Author: I2PC
Author-email: scipion@cnb.csic.es
License: UNKNOWN
Project-URL: Bug Reports, https://github.com/scipion-em/scipion-em-locscale/issues
Project-URL: Source, https://github.com/scipion-em/scipion-em-locscale/
Keywords: scipion electron-microscopy cryo-em structural-biology image-processing scipion-3.0
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: scipion-em

===============
Locscale plugin
===============

This plugin provides a wrapper around `LocScale <https://git.embl.de/jakobi/LocScale>`_ program for local sharpening of cryo-EM density maps.

.. image:: https://img.shields.io/pypi/v/scipion-em-locscale.svg
        :target: https://pypi.python.org/pypi/scipion-em-locscale
        :alt: PyPI release

.. image:: https://img.shields.io/pypi/l/scipion-em-locscale.svg
        :target: https://pypi.python.org/pypi/scipion-em-locscale
        :alt: License

.. image:: https://img.shields.io/pypi/pyversions/scipion-em-locscale.svg
        :target: https://pypi.python.org/pypi/scipion-em-locscale
        :alt: Supported Python versions

.. image:: https://img.shields.io/sonar/quality_gate/scipion-em_scipion-em-locscale?server=https%3A%2F%2Fsonarcloud.io
        :target: https://sonarcloud.io/dashboard?id=scipion-em_scipion-em-locscale
        :alt: SonarCloud quality gate

.. image:: https://img.shields.io/pypi/dm/scipion-em-locscale
        :target: https://pypi.python.org/pypi/scipion-em-locscale
        :alt: Downloads


Installation
------------

You will need to use 3.0+ version of Scipion to be able to run these protocols. To install the plugin, you have two options:

a) Stable version

   .. code-block::

      scipion installp -p scipion-em-locscale

b) Developer's version

   * download repository

   .. code-block::

      git clone -b devel https://github.com/scipion-em/scipion-em-locscale.git

   * install

   .. code-block::

      scipion installp -p path/to/scipion-em-locscale --devel

LocScale sources will be downloaded automatically with the plugin,
but you can also link an existing installation.
Default installation path assumed is ``software/em/locscale-0.1``,
if you want to change it, set *LOCSCALE_HOME* in ``scipion.conf``
file to the folder where the LocScale is installed.
LocScale uses EMAN2 libraries, so you need to provide existing EMAN2
installation path by setting *EMAN2_HOME* variable
(default eman-2.99) in the config file.

Note: **mpi4py** will be installed in the Eman's python

Note2: File locscale-0.1/source/locscale_mpi.py has been patched (see locscale_mpi.py.patch) to be able to work with new versions of EMAN

To check the installation, simply run the following Scipion tests:

.. code-block::

   scipion test locscale.tests.test_protocol_locscale.TestProtLocscale

A complete list of tests can also be seen by executing ``scipion test --show --grep locscale``

Supported versions
------------------

0.1

Protocols
---------

* local sharpening


References
----------

1. Jakobi A. et al., eLife, 2017


