Note: Generated using Jquery and a TOC plugin.

Welcome

Setup guide

Visually explore the data

Web Artemis is a very cool genome browser. It talks to Crawl services, so can be used to explore the data they hold.

REST Services

Metadata about each service can be accessed at :

Organisms

Regions

Features

Sequence Alignment/Map files (SAM/BAM)

Variation files (VCF/BCF)

SOAP Services

As an alternative to the RESTful approach, Crawl also publishes SOAP services too.

These services, and their WSDLS, are described here in more detail.

All the same Crawl RESTful resources are available as SOAP endpoints too. What follows is a simple python program illustrating how to use them.


# first you must "easy_install suds"

import suds
from suds.client import Client

wsdl = "http://localhost:8080/services/soap/%s?wsdl"

organisms = Client(wsdl % "organisms")
regions = Client(wsdl % "regions")
features = Client(wsdl % "features")

print organisms
print regions
print features


first_organism = organisms.service.listOrganisms()[0]
print first_organism

# get the Pfalciparum organism
pfalciparum = organisms.service.getByString('Pfalciparum')[0]
print pfalciparum

# get the first region in Pfalciparum
first_pfalciparum_region = regions.service.inorganism(pfalciparum._commonName)[0]
print first_pfalciparum_region

# extract the first gene from all the regions in Pfalciparum
for region in regions.service.inorganism(pfalciparum._commonName):
    genes = regions.service.locations(region._uniqueName, 1, 1000)
    if len(genes) > 0 :
        gene = genes[0]
        print gene
        print features.service.hierarchy(genes[0]._uniqueName )