forked from tskit-dev/msprime-1.0-paper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
66 lines (51 loc) · 1.43 KB
/
Makefile
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
DATA=data/arg.csv\
data/mutations_perf.csv
FIGURES=figures/mutations-perf.pdf\
figures/arg.pdf\
figures/sweeps-perf.pdf\
figures/gc-perf.pdf\
figures/dtwf-perf.pdf\
figures/ancestry-perf.pdf
ILLUSTRATIONS=\
illustrations/mutated_tree.pdf\
illustrations/unmutated_tree.pdf\
illustrations/arg-ts.pdf\
illustrations/arg-ts-simplified.pdf\
illustrations/example_tree_sequence.pdf
paper.pdf: paper.tex paper.bib ${DATA} ${FIGURES} ${ILLUSTRATIONS}
pdflatex paper.tex
bibtex paper
pdflatex paper.tex
pdflatex paper.tex
figures/%.pdf:
python3 evaluation/plot.py $*
illustrations/mutated_tree.svg illustrations/unmutated_tree.svg : pretty_pictures.py
python3 $< mutated-tree
illustrations/arg-ts.svg: pretty_pictures.py
python3 $< arg-ts
%.pdf : %.svg
chromium --headless --no-margins --print-to-pdf=$@ $<
# inkscape $< --export-pdf=$@
%.pdf : %.ink.svg
inkscape $< --export-pdf=$@
data/arg.csv:
python3 evaluation/generate_arg_data.py
data/mutations_perf.csv:
python3 evaluation/generate_mutations_perf_data.py generate-trees
python3 evaluation/generate_mutations_perf_data.py benchmark-on-trees
data/ancestry_perf.csv:
python3 evaluation/generation_ancestry_perf_data.py
paper.ps: paper.dvi
dvips paper
paper.dvi: paper.tex paper.bib
latex paper.tex
bibtex paper
latex paper.tex
latex paper.tex
clean:
rm -f *.log *.dvi *.aux
rm -f *.blg *.bbl
rm -f *.eps *.[1-9]
rm -f src/*.mpx *.mpx
mrproper: clean
rm -f *.ps *.pdf