-
Notifications
You must be signed in to change notification settings - Fork 12
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
Need new workbench / kickouts to Textpresso to accomplish round trips #283
Comments
From [deleted] Some thoughts on what kinds of Texptresso searches I'd like to have available for curators from within annotons:
Other types of MF categories, e.g. transporters, will be included in the future. |
[deleted] you want to be targeting this ticket for the Textpresso interaction. |
@kltm - sorry not quite following. Should I put this on a different ticket? |
[deleted] No everything on this ticket--you had previously been commenting on #282 (unrelated), but I've cleaned that out, deleted it, and re-added it here. |
Okay, got it. Thx. |
Hi there, sorry for the delay, we have been busy developing the site in other Not all parameters have to be provided. The shortest link would be http://sandbox.textpresso.org/cgi-bin/tc/tpc/search?keyword=eggs All text input parameters and the category parameter can be repeated to Let me know if you have further questions. On 03/07/2016 12:20 PM, vanaukenk wrote:
|
@goldturtle Great, thank you. I was wrapped up this week finalizing the AmiGO release, but should be able to turn back to Noctua this upcoming week. I'll try to get this addition in as soon as the workbench/plugin system has been reviewed. |
I've taken a quick look at the URLs that you've provided. Does one have to be logged in to see results? I tried a few variations, but could not see much. Also, should the variable "barista_token" be passed as well, so that the data push can occur? |
[NOTE: Edited out all comments to/about the other vanauken so it stops coming up in my autocomplete.] |
Oops.Yes, you need to be logged in. Just implemented literature access permission yesterday. Need to design it differently then. barista_token should be passed. It's being passed back to noctua for the roundtrip. |
This is fixed now in a sense that it leads you to a login popup if you are not logged in. You can check a 'remember me' box, so you only need to do a login once. The 'remember me' function lasts for 4 weeks before you need to reenter your credentials again. |
@goldturtle Okay, I got a chance to look at this. I can now login...but there doesn't seem to be much loaded at this point? From here, is the expectation that there would be a button to kick back to Noctua after annotation? |
I have changed the permissions for you so you can search some Indeed, the curation form will be specified by a curator to send it back Michael. On 06/16/2016 04:52 AM, kltm wrote:
Hans-Michael Muller, PhD |
Okay, I'm now getting results. Playing with the environment in the first link (#283 (comment)), it does seem that the variable are preserved, but I'm having trouble getting the payload to export; I tried exporting, had no luck, and then was unable to view papers to try more. So two questions: 1) is there an expectation to be able to get back into Noctua at this point and 2) is it possible that I crashed the sandbox system? |
M. On 06/16/2016 11:59 PM, kltm wrote:
|
Great--thank you. We're going to work out a couple of other things here--there is plenty for us to work on until you get back. |
Hi there, http://sandbox.textpresso.org/cgi-bin/tc/tpc/search?token=abcdefg Could you place it under the workbenches tab for now? Also if you have a development server, I would prefer to work on that. I don't want much traffic from outsiders on our dev server (which the above url leads to). For the way back from Textpresso to Noctua, it would be sufficient for now to land on a splash page, displaying all parameters sent back to you (either as JSON or URI). Let me know what you think. |
@goldturtle Sorry, it might take a minute to get my head back in the headspace again, but I'll work from this command above as a reference: #283 (comment) . Looking at that, it seems that you're trying to use the /outgoing/ parameters as an argument, rather than the specified incoming ones. To rewrite what you're doing with the current API would be:
Appearing correctly(?) at: http://noctua.berkeleybop.org/editor/graph/gomodel:584b49fa00000194 (It also looks like you're using and "=" instead of a ":" in the gomodel argument.) |
Does the order of arguments in requests matter? And if so, could we make it such that it does not matter? I will not have much control over the order as users design the TPC curation form and thus the order. See the following, I just switched database-id and evidence-id: mueller@turtlebook:~$ http --json http://noctua.berkeleybop.org/tractorbeam token=fp77a1l4if76y0tcg0p4 x-client-id=tpc x-model-id=gomodel:584b49fa00000194 requests:='[{"evidence_id":"ECO:0000314", "database_id":"UniProtKB:A0A005", "class_id":"GO:0050689", "reference_id":"PMID:666333", "external_id":"TPDBID:0123456", "comments":"yo!"}]' {
"commentary": "n/a",
"message": "insufficient arg data to continue",
"message-type": "error"
} mueller@turtlebook:~$ http --json http://noctua.berkeleybop.org/tractorbeam token=fp77a1l4if76y0tcg0p4 x-client-id=tpc x-model-id=gomodel:584b49fa00000194 requests:='[{"database-id":"UniProtKB:A0A005", "evidence-id":"ECO:0000314", "class-id":"GO:0050689", "reference-id":"PMID:666333", "external-id":"TPDBID:0123456", "comments":"yo!"}]' {
"data": {
"annotations": [
{
"key": "state",
"value": "development"
},
{
"key": "title",
"value": "MyFunnyModel"
},
{
"key": "date",
"value": "2017-01-13"
},
{
"key": "contributor",
"value": "http://orcid.org/0000-0003-1036-3051"
},
{
"key": "http://www.geneontology.org/formats/oboInOwl#id",
"value": "gomodel:584b49fa00000194"
},
{
"key": "contributor",
"value": "GOC:kltm"
}
],
"facts": [
{
"annotations": [
{
"key": "evidence",
"value": "gomodel:584b49fa00000194/586fc17a00000141",
"value-type": "IRI"
},
{
"key": "contributor",
"value": "http://orcid.org/0000-0003-1036-3051"
},
{
"key": "date",
"value": "2017-01-13"
},
{
"key": "comment",
"value": "TPDBID:0123456"
},
{
"key": "comment",
"value": "yo!"
}
],
"object": "gomodel:584b49fa00000194/586fc17a00000140",
"property": "RO:0002333",
"property-label": "enabled_by",
"subject": "gomodel:584b49fa00000194/586fc17a00000139"
}
],
"id": "gomodel:584b49fa00000194",
"individuals": [
{
"annotations": [
{
"key": "date",
"value": "2017-01-13"
},
{
"key": "contributor",
"value": "http://orcid.org/0000-0003-1036-3051"
}
],
"id": "gomodel:584b49fa00000194/586fc17a00000140",
"type": [
{
"id": "UniProtKB:A0A005",
"type": "class"
}
]
},
{
"annotations": [
{
"key": "source",
"value": "PMID:666333"
},
{
"key": "contributor",
"value": "http://orcid.org/0000-0003-1036-3051"
},
{
"key": "date",
"value": "2017-01-13"
}
],
"id": "gomodel:584b49fa00000194/586fc17a00000141",
"type": [
{
"id": "ECO:0000314",
"label": "direct assay evidence used in manual assertion",
"type": "class"
}
]
},
{
"annotations": [
{
"key": "date",
"value": "2017-01-13"
},
{
"key": "contributor",
"value": "http://orcid.org/0000-0003-1036-3051"
}
],
"id": "gomodel:584b49fa00000194/586fc17a00000139",
"type": [
{
"id": "GO:0050689",
"label": "negative regulation of defense response to virus by host",
"type": "class"
}
]
}
],
"modified-p": true
},
"intention": "action",
"is-reasoned": false,
"message": "success",
"message-type": "success",
"packet-id": "21653ba07934e430d",
"provided-by": [],
"signal": "merge",
"uid": "http://orcid.org/0000-0003-1036-3051"
} |
@goldturtle Those are hash entries, so order does not matter. |
@kltm Strange. I believe I copied and pasted both examples and just changed orders. Have to check again with my laptop.
Sent from my mobile.
From: kltm
Sent: Sunday, January 15, 5:02 PM
Subject: Re: [geneontology/noctua] Need new workbench / kickouts to Textpresso to accomplish round trips (#283)
To: geneontology/noctua
Cc: Muller, Hans-Michael, Mention
@goldturtle<https://github.com/goldturtle> Those are hash entries, so order does not matter.
However, it would seem that in one case you're using database_id, and in another case database-id. The strings should be in the latter form--underscore versus dash.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#283 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AIPBG14wJ3Bmt968Q6AcJBwc8UH01Tztks5rSsGKgaJpZM4HR9CL>.
|
The examples may have changed over time as we have gone through different methods of doing these ops; it's best to use the most recent example above. |
@kltm Perfect. The N-T-N loop works for me now (see attachment). @vanaukenk I will implement it Tues or Wed on tpc.textpresso.org so you modify your form and try it out. |
@goldturtle and @kltm - thank you both very much. Looking forward to trying out the loop this week. |
The loop is now ready for testing. You need to modify your TPC curation form by entering a new URL address: http://tpc.textpresso.org/cgi-bin/tc/NoctuaOut. You also need to change the Format for Sending Data: to URI. When sending data to Noctua choose the button with green text color when you encounter one. Attached is the toy curation form that worked for me. |
This is really exciting. Could you document for us what you're doing at the TPC end as far as posting to us goes? Are you using an |
Sure. But let's have the dust settled first (i.e., see how it works for
Kimberly).
M
…On 01/17/2017 08:09 PM, kltm wrote:
This is really exciting. Could you document for us what you're doing
at the TPC end as far as posting to us goes? Are you using an
|application/x-www-form-urlencoded| action?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#283 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIPBGy0-lEQH3dgq31QYpMWDaD5C0u-_ks5rTZCHgaJpZM4HR9CL>.
|
Nice!
…On 01/20/2017 09:33 AM, vanaukenk wrote:
Successful round trip of a ZYG-1 protein serine/threonine kinase
annotation from Noctua to TPC and back to Noctua:
slide1
<https://cloud.githubusercontent.com/assets/1730534/22158848/43822d5c-df0c-11e6-90ca-5aa7067fa926.png>
We will need to work on making the TPC form more efficient for
curators, but the communication works!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#283 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIPBG5-tFwl5Ho2pBVIeFepyVYtdGd2Fks5rUO_fgaJpZM4HR9CL>.
--
Hans-Michael Muller, PhD
Scientific Analysis
Member of the Professional Staff
M/C 156-29
California Institute of Technology
Pasadena, Ca 91125
|
👍 |
Hi @kltm http: error: ConnectionError: HTTPConnectionPool(host='http%3a%2f%2fnoctua.berkeleybop.org%2ftractorbeam', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f67933f8dd0>: Failed to establish a new connection: [Errno -2] Name or service not known',)) Is there anything we need to update on our end to re-establish a working pipeline? Thx. |
Well, there was some brief weirdness with Noctua yesterday, but it was cleared last night, so likely not related. From the command line right now, as outlined in #283 (comment), I can run the command:
which successfully adds to the Scratch model. |
This should be fixed now. At some point incoming and outgoing traffic
got changed w.r.t. to hexcode conversion. Might have been on your side
or on my side as I changed my apache configuration recently.
Michael.
…On 04/28/2017 03:36 PM, kltm wrote:
|http --json noctua.berkeleybop.org/tractorbeam
token=PUTYOUROWNTOKENHERE x-model-id=gomodel:55ad81df00000001
x-client-id=tpc requests:='[{"database-id":"UniProtKB:A0A005",
"evidence-id":"ECO:0000314", "class-id":"GO:0050689",
"reference-id":"PMID:666333", "external-id":"TPDBID:0123456",
"comments":"yo!"}]' |
--
Hans-Michael Muller, PhD
Scientific Analysis
Member of the Professional Staff
M/C 156-29
California Institute of Technology
Pasadena, Ca 91125
|
Closing for now, but we could review this ticket for future work on curation tool integration. |
Essentially, as part of the workflow as described by @vanaukenk, we'd like to have a user looking at either an annoton or edge be able to get to a Textpresso page to create annotations (that will be fed back into noctua).
The details of these Textpresso access points are still TBD, but the details will be provided by @goldturtle and will minimally include a URL, method requirements, and parameter/arg requirements. These access points must also accept a "barista_token" arguement and a "model_id" arguement (names can be changed).
This is very closely related to #282 (get the workbench framework in place) and #147 (what Textpresso will say back to us).
Tagging @goldturtle and @vanaukenk.
The text was updated successfully, but these errors were encountered: