Skip to content

Commit c0cf724

Browse files
authored
Merge pull request #313 from OpenTreeOfLife/figures-to-html-file
add figures to the HTML file
2 parents 6261f5f + 25aa97d commit c0cf724

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

doc/method/Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,10 @@
55
REF_HOME=../..
66
JYTHON=$(REF_HOME)/bin/jython
77

8-
all: draft.html supplementary/taxonomy_stats.csv
8+
all: out/draft.html supplementary/taxonomy_stats.csv
99

1010
# use --html4tags flag?
1111

12-
draft.html: out/draft.html
13-
ln -sf $< $@
14-
1512
out/draft.html: out/draft.md lib/Markdown.pl
1613
@mkdir -p out
1714
bin/markdown $< >$@.new

doc/method/introduction.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ The Open Tree of Life project consists of a set of tools for
4141
The outcome is one or more summary trees combining phylogenetic and
4242
taxonomic knowledge. Figure 1 illustrates an overview of the process of combining phylogeny and taxonomy, while the details are described in a separate publication [ref Redelings & Holder 2017].
4343

44+
<img src="../figures/fig1.jpeg" width="512" height="384"/>
45+
4446
Although Open Tree is primarily a phylogenetics effort, it requires a
4547
reference taxonomy that can support each of these functions.
4648

doc/method/method-details.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,10 @@ Figure 3 illustrates each of these six cases.
379379
incompatible with the workspace if the nodes that its aligned
380380
children align with do not all have the same parent.
381381

382+
<img src="../figures/fig3a.jpeg" width="512" height="384"/>
383+
<img src="../figures/fig3b.jpeg" width="512" height="384"/>
384+
385+
382386
## Final patches
383387

384388
After all source taxonomies are aligned and merged, we apply general

doc/method/method-intro.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ hundreds of thousands of similar simple grafting events.
100100

101101
The other merge method is an _insertion_, where the unaligned
102102
node has descendants that are in S. This always
103-
occurs when S' has greater resolution than S. For example, see Figure 2b, where GBIF provides greater resolution than NCBI.
103+
occurs when S' has greater resolution than S. For example, see Figure 2b, where WoRMS provides greater resolution than NCBI.
104104

105105
The vast majority of alignment and merge situations are simple, similar to the
106106
examples shown in Figure 2. However, even a small fraction of special cases can add up to
@@ -113,6 +113,8 @@ by trial and error - finding cases that fail and then adding / modifying
113113
heuristics to address the underlying cause, or adding an _ad hoc_ adjustment for
114114
cases that are rare or overly complex.
115115

116+
<img src="../figures/fig2.jpeg" width="512" height="384"/>
117+
116118
The following sections describe the source taxonomies, and then detail the
117119
taxonomy combination method.
118120

doc/method/results.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ The methods and results presented here are for version 3.0 of the Open Tree Taxo
1515

1616
## Results of assembly procedure
1717

18-
As OTT is assembled, the alignment procedure processes every source node, either choosing an alignment target for it in the workspace based on the results of the heuristics, or leaving it unaligned. Figure 4 illustrates the results of the alignment phase. The presence of a single candidate node does not automatically align the two nodes - we still apply the heuristics to ensure a match (and occasionally reject the single candidate).
18+
As OTT is assembled, the alignment procedure processes every source node, either choosing an alignment target for it in the workspace based on the results of the heuristics, or leaving it unaligned. Figure 4 illustrates the action of the alignment phase. The presence of a single candidate node does not automatically align the two nodes - we still apply the heuristics to ensure a match (and occasionally reject the single candidate).
1919

2020
We counted the frequency of success for each heuristic, i.e. the number of times that a particular heuristic was the one that accepted the winning candidate from among two or more candidates. Table X shows these results. Separation (do not align taxa in disjoint separation taxa; used first), Lineage (align taxa with shared lineage; used midway through) and Same-name-string (prefer candidates who primary name-string matches; used last) were by far the most frequent.
2121

22+
<img src="../figures/fig4.jpeg" width="512" height="384"/>
23+
2224
## Results of merge procedure
2325

2426
After assembly, the next step in the method is to merge the unaligned nodes into the workspace taxonomy. Of the 3,774,509 unaligned nodes, the vast majority (92%) are inserted into the workspace. Grafting accounts for 7% of the merge operations, and less than 1% are either absorptions or remain unmerged due to ambiguities.

0 commit comments

Comments
 (0)