Project

General

Profile

CryoSPARC » History » Version 5

Sargis Dallakyan, 10/22/2019 06:45 PM

1 1 Sargis Dallakyan
h1. CryoSPARC
2
3
The user is able to display cryoSPARC v2 3D refinement jobs.
4
5
h2. Installing
6
7 2 Sargis Dallakyan
Install "MongoDB PHP Driver":https://docs.mongodb.com/ecosystem/drivers/php/. 
8
9
For CentOS 7 our centos7AutoInstallation.py does this. 
10
11 4 Sargis Dallakyan
For CentOS 6, "update to PHP 5.6 on CentOS 6 using remi repository":https://blog.tinned-software.net/update-to-php-5-6-on-centos-6-using-remi-repository/. Then install "MongoDB PHP Driver":https://secure.php.net/manual/en/mongodb.installation.pecl.php. 
12 2 Sargis Dallakyan
13
Add the following lines to your myamiweb/config.php
14
<pre>
15
// --- cryoSPARC host name and port number. --- //
16 5 Sargis Dallakyan
$CRYOSPARC_HOSTS[] = array('CRYOSPARC #1' => 'IP1');
17
//$CRYOSPARC_HOSTS[] = array('CRYOSPARC #2' => 'IP2');
18 1 Sargis Dallakyan
define('CRYOSPARC_PORT', "39001");
19 2 Sargis Dallakyan
</pre>
20 5 Sargis Dallakyan
Replace IP1, with the name or IP address of your host running cryoSPARC v2.
21 2 Sargis Dallakyan
22
h2. Usage
23
24 1 Sargis Dallakyan
In Appion menu click on cryoSPARC link.
25 2 Sargis Dallakyan
!thumbnail_image.png!
26
27 5 Sargis Dallakyan
Enter Project and Job ID for a cryoSPARC v2 3D refinement or 2D classification job and click Submit.
28 2 Sargis Dallakyan
!thumbnail_image1.png!
29
30
This renders a page similar to this one:
31
!cryosparcs.png!
32 3 Sargis Dallakyan
In the top left it shows 3D map. Wait for it to load. Depending on your network connection and the size of the map it might take a minute to load the map. Visit http://nglviewer.org/ngl to learn about mouse controls. At the bottom it shows output from cryoSPARC.
33 2 Sargis Dallakyan
34
Users can go back and add/remove cryoSPARC jobs as show below:
35
!thumbnail_image2.png!
36
Summary link shows cryoSPARC output similar to above.