Tilt-wrangler launcher in appion » History » Version 1
Sargis Dallakyan, 04/12/2022 10:03 AM
1 | 1 | Sargis Dallakyan | h1. Tilt-wrangler launcher in appion |
---|---|---|---|
2 | |||
3 | Given ctf file with beam-image tilt X and Y values, tilt-wrangler runs "k-means clustering":https://en.wikipedia.org/wiki/K-means_clustering on X ad Y values and groups them into cluster. |
||
4 | |||
5 | Input: |
||
6 | |||
7 | * Relion star file |
||
8 | * Number of clusters for k-means |
||
9 | |||
10 | h2. Installation |
||
11 | |||
12 | If you used "auto-installation tool":https://emg.nysbc.org/projects/appion/wiki/Install_using_the_auto-installation_tool, you can skip installation procedure below since auto-installation does this for you. Otherwise, if you are doing manual installation follow the procedure below to install tilt-wrangler and its dependencies. |
||
13 | On a web server, download "tiltgroup_wrangler_cli.py":https://emg.nysbc.org/projects/appion/repository/revisions/trunk/raw/programs/tiltgroup_wrangler/tiltgroup_wrangler_cli.py, copy to /usr/local/bin and make it executable: |
||
14 | <pre> |
||
15 | wget https://emg.nysbc.org/projects/appion/repository/revisions/trunk/raw/programs/tiltgroup_wrangler/tiltgroup_wrangler_cli.py |
||
16 | cp tiltgroup_wrangler_cli.py /usr/local/bin |
||
17 | chmod +x /usr/local/bin/tiltgroup_wrangler_cli.py |
||
18 | </pre> |
||
19 | Install numpy and scikit-learn: |
||
20 | <pre> |
||
21 | pip install numpy==1.13.3 scikit-learn==0.19.2 |
||
22 | </pre> |
||
23 | This particular versions are needed for this to work on CentOS 7 with Python 2.7. |
||
24 | For CentOS 6 use: |
||
25 | <pre> |
||
26 | pip install numpy==1.13.3 scikit-learn==0.18.2 scipy=1.2.0 |
||
27 | </pre> |