Showing posts with label taxonomy. Show all posts
Showing posts with label taxonomy. Show all posts

31 March 2013

PhyloPic Launch: API, Responsive Design, etc.

On Good Friday I took PhyloPic down. On Holy Saturday, I wrestled with errors caused by incongruities between the server and dev environments. And, lo, now, on Easter Sunday I announce that PhyloPic is back! (Actually, I already announced in on Twitter, but whatever.)

How smartphone users should see PhyloPic, more or less.

Major New Features:


  • A Developer API (using JSON). Now other people can build applications using PhyloPic data and images. (Yes, I am dogfooding it, so most of it should be pretty well-tested.)
  • Responsive design (using the ever-more-ubiquitous Bootstrap) — the site is now much more useable on mobile devices.
  • A Links Page, showing off work that uses PhyloPic or features it in some way.
  • Speedier load times (in theory, anyway).
  • Ranks for Contributors — if you submit one image, you're a "Specialist". Two, and you're a "General". Six, and you're a "Familiar". See where this is going?
  • Fewer requirements — most notably, Flash is no longer required to submit images.
  • Handy little icons on most taxon links — now you can tell if you're clicking on Gastonia the dicotyledonous plant or Gastonia the dinosaur. (Still rolling this out to all taxa.)

15 February 2013

JSEN: JavaScript Expression Notation

That idea I was talking about yesterday? Storing mathematical expressions as JSON? I went ahead and made it as a TypeScript project and released it on GitHub:


JavaScript Expression Notation (JSEN)



Still need to complete the unit test coverage and add a couple more features. I made a change from my original post to the syntax for namespace references. (The reason? I realized I needed to be able to use "*" as a local identifier for multiplication.) They work within Namespace declaration blocks, but I need to make them work at the higher level of Namespaces declaration blocks as well. (Done.) I also want to allow functions to be used as namespaces. (Done.)

This is possible right now:

jsen.decl('my-fake-namespace', {
   'js': 'http://ecma-international.org/ecma-262/5.1',

   'x': 10,
   'y': ['js:Array', 1, 2, 3],
   'z': ['js:[]', 'y', 1]
});

jsen.eval('my-fake-namespace', 'x'); // 10
jsen.eval('my-fake-namespace', 'y'); // [1, 2, 3]
jsen.eval('my-fake-namespace', 'z'); // 2

jsen.expr('my-fake-namespace', 'x'); // 10 // Deprecated
jsen.expr('my-fake-namespace', 'y'); // Deprecated
    // ["http://ecma-international.org/ecma-262/5.1:Array", 1, 2, 3]
jsen.expr('my-fake-namespace', 'z'); // Deprecated
    // ["http://ecma-international.org/ecma-262/5.1:[]", "y", 1]

Eventually something like this will be possible as well:

14 February 2013

Mathematical expressions as JSON (and phyloreferencing)

For Names on Nodes I did a lot of work with MathML (specifically MathML-Content), an application of XML for representing mathematical concepts. But now, as XML wanes and JSON waxes, I've started to look at ideas for porting Names on Nodes concepts over to JSON.

I've been drawing up a very basic and extensible way to interpret JSON mathematically. Each of the core JSON values translates like so:
  • Null, Boolean, and Number values are interpreted as themselves.
  • Strings are interpreted as qualified identifiers (if they include ":") or local identifiers (otherwise).
  • Arrays are interpreted as the application of an operation, where the first element is a string identifying the operation and the remaining elements are arguments.
  • Objects are interpreted either as:
    • a set of declarations, where each key is a [local] identifier and each value is an evaluable JSON expression (see above), or
    • a namespace, where each key is a URI and each value is a series of declarations (see previous).

Examples

Here's a simple object declaring some mathematical constants (approximately):

{
    "e": 2.718281828459045,
    "pi": 3.141592653589793
}

Supposing we had declared some operations (only possible in JavaScript, since JSON doesn't have functions) equivalent to those of MathML (whose namespace URI is "http://www.w3.org/1998/Math/MathML"), we could do this:

{
    "x":
        ["http://www.w3.org/1998/Math/MathML:plus",
            1,
            2
        ],
    "y":
        ["http://www.w3.org/1998/Math/MathML:sin",
            ["http://www.w3.org/1998/Math/MathML:divide",
                "http://www.w3.org/1998/Math/MathML:pi",
                2
            ]
        ]
}

Once evaluated, x would be 3 and y would be 1 (or close to it, given that this is floating-point math).

Now for the interesting stuff. Suppose we had declared Names on Nodes operations and some taxa using LSIDs:

{
    "Homo sapiens": "urn:lsid:ubio.org:namebank:109086",
    "Ornithorhynchus anatinus": "urn:lsid:ubio.org:namebank:7094675",
    "Mammalia":
        ["http://namesonnodes.org/ns/math/2013:clade",
            ["http://www.w3.org/1998/Math/MathML:union",
                "Homo sapiens",
                "Ornithorhynchus anatinus"
            ]
        ]
}

Voilá, a phylogenetic definition of Mammalia in JSON!

I think this could be pretty useful. My one issue is the repetition of  long URIs. It would be nice to have a mechanism to import them using shorter handles. Maybe something like this?

{
    "mathml":   "http://www.w3.org/1998/Math/MathML:*",
    "namebank": "urn:lsid:ubio.org:namebank:*",
    "NoN":      "http://namesonnodes.org/ns/math/2013:*",

    "Mammalia":
        ["NoN:clade",
            ["mathml:union",
                "namebank:109086",
                "namebank:7094675"
            ]
        ]
}

Something to ponder. Another thing to ponder: what should I call this? MathON? MaSON?

02 January 2013

All Known Great Ape Individuals (Messinian to Present)

Happy 2013, everyone!

Recently I announced a code package I was working on, called Haeckel, for generating vector-based charts related to evolutionary biology. Here's an image I've created using it:

Known Great Ape Individuals
This chart represents all known hominid individuals (Hominidae = great apes, including humans and stem-humans) from the Messinian to the present, erring on the conservative side when the material is too poor to determine the exact number.

If you've been following this blog for a few years you may remember an earlier version of this. I've done a lot of refinement to the data since then. The earlier versions were dissatisfying to me because the horizontal axis was essentially arbitrary. For this version I used matrices from a phylogenetic analysis (Strait and Grine 2004, Table 3 and Appendix C) of craniodental characters to generate a distance matrix, and then inferred positions for other taxa based on phylogenetic proximity and containing clade. This is similar to the metric I used in this chart, except that it incorporates Appendix C, uses inference, and averages distance from humans against distance from [Bornean] orangutans. Don't be mistaken — this is still arbitrary. But it's a bit closer to something real.

Stray notes:
  • I'm pretty sure there are Pliocene stem-orangutans somewhere, right? Might have some work left to do on that data.
  • The dot with no taxon above "Australopithecus" is an indeterminate stem-human from Laetoli. It should probably go further left.
  • The Ardipithecus bubble includes the poorly-known "Australopithecus" praegens. (Although in some runs it moves outside — there's a random element to the plotting.)
  • The Holocene is barely visible up at the top. What a worthless epoch.
  • Homo floresiensis (hobbits) are far to the left of Homo sapiens because I placed them outside Clade(Homo erectus ∪ Homo sapiens).
  • You may recall Lufengpithecus? wushanensis as "Wushan Man", as it was originally placed in Homo erectus. (Hey, it's just teeth.)
  • A couple of fossil chimpanzees, lots of fossil orangutans, but no fossil gorillas. :(
    • (Unless you count Chororapithecus, but that's pre-Messinian. Very pre-Messinian. Suspiciously pre-Messinian....)
  • Look at all that overlap between Homo, Paranthropus, and Australopithecus!
    • I have a feeling, though, that if I added another dimension, Paranthropus and Homo would jut out in opposite directions.
    • Reclassifying Australopithecus sediba as Homo sediba would also decrease the overlap. (Although its position is inferred — actually scoring it might do the same thing.)
    • It's frustrating that the type species of Australopithecus and Paranthropus are also just about the most similar species across the two genera.
  • Kenyanthropus and Praeanthropus have been provisionally sunk into Australopithecus.
  • Should we just sink Orrorin and Sahelanthropus into Ardipithecus? Why not?
  • My guess is that if I added postcranial characters, the stem-humans would all shift right (humanward). Oh, for a good matrix of postcranial characters....
Update
Oh yeah, and if you want a peek at the data, go here.

21 August 2012

Using Morphological Distance to Determine Genera

A genus is not an empirical entity. It's a bookkeeping convention, up to the personal whims of the taxonomist. And of course this leads to a huge mess.
Homo ergaster,
from PhyloPic

Depending on the taxonomist (and, for early forms, the phylogeny), the human total group includes anywhere from one genus (Homo) to ten (Ardipithecus, Australopithecus, Homo, Kenyanthropus, Orrorin, Paranthropus, Paraustralopithecus, Praeanthropus, Sahelanthropus, and Zinjanthropus — not even mentioning obsolete ones like Telanthropus and Pithecanthropus). We could try to clean up this mess by creating phylogenetic definitions and reinterpreting the genera as clades, except that all of the type species are thought by at least some researchers to be ancestral forms (with the exceptions of Homo sapiens, Paranthropus robustus, and Zinjanthropus boisei). For example, if Australopithecus is a clade that includes Australopithecus africanus, then it might also include Homo, and genera are not allowed to overlap under the ICZN.

After playing around with morphological distances based on Strait & Grine's (2004) character matrix, it occurred to me you could base genera on morphological distance. You have to make subjective decisions as to how many genera you want and which matrix to use, but the rest follows naturally. You just look at each species and see which valid type species it's closest to. Here's what I found:

If we use all of the above genera, then the taxonomy looks like this:
  • Ardipithecus
    • Ardipithecus anamensis (Not in Praeanthropus, despite sometimes being synonymized with afarensis! Although it should be noted that ramidus is much better known now than in 2004, so this may have changed.)
    • Ardipithecus ramidus
  • Australopithecus
    • Australopithecus africanus
  • Homo
    • Homo ergaster
    • Homo habilis (although it is closer to garhi than to sapiens!)
    • Homo sapiens
  • Kenyanthropus
    • Kenyanthropus garhi (!)
    • Kenyanthropus platyops
    • Kenyanthropus rudolfensis (although it is closer to ergaster and habilis than to platyops, it is still closer to platyops than to sapiens)
  • Orrorin
    • Orrorin tugenensis (not included in the study, but this is nomenclaturally where it would go unless found to be a synonym)
  • Paranthropus
    • Paranthropus robustus
  • Paraustralopithecus
    • Paraustralopithecus aethiopicus
  • Praeanthropus
    • Praeanthropus afarensis
  • Sahelanthropus
    • Sahelanthropus tchadensis
  • Zinjanthropus
    • Zinjanthropus boisei
Not included: species that are not types and were not included in the study, like Ardipithecus kadabba (scrappy craniodental remains), Australopithecus sediba (hadn't been discovered in 2004), Homo heidelbergensis (pretty close to sapiens anyway), etc.

It must be said that Zinjanthropus and Paraustralopithecus are not that commonly used. If we remove Paraustralopithecus, then aethiopicus predictably falls into Zinjanthropus. If we remove Zinjanthropus as well, then both aethiopicus and boisei predictably fall into Paranthropus.

Praeanthropus is also not that widely used. If we remove that as well, we get:
Praeanthropus afarensis,
from PhyloPic
  • Ardipithecus
    • Ardipithecus anamensis
    • Ardipithecus ramidus
  • Australopithecus
    • Australopithecus afarensis
    • Australopithecus africanus
  • Homo
    • Homo ergaster
    • Homo habilis
    • Homo sapiens
  • Kenyanthropus
    • Kenyanthropus garhi
    • Kenyanthropus platyops
    • Kenyanthropus rudolfensis
  • Orrorin
    • Orrorin tugenensis
  • Paranthropus
    • Paranthropus aethiopicus
    • Paranthropus boisei
    • Paranthropus robustus
  • Sahelanthropus
    • Sahelanthropus tchadensis
Kenyanthropus is a rather controversial genus. If we remove it, we get:
  • Ardipithecus
    • Ardipithecus anamensis
    • Ardipithecus garhi
    • Ardipithecus platyops
    • Ardipithecus ramidus
  • Australopithecus
    • Australopithecus afarensis
    • Australopithecus africanus
    • Australopithecus rudolfensis (still refuses to go with sapiens!)
  • Homo
    • Homo ergaster
    • Homo habilis
    • Homo sapiens
  • Orrorin
    • Orrorin tugenensis
  • Paranthropus
    • Paranthropus aethiopicus
    • Paranthropus boisei
    • Paranthropus robustus
  • Sahelanthropus
    • Sahelanthropus tchadensis
If we also remove Sahelanthropus, then tchadensis goes easily into Ardipithecus. I assume tugenensis would as well, if we removed Orrorin, but that wasn't included in the study since the craniodental material is so scant. If we remove Paranthropus, its species go very, very reluctantly into Australopithecus (by which I mean despite not being that close to africanus):
Sahelanthropus tchadensis,
from PhyloPic
  • Ardipithecus
    • Ardipithecus anamensis
    • Ardipithecus garhi
    • Ardipithecus platyops
    • Ardipithecus ramidus
    • Ardipithecus tchadensis
    • Ardipithecus tugenensis?
  • Australopithecus
    • Australopithecus aethiopicus
    • Australopithecus afarensis
    • Australopithecus africanus
    • Australopithecus boisei
    • Australopithecus robustus
    • Australopithecus rudolfensis
  • Homo
    • Homo ergaster
    • Homo habilis
    • Homo sapiens
Ardipithecus ramidus was originally named as Australopithecus ramidus. If we remove Ardipithecus, its species predictably end up in Australopithecus:
  • Australopithecus
    • Australopithecus anamensis
    • Australopithecus aethiopicus
    • Australopithecus afarensis
    • Australopithecus africanus
    • Australopithecus boisei
    • Australopithecus garhi
    • Australopithecus platyops
    • Australopithecus ramidus
    • Australopithecus robustus
    • Australopithecus rudolfensis
    • Australopithecus tchadensis
    • Australopithecus tugenensis?
  • Homo
    • Homo ergaster
    • Homo habilis
    • Homo sapiens
Now for the final cut. What happens when we remove Australopithecus?
Pan paniscus,
from PhyloPic
  • Gorilla
    • Gorilla aethiopicus (!!! although gorilla only beats sapiens by a hair)
    • Gorilla beringei
    • Gorilla garhi (!!!)
    • Gorilla gorilla
    • Gorilla tchadensis (admittedly, this was suggested by Senut and Pickford)
  • Homo
    • Homo africanus
    • Homo boisei
    • Homo ergaster
    • Homo habilis
    • Homo platyops
    • Homo robustus
    • Homo rudolfensis
  • Pan
    • Pan afarensis (!!)
    • Pan anamensis (!!)
    • Pan paniscus
    • Pan ramidus (!!)
    • Pan troglodytes
  • incertae sedis
    • Orrorin tugenensis
Yes, some of the stem-humans get pulled in with chimpanzees or gorillas! And there seems to be little rhyme or reason as to which go where. The splitting of the "robust australopithecines" is most bizarre (although, as noted, it only takes a tiny nudge to put aethiopicus in Homo with the others).

In summary:
  • This is just one matrix, only focusing on one area of the anatomy.
  • There are huge amounts of uncertainty with some of these taxa.
  • Even without the uncertainty, there is no objective way to measure morphological distance.
  • Even if there were, it might not be a good idea to use it to determine generic boundaries.
  • Generic boundaries are stupid, anyway.

08 August 2012

How similar are we, anatomically, to other primates?

There is no objective way to measure anatomical similarity, but you can get a sense by converting character matrices into distance matrices. I've done this for the matrix used by Diogo & Wood (2011), which looked at soft tissue anatomy. Here is a bar chart showing how similar each taxon is to humans:


Dangit, 2011, not 2010. I'll fix it later.
Click for full size.
As you can see, the distances for great apes are well-marked and exactly what you'd expect based on phylogeny, but past that it gets a bit fuzzy. Moving outward from the great apes we get to Old World monkeys, then gibbons (from phylogeny you'd expect gibbons first, but the difference is so minor I'm sure it's meaningless), then a mixture of non-catarrhine primates, and finally non-primates.

This figure was generated using a JavaScript library I'm developing. I'll say more later, but rest assured it will be free and open source.

Expect to see some more stuff like this on A Three-Pound Monkey Brain soon.

References


  • Diogo & Wood (2011). Soft-tissue anatomy of the primates: phylogenetic analyses based on the muscles of the head, neck, pectoral region and upper limb, with notes on the evolution of these muscles. J. Anat. 219:273–359. doi:10.1111/j.1469-7580.2011.01403.x

02 May 2012

The PhyloCode Will Not Be Amended

At least for now.


In a 10-1 decision, the Committee on Phylogenetic Nomenclature voted to reject the wholesale adoption of a proposal to amend the PhyloCode that would have greatly changed how it handles species and species names. However, the CPN has decided to discuss the possibility of using some ideas in the proposal.

02 April 2012

An Idea for the EOL Phylogenetic Tree Challenge

Earlier this year, the Encyclopedia of Life announced the EOL Phylogenetic Tree Challenge. The goal: to produce "a very large, phylogenetically-organized set of scientific names suitable for ingestion into the Encyclopedia of Life as an alternate browsing hierarchy". The prize: an all-expenses-paid trip to iEvoBio 2012 in Ottawa!

This interested me greatly, because:

  1. It's exactly the sort of thing I'm working on for PhyloPic.
  2. I can't really justify paying for a trip to iEvoBio this year. (Phyloinformatics is my hobby, not my profession!)
After reading Rod Page's thoughts on the challenge, I came up with a basic idea, and started to implement it. Unfortunately, now that we're two weeks from the deadline, I'm realizing that:
  1. I do not have the time to complete it.
  2. Even if it were paid for, I can't justify a trip on my own out of town right now.
Why not? Simply put, this.

So, instead, I'm going to outline the general approach I was going to take, and if someone else wants to run with it, knock yourself out. (Just give me partial credit.)

27 February 2012

What Is Phylogenetic Nomenclature?

Sometimes when discussing the PhyloCode, I get the feeling a lot of potentially interested parties don't understand what phylogenetic nomenclature actually is. I have gone into excruciating detail on this topic elsewhere, but who wants to be excruciated? So here's a brief summary of the process of creating a phylogenetic taxonomy.

1. Declare Operational Taxonomic Units
Result: Alpha Taxonomy

The very first step is to decide what your units are. Are you dealing with individual organisms? Populations? Species? Which ones? Whatever you select, there should be an unambiguous way of referring to these taxonomic units (specimen numbers, species names, etc.).

Phylogenetic nomenclature is flexible as to how you determine and name taxonomic units. (Although the names must be relateable to those used in definitions [see Step 3].)

Example: My operational taxonomic units are the whale species Aetiocetus cotylalveus, Balaena mysticetus, Balaenoptera physalus, Delphinus delphis, and Monodon monoceros.

Operational Taxonomic Units
Silhouettes by Chris huh and T. Michael Keesey, taken from PhyloPic.
Image license: CC-BY-SA 3.0

26 January 2012

PhyloPic Is Back!

Last year, I launched a project called PhyloPic. The goal of this project was to create an open database of freely reuseable silhouette images of organisms. Furthermore, it featured a phylogenetic taxonomy so that, if a taxon wasn't illustrated, an approximation could be found.

I launched it as a "public alpha", meaning that it wasn't complete and still had some bugs. The year turned out to be very busy for me: an awful thing happened, and a wonderful thing happened. And I didn't really have time to push PhyloPic to the next level.

Unfortunately, I hadn't built it well enough in the first place. The architecture was not optimized, and the site became extremely slow and buggy. I took it offline, hoping to release a new version in short order, but it turned out to need a lot more work than I first thought.

Happily, it is now ready again!

16 January 2012

A Proposal to Amend the PhyloCode


The draft PhyloCode has been in a pretty stable form for a while. But recently, there has been a proposal to drastically change how it handles species. You can read the proposal here: 



The first paragraph:

The overarching goal of this proposal is to remove all mention of "species" from the  PhyloCode. Detailed justifications for this goal are given in a supporting paper (Cellinese, Baum, and Mishler, in review); here we present a summary of the main arguments, along with specific proposals for change.

Before I weigh in on this, I'm curious as to what other people think. Please comment below, or send comments to David Marjanović, the Secretary of the Committee on Phylogenetic Nomenclature.

UPDATE:
If anyone would like a Microsoft Word version of this document, just ask.

ANOTHER UPDATE:
I have weighed in.

11 October 2011

Human Clades: A Look at a Complex Phylogeny

Most methods of phylogenetic analysis deal with simple trees. In these phylogenies, every taxonomic unit has a single direct ancestor (or "parent"). But we know that phylogeny is often more complex than this. Our own species is an excellent example—while we are all primarily descended from one population in Africa, different peoples around the globe have inherited smaller percentages of ancestry from preexisting populations.

A new study by Reich & al. looks in some detail at peoples who have inherited DNA from the Denisovans, a fossil group known from Siberia. Ancient DNA has been retrieved from these fossils, although unfortunately the fossils are otherwise too scant to tell us much about what Denisovans looked like (other than "humanlike").

Reich & al. posit a complex phylogeny wherein populations are often descended from multiple ancestral populations. Lets take a look at the clades posited in this study.




Operational Taxonomic Units

Reich & al. used the following nine populations, seven extant and two extinct, as operational taxonomic units.


Yoruba.—An ethnicity from West Africa (Nigeria, Benin, Ghana, etc.)
(Photo by Marc Trip.)

Han.—The most populous Chinese ethnicity.
(Photo by Brian Yap.)

Mamanwa.—One of the "Lumad" ("indigenous") ethnicities of the southern Philippines.
(Photo by Richard Parker.)


Jehai.—One of the Orang Asli ("original people") groups of Malaysia.
Note: this photo is of a woman from a different Orang Asli tribe, the Batik.
(Photo by Wazari Wazir.)

Onge.—A group of Andaman Islanders, from the Bay of Bengal.
(Photo from The Andamanese, by George Weber.)

Australians.—The indigenous ("aboriginal") peoples of Australia.
(Photo by Rusty Stewart.)

Papuans.—The indigenous peoples of the New Guinean highlands.
(Photo owned by the Center for International Forestry Research.)
Neandertals.—An extinct group of robust near-human peoples from West Eurasia.
(Photo by myself, of a sculpture by John Gurche.)


Denisovans.—An extinct group of near-human peoples known from Siberia but thought to have had a wider range.
Note: The photo is of a sculpture of Homo heidelbergensis, thought to be the common ancestor of humans, Neandertals, and Denisovans. Denisovans may not have looked exactly like this.
(Photo by myself, of a sculpture by John Gurche.)




Phylogeny


Reich & al. postulated the simplest phylogeny that could possibly explain their data. (Note that the actuality is likely more complex than this, but it's a good starting point.) More recent groups are to the right, and the thickness of the lines indicates the percentage of DNA contributed from population to population.


My diagram, not theirs. Any inaccuracies are my own.
Free for reuse under Public Domain.


I've added a line for the Denisovans' mitochondrial (motherline) ancestor, even though it's not part of the paper's phylogeny. More on that as we start looking through the various clades.


For looking at the clades I'll use a different diagram that does not reflect percentage of ancestry, but simply shows direct descent as unweighted arcs connecting parent and child taxonomic units.


Phylogeny of human and near-human populations according to Reich & al. 2011.
Created using Names on Nodes.
Free for reuse under Public Domain.



28 February 2011

The First Week of PhyloPic

I announced PhyloPic last week and the response has been great. I launched with ~95 images and we are already up to 170! (Possibly more by the time you read this.) Some of the lineages are becoming pretty complete. Some of the better ones:
For the last one, I made a special collage:

Evolution of the Human

(Click on it and check out the Flickr page to find an extremely high-resolution version.)

Of course, other areas of the Tree of Life are not quite so fleshed out. For example, if you look up a plant you'll usually get this. (Or even less if you didn't happen to pick a tracheophyte.) So there is plenty of illustrating left to do.

There is also plenty of programming left to do. You can see a list of major remaining tasks on PhyloPic's BitBucket page. Here are a few, with links to their pages:
If any of these interest you, I encourage you to vote for them by clicking the "Bump!" button:

And if you have any ideas, you can also suggest features.

At least one blog has created its own PhyloPic feature. Traumador at Art Evolved put together an excellent tutorial on creating silhouettes using Photoshop. (They also posted about PhyloPic here.) Blogger David Tana of Superoceras also awarded PhyloPic his Interweb Science of the Week award.

In summary, the project's going very well and I'm pretty excited about it. I can't wait to see what the rest of the year holds for PhyloPic!

21 February 2011

Introducing PhyloPic: An Open Database of Reusable Silhouettes

Ever had this problem? "Boy, I could sure use a silhouette of [some kind of organism] for this diagram I'm working on. But I can't find anything on the web! Well, except for a few images which are copyrighted...."

What if there were a website with an open database of reusable images, available under Creative Commons licenses? What if you could do phylogenetic searches, so that, even if there weren't a silhouette for the taxon in question, you could at least find something close? What if you could build images like this...


...without having to look all over the web for figures?

Well, now you can! I've launched a new site called:


It's currently in public alpha, which means it's not quite done. So, I have some caveats:

  • I'm pulling most taxonomic data from uBio. It's great because it's really comprehensive. But it's also a huge mess because it stores multiple classifications, many of which are outdated and disagree with each other. (This isn't uBio's fault, as its goal is to store all these classifications, not to offer one nice, neat classification.) So you may (will) find some errata in the phylogenetic system. I'm working on cleaning it up, but there are a lot of taxonomic names out there....
  • It's still early on, so there are only about a hundred images in the database. It will grow over time, but don't be surprised if the closest image it has for your favorite invertebrate is some kind of indiscriminate worm.
  • There are some known bugs (and I don't mean Hemiptera). The Issues Page is open to all, though, so you can read the known issues and report new ones. (Please do!)
It's a work in progress, but I think it has enormous potential. And I think it's reached a state where it's ready for public use and feedback. So have a look, see what you think, and let me know! (And, if you're artistically inclined, please consider submitting some silhouettes of your own.)

21 December 2010

The Purpose of Generic Names: Or, Everyone's a Homo

Vrſvs Lotor Linn.
It can be surprising for a modern-day biology student to look at 18th-century texts and see how broad the genera are. Consider Linnaeus: he named raccoons as a species of bear (Ursus lotor, the "washer bear"—still called "tvättbjörn" ["washbear"] in Swedish). Nowadays raccoons aren't even placed in the same family as bears, and bears are split into anywhere from roughly three to seven extant genera. Or consider bats, nowadays comprising about 60 extant genera, while Linnaeus classified them as just one (Vespertilio). These aren't even the craziest examples.


Was Linnaeus nuts? Of course not. He saw that the task of creating a unique name for every species would be extremely difficult, so he decided it would be okay to reuse the same names if they were prefaced by the name of a more general category—a genus. Thus, for example, he was able to call the house mouse Mus musculus and the blue whale Balaena musculus (now either Balaenoptera or Sibbaldus). Although they have the same specific epithet, those epithets are unique within their general category. As long as homonymy is avoided, there's no nomenclatural need to restrict genera, so why not make them broad?


In this way, genera function as what we in the computer science world call namespaces. Different things are allowed to have the same local name as long as they are within different namespaces. The qualified name, which combines a namespace identifier with the local name, is globally unique, even if the local name is not.


Biological Nomenclature
generic name + specific epithet = species name

Computer Science
namespace identifier + local name = qualified name

Recently, this got me to thinking—why have we restricted our genera so much, when this was their original purpose? If we just want to be sure that each species has a globally unique name, we could have much larger genera—in some cases, even larger than Linnaeus'.


Consider our own genus, Homo. It has exactly one extant species, Homo sapiens, and that species has an epithet that is already, as far as I know, globally unique. How is that useful? Even Linnaeus thought this was rather silly—he would have included humans in his anthropoid genus, Simia, except he feared backlash. (Even including us in the same order as other primates was controversial at the time.)


How far could we extend our genus and retain its usefulness as a namespace? How far out can we go without having duplicate local names? Within Homo we already have local names like sapiens, erectus, habilis, etc. We actually do have at least one duplicate name, Homo capensis, but it's universally considered a junior synonym. (Although this case is a bit complicated.) If we only consider valid, non-synonymous names, how far can we push our genus?


If we include all stem-humans there's no problem. We add things like Homo afarensis and Homo robustus.


Left to right: Homo sapiens, gorilla, troglodytes, lar, & pygmaeus.
If we push it out to the crown clade of African apes there's still no problem. We get things like Homo gorilla (western gorillas) and Homo troglodytes (common chimpanzees). (Admittedly Homo troglodytes was already named by Linnaeus, but it's a nomen oblitum without any specimens or certainty as to what, exactly, it was supposed to indicate.)


Still no problem if we push it out to the great ape crown clade, adding things like Homo pygmaeus (Bornean orangutans) and Homo indicus (otherwise Sivapithecus).


Pushing it out to the ape crown clade still works, as we add things like Homo lar (lar gibbons) and Homo syndactylus (siamangs). (Interestingly enough, Homo lar is Linnaeus' original name for the species. Only later was it given a new genus, Hylobates, by Illiger, where it resides to this day. I'm not quite sure why Linnaeus classified it this way, but my guess is he wasn't that familiar with the animal in question, as was often the case.)


But if we go beyond that, we hit a duplicate: Homo africanus (Hopwood 1933, originally Proconsul) and  Homo africanus (Dart 1925, originally Australopithecus). (We actually already hit Meganthropus africanus Weinert, 1950 a while ago, but that's universally considered a synonym.)


So there we go, Homo could be used as the generic name for all crown-group apes without any problem. (I'm willing to bet I missed something, though, and I'm looking forward to some commenter correcting me.) We have restricted our genera far more than they need to be restricted in order for species names to be unique.


Are we nuts? Of course not. A genus is much more than just a namespace. We also use genera on their own, as groups in their own right. Expanding Homo to embrace all extant apes would ruin its utility as a name for a certain subclade of the human total group, and make it redundant with a name that we already have (Hominoidea). (In computer science namespaces are also often narrower than they technically could be.)


Then again, maybe it is a bit nuts to have one thing performing two jobs. Why not allow other, larger taxa to be used as namespaces? Well, under the PhyloCode, that will actually be a possibility. We can refer to Hominoidea syndactylus and Hominoidea sapiens if we want. In fact, I think you could use Synapsida syndactylus (avoiding homonymy with Bleda syndactylus, the red-tailed bristlebill) and Biota sapiens (this epithet being globally unique already, as previously mentioned). These particular examples will probably never be popular and I wouldn't use them myself, but I think it's neat that the possibility exists.

17 August 2010

Radish: Pulling Up Taxonomic Hierarchies From Leaf to Root

I've just released a small open-source Java library called Radish. It contains tools for interfacing with uBio (and hopefully other services in the future), with the purpose of looking up a taxon's hierarchy. It does this by synthesizing multiple taxonomies into a single graph. Here, for example, is the graph produced by looking up Homo sapiens Linnaeus 1758 (click the image to enlarge):




This is a synthesis of several taxonomies. Some have more ranks than others, but they all converge on a single chain, with the exception of the taxa above the "phylum level", where at least two of them use different schemes. (Although it may be tempting to synonymize Biota and "Cellular life", or Animalia and Metazoa, these are not objective synonymies, and arguably the former is a bad idea anyway.) Ideally the library would be able to figure out that "Cellular life" includes Biota (if the latter is a crown clade), and that Animalia either includes or is a synonym of Metazoa, but it can only work with the data it's given.


Why the name "Radish"? From the project's wiki:
The English word "radish" is derived from Latin "radicem" (nominative: "radix"), meaning "root". (This is also where the word "radical" comes from.) The idea of the Radish library is that by "grabbing a leaf" (i.e., selecting a smaller taxon), you can "pull up the root" (i.e., extract that taxon's hierarchy of supertaxa, up to the root of all life).
Radish is part of a larger project I am working on ... I should have more to say about that in the near future....

28 May 2010

gautengensis in the sediba phylogeny

Here's the phylogeny/taxonomy from the Australopithecus sediba paper overlaid with the taxonomy from the Homo gautengensis paper:



(click to enlarge)

I've highlighted the taxonomic units that Curnoe referred to Homo gautengensis. Note that, by Berger & al.'s phylogeny, Homo gautengensis is polyphyletic. Each of those units represents a single specimen, so this could potentially be explained by individual variation, age differences, sexual dimorphism, etc. Or the new species is overextended—I'm not really qualified to judge.

Note also that Homo is polyphyletic in this phylogeny. One way to fix this is to move sediba into Homo.

27 May 2010

Upcoming Names on Nodes Presentation

I'll also be presenting Names on Nodes at iEvoBio, at the Software Bazaar on June 29. Here's the abstract:

Names on Nodes: Automating the Application of Taxonomic Names within a Phylogenetic Context

Names on Nodes1 is an open-source2 Flex application which utilizes a mathematical approach to automate the application of phylogenetically-defined names to phylogenetic hypotheses. Phylogenetic hypotheses are modeled as directed, acyclic graphs, and may be read from bioinformatics or graph files (Nexus, NexML, Newick, and GraphML) or created de novo. Hypotheses may also be merged from multiple sources. Names on Nodes stores hypotheses as MathML, an XML-based language for representing mathematical content and presentation. Phylogenetic definitions may be constructed using a visual editor and exported in MathML. Thus, it is possible to create a dictionary of defined names and automatically apply them to phylogenetic hypotheses. In the current version of the application, such dictionaries exist only as MathML files, but in future versions definitions may also be loaded from databases (e.g., RegNum).

Additional functionality in Names on Nodes includes the ability to coarsen a phylogenetic graph (thereby simplifying it while still reflecting the overall structure) or to export it as an image file (raster or vector, potentially with semantic annotations).

  1. Source code available at: http://bitbucket.org/keesey/namesonnodes-sa/
  2. MIT license
I have my work cut out for me....

02 April 2010

Names on Nodes: MathML Definitions (Version 1.2)

After the epiphany that Names on Nodes did not have to be associated with a database, I set to work creating a "standalone" version of the application. Progress has been pretty good, and if you are interested in the details (or collaborating), you can check the project out at its new home on Bitbucket (which also houses the related project, ASMathema).

I've just updated the Names on Nodes website based on these revisions to the project, most notably the MathML Definitions document. Most of the changes have actually been removals: no more mentions of rank-based taxonomy (which may be covered in future versions but not in this one), qualified names as taxonomic identifiers (no longer a necessary feature), etc. So if you didn't read it before because it was too long and dense ... well, it's still pretty long and dense, actually. But less so!

I've also added an example MathML document as a supplement. This document:
  1. Defines a phylogenetic context (the same one used in the MathML Definitions examples), arranging taxonomic units as vertices in a directed, acyclic graph.
  2. Defines sets based on characters ("wings used for powered flight" and "extant")
  3. Refers a specimen (YPM-VP 1450) to a taxonomic unit (Ichthyornis).
  4. Equates several species names as synonyms.
  5. Defines some hybrid formulas as referring to specific taxonomic units.
  6. Defines a number of clade names.
This file can be opened with Names on Nodes: Standalone Version, which I am currently developing and hope to release this year.

01 March 2010

The Great PhyloCode Land Run

Sometime in the near future, the PhyloCode will be enacted. For this to happen, two things need to happen concurrently:

1. The registration database (called "RegNum") must be completed and opened to the public. This is necessary because the PhyloCode requires all names to be registered electronically.

2. Phylonyms: a Companion to the PhyloCode must be published. This is a multi-authored volume that will include the earliest definitions under the PhyloCode.

Which names will be defined in Phylonyms? The original goal was to cover the most historically important names (what Alain Dubois calls "sozonyms"). However, proponents of phylogenetic nomenclature tend to be clustered in several fields (most notably vascular plant botany and vertebrate zoology—note that the code's authorship reflects this). This means certain parts of the Tree of Life (e.g., entomology) will unfortunately be underrepresented, due to lack of interest in those fields. (The alternative, having non-specialists define such names in Phylonyms, does not bear consideration.) So Phylonyms will be less about providing coverage and more about providing sturdy, well-reasoned definitions that can serve as examples.

What about all the names that it omits? What will happen to those once the PhyloCode is enacted? That will be interesting to see.


One thing I could envision is a sort of "land run". I picture it working this way. Let's consider a field, say, anthropology, where phylogenetic nomenclature has not taken much of a hold. Currently there is debate about how to use some taxonomic names related to the field. Some workers like to use the familial name "Hominidae" to refer to a large taxon, including humans and great apes. Others prefer to restrict it to the human total clade (i.e., humans and everything closer to them than to other extant taxa). Similarly, some workers use the generic name "Homo" in a broad sense to include short, small-brained species like Homo habilis, while others prefer to restrict it to the tall, large-brained clade (relegating H. habilis to another genus, e.g., Australopithecus).

Let's say there's a researcher out there named Dr. Statler, who prefers a strict usage for "Hominidae" and a broad use for "Homo". But his colleague, Dr. Waldorf, prefers a broad usage for "Hominidae". Dr. Waldorf isn't really that interested in phylogenetic nomenclature, but when he notes that "Hominidae" is not in the registration database, he sees an opportunity. He writes a quick paper defining "Hominidae" as a node-based clade: "The clade originating with the last common ancestor of humans (Homo sapiens Linnaeus 1758), Bornean orangutans (Pongo pygmaeus Linnaeus 1760), common chimpanzees (Pan troglodytes Oken 1816, originally Simia troglodytes Blumenbach 1775), and western gorillas (Gorilla gorilla Geoffroy 1852, originally Troglodytes gorilla Savage 1847)."

Dr. Statler is, of course, outraged. Not that he cares that much about phylogenetic nomenclature, but what if anthropologists do start using it? What if someone ruins another taxonomic name? His colleagues Drs. Honeydew and Beaker prefer a strict definition of "Homo"—what if they author a paper cementing that definition under the PhyloCode?

This cannot come to pass! Dr. Statler does some reading on the code and decides that a branch-based definition would work nicely for his broader usage. He defines "Homo" as, "The clade consisting of Homo sapiens Linnaeus 1758 and all organisms that share a more recent common ancestor with H. sapiens than with Australopithecus africanus Dart 1925, Paranthropus robustus Broom 1938, Zinjanthropus boisei Leakey 1959, or Australopithecus afarensis Johanson & White 1978." This sets off another anthropologist, and soon all sorts of anthropological/primatological names are being defined under the PhyloCode, as workers struggle to assert their usages.




This is not an ideal situation. It would be much nicer if a group of anthropologists were to come together, discuss the matters rationally, and arrive at an agreement which they then publish together. But it's still not a horrible situation—at least people are defining phylogenetic names and at least interest in phylogenetic nomenclature is being spread. I can't predict the future, but I feel like this sort of "land run" is bound to occur at least in some fields—and maybe that's okay.