-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
77 lines (52 loc) · 2.82 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
== CRYSTALEYE ==
=== Installation ===
You will first need to download and install the following:
* A Java JDK (version 1.5 or later)
* Mercurial - http://mercurial.selenic.com/wiki/Download
* Maven 2 - http://maven.apache.org/download.html
Then:
1. Navigate to the directory you wish to download the CrystalEye code to and issue
the command:
hg clone http://bitbucket.org/ned24/crystaleye
this will create a 'crystaleye' dir.
2. Issue the following command from inside the 'crystaleye' dir:
mvn package
this will create a 'target' folder which contains (amongst other things)
crystaleye.jar
3. Copy crystaleye.jar to the place that you'll run it from.
=== Updating ===
* If you want to update your CrystalEye code, execute the following commands
from your CrystalEye code directory:
hg pull
hg update
* Then you can do the steps 2 & 3 from the Installation section to install your
updated CrystalEye.
=== Execution ===
* In the root of the 'crystaleye' directory that you cloned is a file called
'crystaleye.properties.example'. Copy this to your preferred location on your
machine and rename it to 'crystaleye.properties'. If you are only going to be
using the crawlers and CIF2CML parts of CrystalEye then you only need to set the
cif.dir and web.dir properties. If you are using anything else, then you will
need to also set web.dir.url.
* To execute the CrystalEye code you need to issue a command of the type
java -jar <path-to-your-crystaleye-jar> -p <path-to-your-properties-file>
* If you use the above command (with your machine specific paths put in) then all
of the processes in CrystalEye will be run after one another, these are:
-fetch : finds and downloads CIFs from publishers websites
-cif2cml : converts CIFs to CML
-cml2foo : creates 2D images of the structures and breaks them up into
moieties/fragments
-webpage : creates the CrystalEye website around the structures that have been
downloaded
-rss : creates a number of RSS feeds to publish the structures in your CrystalEye
-doilist : keeps an index of all DOIs that have been downloaded
-smiles : keeps an index of all SMILES contained within the structures.
-cellparams : keeps an index of all the cell parameters of the structures.
-bondlengths : keeps indexes of all the bond lengths found within the structures
and creates histograms of the data.
* If you just want to run one at a time, then you can append the name of the
processor as observed in the list above. For instance, the following command
would just run the web-crawlers
java -jar <path-to-jar> -p <path-to-props> -fetch
Or you could run the crawlers and CIF2CML processing with
java -jar <path-to-jar> -p <path-to-props> -fetch -cif2cml