Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


WikiPathways is an open, public platform dedicated to the curation of biological pathways by and for the scientific community. A pathway is basicly a biological network that contains elements like genes, metabolisms, etc. These pathways can be downloaded (as TXT, PDF, PNG, SVG, etc.) directly from the WikiPathways API. Genetikos makes interaction with these elements possible (if more information about the element is available), you can:

  • hover an element
  • click on an element (multiple with hotkey: shift)
  • select an area of elements (multiple with hotkey: shift)
  • unselect elements with hotkey

Genetikos requests the SVG version of a specific pathway from the API. Afterwards a SPARQL Query is send to the SPARQL Endpoint of WikiPathways, and those information is mapped directly on each element of the SVG. JQuery is used to bind the events (hover,click) on a specific element. QunitJS is used for testing.


JQuery 1.7 (or higher)


Include the javascript files.

<script type="text/javascript" src=""></script>
<script type="text/javascript" src="js/jquery.genetikos.js"></script>

Bind Genetikos on a HTML-element and specify a callback function.

<script type="text/javascript">
            onselection: processNodes
        function processNodes(elements) { 
            // do something with array of elements
            var str = elements.length + " element(s) in area selected <br/>-------<br/>";
            for(var i = 0; i < elements.length; i++)
                str += elements[i]["id"] + " " + elements[i]["value"] + "<br/>";

<div id="pathway">Loading...</div>
<div id="output"></div>

When an area is selected, the area design can be specified with the following CSS selector.
#pathway #genetikos-region{
    background-color: #ccc;
    border: 1px dotted #333;
    opacity: 0.3;


No description, website, or topics provided.



No releases published
You can’t perform that action at this time.