ZINC via curl: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
This format is basically tab-delimited, with a few columns that are semi-colon sub-delimited (and column sub-sub-delimited). It's meant to be used with awk. I can give you json output if you'd like to format it yourself. | This format is basically tab-delimited, with a few columns that are semi-colon sub-delimited (and column sub-sub-delimited). It's meant to be used with awk. I can give you json output if you'd like to format it yourself. | ||
[[Category: | [[Category:Tutorials]] | ||
[[Category:ZINC]] | [[Category:ZINC]] |
Revision as of 00:56, 11 March 2014
You can query ZINC using curl as follows:
Download all the IDs in a file
curl -s --data-urlencode zinc.ids="$( cat test.list )" -d page.format=properties http://zinc.docking.org/results
Get all the information about an ID
This includes target annotations and such, using the "800-lb-gorilla" format
curl -s --data-urlencode zinc.ids="$( cat test.list )" -d page.format=800-lb-gorilla http://zinc.docking.org/results
This format is basically tab-delimited, with a few columns that are semi-colon sub-delimited (and column sub-sub-delimited). It's meant to be used with awk. I can give you json output if you'd like to format it yourself.