Comments (8)
On Wed, Mar 27, 2013 at 9:03 AM, Stephen Smith [email protected]:
we need to be able to deal with these before they are added to the graph.
The idea would be to
- TNRS the names that are there
- For ones that match that weren't matched before, we can assign the
ottol id
- For remaining names, if there are any, retrieve the scope
determined by the TNRS
- Add these remaining names as names subtending the scope name to the
taxonomy WITHIN treemachine- Add these new names to an index that identifies these as new names
and give a temp ottol id. This index will serve as easy way to update once
we have new official ids from taxomachine and will serve to easily update
taxomachineBe sure this index links back to the study (i.e. contains the study id)!
The study is the only "authority" for the name that we'd have at this
point.
Jonathan
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/21
.
from treemachine.
Will do and this is related to OpenTreeOfLife/taxomachine#16
from treemachine.
Cant seem to get the TNRS to connect with URLConnection or HttpUrlConnection. Not sure the problem but if someone wants to take a look it is on lines 105-150 in PhylografterConnector. Keep getting 406 with just the simplest call (not post, just the basic call that is the curl http://opentree-dev.bio.ku.edu:7476/db/data/ext/TNRS/graphdb/getContextForNames
from treemachine.
There is an example of doing a http post request using the jersey library in taxomachine in opentree.tnrs/TNRSAdapterGNR.java. It was working for me before, although who knows, I don't think the GNR uses neo4j. Anyway the maven dependency is the com.sun.jersey.jersey-client, it's also in the taxomachine pom.xml (and the pom.serverplugins.xml)
from treemachine.
So, I switched the PhylografterConnector code over to using the jersey client objects. It now connects successfully to the TNRS context query. Presumably it should be easy to recycle the code for the name queries. Not sure what the next step is in the workflow though (getting the names phylografter doesn't know?) so I have just left it alone for now. Let me know if there is other stuff for me to help with.
from treemachine.
Excellent. Thanks cody. I can deal with the next steps when I get back
On Mon, Apr 1, 2013 at 10:19 AM, chinchliff [email protected]:
So, I switched the PhylografterConnector code over to using the jersey
client objects. It now connects successfully to the TNRS context query.
Presumably it should be easy to recycle the code for the name queries. Not
sure what the next step is in the workflow though (getting the names
phylografter doesn't know?) so I have just left it alone for now. Let me
know if there is other stuff for me to help with.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-15725288
.
from treemachine.
the TNRS part is basically done now with the help of cody and joseph. i just got the final step in there and am working on putting the taxa that don't match (which aren't that many so far)
from treemachine.
everything is done for the adding nodes except the actual adding. working out the temp ids and then it should be done
from treemachine.
Related Issues (20)
- Trouble spots in v3/tree_of_life API HOT 5
- treemachine plugin versions HOT 5
- No entries in `sourceToMetaMap` for "rootward" nodes HOT 4
- returning unique_name or not? HOT 6
- Implement partial v2/v3 compatibility layer HOT 1
- Delete "terminal" properties when the value starts with "ott" HOT 1
- Bad property value for was_constrained and was_uncontested HOT 4
- How did treemachine compute total_OTU_count ? HOT 2
- offer options that prune the `subtree` method's response to the species level
- Use GET instead of POST where possible
- Treemachine could manage multiple trees HOT 4
- Fix the child/parent induced subtree problem HOT 6
- Deal with missing OTT ids better HOT 3
- label internal nodes of induced tree
- add synth_id to response from synth-dependent services HOT 4
- add synth_id option to "about" to retrieve metadata for old versions
- Display more than 3 levels if not too many tips HOT 6
- Support arguson format in induced_subtree method
- Newick strings contains comma-rightparen
- Input files all use UTF-8 encoding, need to read them that way HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from treemachine.