Skip to content

datasource: Funguild? #90

@zachary-foster

Description

@zachary-foster

I was recently working with a python script for looking up attributes of fungal species called funguild.

https://github.com/UMNFuN/FUNGuild

This python script expects a table with a column named "taxonomy" formatted in the UNITE taxonomy format (e.g. k__Fungi.p__Basidiomycota.c__Agaricomycetes.o__Agaricales.f__Strophariaceae.g__Psilocybe.s__Psilocybe_semilanceata).
It calls the following API:

http://www.stbates.org/funguild_db.php

and returns info like:

> head(funguild_matrix[, 108:116])
               Taxon Taxon.Level Trophic.Mode                Guild Growth.Morphology     Trait Confidence.Ranking Notes                                                               Citation.Source
1          Psilocybe          13   Saprotroph Undefined Saprotroph         Agaricoid Poisonous           Probable  NULL                                  Tedersoo L, et al. 2014. Science 346:1256688
2    Ophiosphaerella          13   Saprotroph Undefined Saprotroph              NULL      NULL           Probable  NULL                                  Tedersoo L, et al. 2014. Science 346:1256688
3       Pringsheimia          13   Saprotroph Undefined Saprotroph              NULL      NULL           Probable  NULL                                  Tedersoo L, et al. 2014. Science 346:1256688
4           Hypocrea          13   Pathotroph         Mycoparasite              NULL      NULL    Highly Probable  NULL Tedersoo L, et al. 2014. Science 346:1256688; Samuels G. 2007, self published
5          Conlarium          13   Saprotroph Undefined Saprotroph              NULL      NULL           Probable  NULL                                  Tedersoo L, et al. 2014. Science 346:1256688
6 Sclerostagonospora          13   Saprotroph Undefined Saprotroph              NULL      NULL           Probable  NULL                                  Tedersoo L, et al. 2014. Science 346:1256688

The python script works ok, but I dont like how it needs a whole table in a specific format when it just uses one column.

Would this be something traits could/should implement? An R solution would be welcome! Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions