Timeline for Get protein names corresponding to PDB ID
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 7, 2020 at 19:49 | comment | added | Mr_Z |
I've updated my answer. The dotted format is not a problem of the API. It is just how jq is getting the keys from the JSON formatted result. stedolan.github.io/jq/manual/#Basicfilters gives you a basic overview of how to use jq .
|
|
Nov 7, 2020 at 19:46 | history | edited | Mr_Z | CC BY-SA 4.0 |
extend answer to get another field of the JSON response
|
Nov 7, 2020 at 16:58 | comment | added | David | Thanks again. I know it is bad form to ask supplementary questions, but could you possibly provide a link in your answer to the particular page in the API which describes the need to specify all of the four "dotted" terms. I went to ebi.ac.uk/proteins/api to try to find out how to construct a query to get the species (so I didn't have to ask) but must be looking in the wrong place. I can find an example XML for a protein under proteins/proteins that includes some of these terms, and various unpromising json thingies. NCBI provides intelligible APIs (or used to) — whereas EBI… | |
Nov 5, 2020 at 12:59 | comment | added | Mr_Z | Check this answer stackoverflow.com/a/6392271 for your tab problem. | |
Nov 5, 2020 at 12:52 | vote | accept | David | ||
Nov 5, 2020 at 12:52 | comment | added | David | Many thanks. Got this running. Only problem is that on OS X the \t tab escape does not work (it is apparently non-standard) and none of the answers here worked for me. However it is easy enough to insert a tab after the four-character PDB ID programmatically. | |
Nov 4, 2020 at 19:56 | comment | added | Mr_Z |
sed should also be available for you. You can install jq and parallel with brew
|
|
Nov 4, 2020 at 19:53 | history | edited | Mr_Z | CC BY-SA 4.0 |
Extend answer and add another possible way for requesting the api
|
Nov 4, 2020 at 16:41 | history | answered | Mr_Z | CC BY-SA 4.0 |