Skip to content

Commit 270aabc

Browse files
committed
commit jml
1 parent e0b45b2 commit 270aabc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+11550
-0
lines changed

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
bin/jml_osx64
3+
4+
bin/jml.exe
5+
6+
*.xcworkspacedata
7+
8+
*.xcuserstate
9+
10+
*.xcbkptlist

JMLdoc.pdf

300 KB
Binary file not shown.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
species = bla nit fol pal pis gym set mul
2+
seqperspecies = 44 8 6 12 8 10 2 2
3+
locusrate = 0.8762
4+
heredityscalar = 1
5+
seqgencommand = -mHKY -f0.2678,0.1604,0.2031,0.3687 -t1.5161 -i0 -a0.2195 -l810
6+
significancelevel = 0.1
7+
burnin = 0
8+
thinning = 1
9+
seed = -1

example_files/files with windows eol/rosa.species.trees

Lines changed: 1028 additions & 0 deletions
Large diffs are not rendered by default.

example_files/files with windows eol/tpi.phy

Lines changed: 93 additions & 0 deletions
Large diffs are not rendered by default.

example_files/jml.tpi.ctl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
species = bla nit fol pal pis gym set mul
2+
seqperspecies = 44 8 6 12 8 10 2 2
3+
locusrate = 0.8762
4+
heredityscalar = 1
5+
seqgencommand = -mHKY -f0.2678,0.1604,0.2031,0.3687 -t1.5161 -i0 -a0.2195 -l810
6+
significancelevel = 0.1
7+
burnin = 0
8+
thinning = 1
9+
seed = -1

example_files/readme.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#readme file
2+
3+
To analyse the example file, place the jml executable in this folder.
4+
5+
On UNIX based systems, execute the following command:
6+
7+
$ ./jml -c jml.tpi.ctl -t rosa.species.trees -d tpi.phy
8+
9+
On windows systems, type:
10+
11+
$ jml -c jml.tpi.ctl -t rosa.species.trees -d tpi.phy
12+
13+
The program should perform 1000 simulations and then output the files "Distributions.txt", "Results.txt", and "Probabilities.txt".

example_files/rosa.species.trees

Lines changed: 1028 additions & 0 deletions
Large diffs are not rendered by default.

example_files/tpi.phy

Lines changed: 93 additions & 0 deletions
Large diffs are not rendered by default.

src/GenFunctions.h

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/**********************************************************
2+
3+
GenFunctions
4+
5+
**********************************************************/
6+
7+
8+
/*
9+
10+
(c) Copyright 2002 by Michael J. Sanderson.
11+
12+
Permission is granted to copy and use this program provided
13+
no fee is charged for it and provided that this copyright
14+
notice is not removed.
15+
16+
17+
This file is part of Pofad, (c) Copyright 2005 by Simon Joly.
18+
19+
Pofad is free software; you can redistribute it and/or modify
20+
it under the terms of the GNU General Public License as published by
21+
the Free Software Foundation; either version 2 of the License, or
22+
(at your option) any later version.
23+
24+
Pofad is distributed in the hope that it will be useful,
25+
but WITHOUT ANY WARRANTY; without even the implied warranty of
26+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27+
GNU General Public License for more details.
28+
29+
You should have received a copy of the GNU General Public License
30+
along with Foobar; if not, write to the Free Software
31+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
32+
33+
*/
34+
35+
36+
#include <iostream>
37+
#include <stdio.h>
38+
#include <string>
39+
#include <stdlib.h>
40+
#include <ctype.h>
41+
42+
#define MAX_TOKEN_SIZE 10000 /* we've got room */
43+
44+
using namespace std;
45+
46+
void doGenericAlert(char* errorMsg);
47+
void strtoupper(char *s);
48+
void fatal(char *s);

0 commit comments

Comments
 (0)