197 tools registered

Interoperability: Code and API

Source code

IATR is an open source project. Please contact us for source code access.

MediaWiki macro

The following Mediawiki macro allows for linkouts to IATR given a tool name. Install the HTTP/Request.php PHP package, download the code, save it as extensions/IATR.php in your MediaWiki installation, add
require_once 'extensions/IATR.php';
to LocalSettings.php, and call the macro with:
<IATR>TOOL_NAME</IATR>
This macro was written by Robert Buccigrossi of Turner Consulting Group under a contract funded by the NIH Blueprint for Neuroscience Research and is distributed under the GNU General Public License.

MoinMoin macro

The following MoinMoin macro allows for linkouts to IATR given a tool name. Download the code, install it in the MoinMoin macro directory as IATR.py, and call the macro with:
[[IATR(TOOL_NAME)]]
The macro attempts to match partial tool names. This macro requires the following python modules: and has been tested with MoinMoin versions 1.3.0, 1.3.5, and 1.5.6. Most of the above modules come standard with Python installations; xml.xpath is provided by the PyXML package at pyxml.sourceforge.net.

General API

URLs to listed tools may be constructed by replacing TOOL_ID in the following URL with the IATR ID of the desired tool:
http://iatr.virtualbrain.org/display.php?spec=id&ids=TOOL_ID
Occasionally tools are removed from IATR; links to removed tools will return an error. IDs of removed tools are not reassigned.

XML API

URLs to return XML-wrapped information from IATR may be constructed as described below. For more information or to request other functionality, please contact us.

Note that in the event of an error, the standard (HTML) IATR error page is returned. This is a feature.

XML index of tools

The following URL returns an XML listing of basic information about all tools in IATR:
http://iatr.virtualbrain.org/xml.php?spec=index

XML tool listings

XML-wrapped information on single tools may be accessed by replacing TOOL_ID in the following URL with the IATR ID of the desired tool:
http://iatr.virtualbrain.org/xml.php?spec=id&ids=TOOL_ID

XML tool name search

Searches for tool names may be performed by replacing NAME with the desired tool name in the URL below:
http://iatr.virtualbrain.org/xml.php?spec=wsearch&name=NAME&ret=scores
A brief description of matching tools and the accuracy of the name match is returned. If ret=first is given, full information about the best match is returned

RDF API

Thanks to Yong Gao for providing the back end that does the work.

RDF tool listings

RDF-wrapped information on single tools may be accessed by replacing TOOL_ID in the following URL with the IATR ID of the desired tool:
http://iatr.virtualbrain.org/rdf.php?spec=id&ids=TOOL_ID