Ginflow

Capture d%e2%80%99%c3%a9cran 2015 09 11 %c3%a0 10.27.38

Run workflow on a chemical engine


Please log in to perform a job with this app.


GinFlow is a workflow executor using HOCL (Higher Order Chemical Language)

We publish here a minimal demonstrator of the GinFlow software. For further information and advanced usage please browse to the official web site : http://ginflow.inria.fr

Your first workflow

  • Upload a json description of your worflow, for instance wf.json :

{ "name": "test-workflow", "services": [ { "dst": [ "2" ], "in": [ "!" ], "name": [ "1" ], "srv": [ "echo" ] }, { "in": [ "?" ], "name": [ "2" ], "src": [ "1" ], "srv": [ "echo" ] } ] }

  • Write the name of the uploaded file in the parameter field.
  • Launch the workflow

More info

Please browse to the website : http://ginflow.inria.fr

In input :

wf.json
{
  "name"    : "test-workflow",
  "services": [{
    "name": ["1"],
    "srv" : ["echo"],
    "in"  : ["!"],
    "dst" : ["2"]
  }, {
    "name": ["2"],
    "srv" : ["echo"],
    "in"  : ["?"],
    "src" : ["1"]
  }]
}


wf.json
{
  "name"    : "test-workflow",
  "services": [{
    "name": ["1"],
    "srv" : ["echo"],
    "in"  : ["!"],
    "dst" : ["2"]
  }, {
    "name": ["2"],
    "srv" : ["echo"],
    "in"  : ["?"],
    "src" : ["1"]
  }]
}


wf.json
{
  "name"    : "test-workflow",
  "services": [{
    "name": ["1"],
    "srv" : ["echo"],
    "in"  : ["!"],
    "dst" : ["2"]
  }, {
    "name": ["2"],
    "srv" : ["echo"],
    "in"  : ["?"],
    "src" : ["1"]
  }]
}


wf.json
{
  "name"    : "test-workflow",
  "services": [{
    "name": ["1"],
    "srv" : ["echo"],
    "in"  : ["!"],
    "dst" : ["2"]
  }, {
    "name": ["2"],
    "srv" : ["echo"],
    "in"  : ["?"],
    "src" : ["1"]
  }]
}


wf.json
{
  "name"    : "test-workflow",
  "services": [{
    "name": ["1"],
    "srv" : ["echo"],
    "in"  : ["!"],
    "dst" : ["2"]
  }, {
    "name": ["2"],
    "srv" : ["echo"],
    "in"  : ["?"],
    "src" : ["1"]
  }]
}



In output :

wf.json.ginout

    wf.json.ginout
    

    wf.json.ginout
    

    wf.json.ginout
    

    wf.json.ginout
    

11/09/2015 : Version 1.0, first public release

How to use our REST API :

Think to check your private token in your account first. You can find more detail in our documentation tab.

This app id is : 38

This curl command will create a job, and return your job url, and also the average execution time

files and/or dataset are optionnal, think to remove them if not wanted
curl -H 'Authorization: Token token=<your_private_token>' -X POST
-F job[webapp_id]=38
-F job[param]=""
-F job[queue]=standard
-F files[0]=@test.txt
-F files[1]=@test2.csv
-F job[file_url]=<my_file_url>
-F job[dataset]=<my_dataset_name> https://allgo.inria.fr/api/v1/jobs

Then, check your job to get the url files with :

curl -H 'Authorization: Token token=<your_private_token>' -X GET https://allgo.inria.fr/api/v1/jobs/<job_id>