Install EM Hole Finder » History » Version 4
Sargis Dallakyan, 08/26/2013 12:38 PM
1 | 1 | Amber Herold | h1. Install EM Hole Finder |
---|---|---|---|
2 | |||
3 | The "EM Hole Finder" package is used for the Auto-masking feature of Appion. It automatically detects carbon edges in micrographs and creates masks for the images to hide the carbon portions. These masks can then be used to exclude particles in those regions from particle stacks. |
||
4 | |||
5 | 3 | Amber Herold | h2. Download em_hole_finder package |
6 | 1 | Amber Herold | |
7 | The package is available at |
||
8 | |||
9 | https://github.com/hbradlow/em_hole_finder |
||
10 | |||
11 | 4 | Sargis Dallakyan | h2. Installation Instructions for CentOS 6 |
12 | |||
13 | <pre> |
||
14 | yum install git python-virtualenv -y |
||
15 | easy_install pip |
||
16 | cd /opt |
||
17 | git clone https://github.com/hbradlow/em_hole_finder |
||
18 | cd em_hole_finder |
||
19 | virtualenv env |
||
20 | source env/bin/activate |
||
21 | pip install numpy |
||
22 | pip install Cython |
||
23 | pip install PIL |
||
24 | pip install scipy |
||
25 | pip install scikit-image |
||
26 | pip install ipython |
||
27 | pip install wsgiref |
||
28 | </pre> |
||
29 | |||
30 | 3 | Amber Herold | h2. Set up a separate environment to run em_hole_finder |
31 | 1 | Amber Herold | |
32 | 4 | Sargis Dallakyan | em_hole_finder uses a version of numpy which is not compatible with the rest of Appion. |
33 | When the em_hole_finder program is called from Appion, it must first run an activation script to set up an appropriate environment for running em_hole_finder. |
||
34 | |||
35 | 3 | Amber Herold | |
36 | h2. Set environment variables |
||
37 | |||
38 | To call em_hole_finder from Appion, the installed package directory (em_hole_finder) needs to be in the user's PATH variable. |
||
39 | Also, you need to set an environment variable "HOLE_FIND_ACTIVATE" to the path to the activate script. An example of the path is "/opt/em_hole_finder/env/bin" where a script called activate is located in the bin directory. |
||
40 | 1 | Amber Herold | |
41 | ______ |
||
42 | |||
43 | 2 | Amber Herold | [[Install Protomo|< Install Protomo]] | [[Test Appion|Test Appion >]] |
44 | 1 | Amber Herold | |
45 | ______ |