Application Programming Interface


Submit new task
Method
URL
Required headers :
Accept = application/json
Content-Type = application/json
Optional headers :
x-session-token = {sessionToken}


{
	"organism" : {
		"organismId" : 8,
		"primary" : ["POR2", "POR1", "SLM1", "MDY2", "ADR1", "YDR239C", "MSS18", "YIL002W-A", "ATP4"],
		"reference" : ["COQ10", "OPT1", "ADE8", "TRM12", "VAR1", "VAS1", "YNR029C", "RPL6B", "SMB1", "SMC2", "PAN5", "GET4", "MEI4", "SMC3", "SMC4", "IPP1", "KIC1", "TMA20", "YLR001C"],
		"referenceAsRestOfGenome" : false
		},
	"statisticalTest" : {
		"hypergeometric" : "Over-representation terms in primary set items",
		"significanceLevel" : 0.05
		},
	"geneOntology" : {
		"biologicalProcess" : true,
		"molecularFunction" : true,
		"cellularComponent" : true,
		"hierarchicalAnnotations" : true,
		"minOntologyLevel" : 3,
		"maxOntologyLevel" : 10
		},
	"algorithmOptions" : {
		"minimalNumberOfGenesDescribedByGo" : 3,
		"maximalNumberOfGoTermsInRulePremise" : 5,
		"minimalSupport" : 3,
		"maximalNumberOfRules" : 1000
		},
	"rulesFiltration" : {
		"ruleQuality" : true,
		"ruleLength" : true,
		"ontologyLevel" : true,
		"rulesSimilarity" : true,
		"minimalSimilarity" : 0.5
		},
	"outputRules" : {
		"sort" : "quality"
	}
}
{
    "status": "success",
    "taskName": "ae2a3896e8ba4bfa8832116d8ff33a6d"
}
			
{
    "errorCode": "GO-CORE-SESSION-HEADER",
    "message": "Missing header 'x-session-token'"
}