-
Notifications
You must be signed in to change notification settings - Fork 10
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Shutting down phylodiversity.net #43
Comments
thanks for your message @camwebb Looks like that IP address points to https://phylo.cs.nmsu.edu/ It's possible most of the R requests are coming via this package, hard to say. If you record user-agent strings, UA strings from this package should look like I imagine you remember I also maintain the phylocomr package wrapping the Phylocom library with an interface to it's phylomatic equivalent https://github.com/ropensci/phylocomr#phylomatic - What are the differences between the I don't know the details of what the service needs if run on a server. I do run some servers for various web services I maintain. It sounds like the gawk based version of Phylomatic could just run from a local software installation. Could the application of |
Thinking about this more, I realize the simplest thing is just to rewrite the basic phylomatic functionality in R - it's basic function is a simple graft and prune that would be quite easy (I guess) to implement in R with (To assist reading: a tree is simply a |
Good idea. I'd imagine a pure R implementation would be rather slow, but I don't know for sure. Maybe this: Translating to C++ would make it still fast and make it easy to provide a thin interface for that in R that would make it portable to all operating systems |
Yes, that makes sense. And since it came from C (in the phylocom distibution), I could start there. Would you be available to help with the R side and integration into your library? This will be a low-priority project, but I should be able to get it done in a year. |
Yes, definitely available to help on the R side. I can help with the translation if we do it in C++, but i've not much experience in C. |
Had a quick look at .C() and .Call() and might go that route using C,
rather than rewriting in C++ and using Rcpp. Will get back to you.
|
Sounds good |
Hi again @sckott. I'm working on this now. Using old/simple |
That's great there's progress on this! However, I've moved on to a new job and am no longer doing R work for the most part. If you want any help on this @LunaSare has taken over this package and https://github.com/ropensci/phylocomr - I can point out some other folks that might be interested as well, just let me know |
Hi @LunaSare, thanks and no hurry. What I'm hoping for is
I could learn (2) and release my own package, but would rather not have to, especially as |
I'm not sure where is best. The https://github.com/ropensci/phylocomr package calls out to the Phylocom C code - I'm not sure how the code in https://github.com/camwebb/phylomatic-r/ will relate to the Phylocom code? Perhaps it will make sense to include the new code in It probably makes sense to deprecate the I don't think it makes sense to put the https://github.com/camwebb/phylomatic-r/ in A separate package is also a good option. You'd have the most freedom in that case as opposed to including in another package. And then other packages could depend on your package. |
Would rather not it be in |
Agree, makes sense then to not include in |
Thanks @LunaSare. I may let this thread languish a bit. The CLI phylomatic is working well, and it will take a fair amount of work to re-write it in C, for an R package, so it's a project of 2-3 days, I think. I also have no indication if anyone would actually use an R package. It's on the list though, and I'll contact you when I get to it. I'll close this thread and an an issue and ping on the new repo. |
@sckott I'm going to shut down
phylodiversity.net
in a year (it's been over twenty years!). Phylomatic hasphylodiversity.net/phylomatic
as its front-end, but the code actually runs elsewhere, on a cloud server I also manage. I know phylomatic is still used heavily: ~300 POSTs topmws
a week, most fromr-curl
which I assume are generated fromtaxize
/brranching
. Can you suggest a clean way to transition to a sustainable, long-term cloud solution for phylomatic? Does it have to be a cloud solution? If we could package it right, the script engine (gawk
) and data files are only a few MB.Also, there are many requests from 128.123.63.10 (Mesilla Park, NM) via
python-requests
. Any idea who is running this interface?Thanks, Cam
The text was updated successfully, but these errors were encountered: