-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME
70 lines (53 loc) · 2.11 KB
/
README
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
# newhybrids
This is the source code repository for the program *newhybrids* written by Eric C.
Anderson. I don't have all the documentation up here yet. So, just find the old
distribution at http://ib.berkeley.edu/labs/slatkin/eriq/software/software.htm and
use stuff from there, like the test data and the PreDefined Views files, etc,
but swap out the old executable, which is built for the Mac Classic
environment (which is really *quite* classic at this point in 2014)).
I have only tested this on Macs.
## Building the program
Here are the basic steps to build this on a Mac. Note that you have to have the
developer tools installed (install XCode for free from the app store). From the terminal
do the following:
```sh
# first clone it from GitHub
git clone https://github.com/eriqande/newhybrids.git
cd newhybrids
git submodule init
git submodule update
# then configure it without-x for the Mac and make it
./configure --without-x
make
# the above makes two binaries:
# newhybs : newhybrids with the GLUT interface
# newhybsng : newhybrids with no GLUT interface
# at this point, if you want to install these into
# /usr/local/bin you can do this:
sudo make install
```
## Command line interface
Newhybrids has a nicer command line interface now than it did before. To read about the
available options you can do:
```sh
newhybs --help
# or
newhybs --help-full
# or if you are feeling fun you can do
newhybs --help-nroff | nroff -man | less
```
## Getting predefined view to work
Until I write a little installer package and change a few more
things this is how you are going to have to manually install
NewHybrids Predefined Views for OS X:
After cloning and building the repository you can move the file
`NewHybrids_PreDefdViews.txt` to the directory `~/Library/gfmcmc`,
creating the directory if it is not already there. In the above
the `~` stands for your home directory.
## Running a test data set
To see if you have it up and running on the test data set try issuing this
command from the `newhybrids` directory:
```sh
./newhybs -d test_data/TestDat.txt
```
Then try hitting `1` key and then the `space-bar`.