Skip to main content

Cryolo picker, training and custom model importer. Janni denoising.

Project description

Sphire Scipion plugin

This plugin allows to use cryolo within Scipion framework. So far we have implemented:

  • crYOLO particle picker

  • JANNI denoising

This plugin is able to install cryolo (which includes janni) and the generic models for both picking and denoising.

crYOLO is a pipeline for particle detection in cryo-electron microscopy images which is based on the deep learning object detection system “You Only Look Once” (YOLO).

JANNI (Just Another Noise 2 Noise Implementation) implements a neural network denoising tool based on deep learning.

Setup

It is assumed that Scipion3 is currently installed. If not, follow the instructions here.

Plugin scipion-em-sphire requires to have Conda (Anaconda or Miniconda) installed and not initialized in the shell.

  • Install this plugin in user mode:

    It can be installed in user mode via Scipion main window (Configuration > Plugins) or using the command line:

scipion installp -p local/path/to/scipion-em-sphire
  • Install this plugin in developer mode:

scipion installp -p local/path/to/scipion-em-sphire --devel

Plugin integration

The following steps presuppose that you have Anaconda or Miniconda installed on your computer. In ~/.config/scipion/scipion.conf (Option View > Show Hidden Files must be enabled) set CONDA_ACTIVATION_CMD variable in the Packages section.

For example:

CONDA_ACTIVATION_CMD = . ~/anaconda2/etc/profile.d/conda.sh

If you wish to install the plugin with the default settings just go to plugin manager and install scipion-em-sphire. This will create the default environment named cryolo-x.x.x (where x.x.x is referred to the downloaded version of cryolo) for you.

You are ready to use crYOLO and JANNI. If you wish to change the environment name you can introduce CRYOLO_ENV_ACTIVATION variable in the ~/.config/scipion.conf variables section:

For example:

CRYOLO_ENV_ACTIVATION = conda activate cryoloenvname

Downloaded crYOLO and JANNI general models can be found, respectively, in the following locations:

<SCIPION_HOME>/software/em/cryolo_model-[model_version]

<SCIPION_HOME>/software/em/cryolo_negstain_model-[model_version]

<SCIPION_HOME>/software/em/janni_model-[model_version]

Running plugin tests

To check that everything is properly installed and configured, you might want to run some tests:

scipion test --grep sphire --run

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scipion-em-sphire-3.0.1.tar.gz (41.0 kB view details)

Uploaded Source

File details

Details for the file scipion-em-sphire-3.0.1.tar.gz.

File metadata

  • Download URL: scipion-em-sphire-3.0.1.tar.gz
  • Upload date:
  • Size: 41.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.5.6

File hashes

Hashes for scipion-em-sphire-3.0.1.tar.gz
Algorithm Hash digest
SHA256 dd7e2eb261d8b1f860743c9ab5cb3fb7b286303fe4cbf300332adef1387a229a
MD5 17bb93156c34a6e5b3a7d3751ba5ab1e
BLAKE2b-256 1ebd6b03a56fc729b6a9cf3528dd8e97f445eab3f4433468c30609dda39c8b6f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page