Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datasource: Funguild? #90

Open
zachary-foster opened this issue Mar 8, 2017 · 6 comments
Open

datasource: Funguild? #90

zachary-foster opened this issue Mar 8, 2017 · 6 comments

Comments

@zachary-foster
Copy link
Contributor

zachary-foster commented Mar 8, 2017

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

@sckott
Copy link
Contributor

sckott commented Mar 8, 2017

Thanks @zachary-foster

Sounds good to me - you want someone else to do the R bit or did you want to? - happy to help

@zachary-foster
Copy link
Contributor Author

Cool. I would not mind doing it, but I will not have time for a while probably and, since I got the python script to work for my immediate needs, it is not a priority for me right now. I was mostly just posting this as a record of the idea in case anyone else wanted to do it or if I had time to do it in the future.

@sckott
Copy link
Contributor

sckott commented Mar 9, 2017

Cool, thanks.

If anyone wants to do this go for it - I may do at some point if no one else does.

@wcornwell
Copy link

wcornwell commented Sep 25, 2017

If you do get around to fungi, we'll have a growing set of fungal trait data here: https://github.com/traitecoevo/fungaltraits

should be eventually linked to unite, index fungorum, and funguild if everything goes as planned.

@sckott
Copy link
Contributor

sckott commented Sep 25, 2017

thx @wcornwell ! just submitted a new ver of this pkg to CRAN - will try to get to funguild soon

@maelle
Copy link
Member

maelle commented Sep 9, 2022

This repository is about to be archived.

@maelle maelle closed this as completed Sep 9, 2022
@dlebauer dlebauer reopened this Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants