Pline (original) (raw)

JSON-based web interfaces for command-line programs

Play video Live demo →︎ Get started →

In a nutshell

Given a JSON-formatted program description like this:

{
    "program": "remove_gaps.py",
    "name": "Gaps remover",
    "desc": "Trims gaps-only sites from the input sequence alignment",
    "options": [
        {"file": "", "required": "Input file missing!"},
        {"bool": "--count", "title": "Count sequences"},
        {"text": "--out", "title": "", "default": "output filename"}
    ]
}

Pline will output a GUI like this:

This example interface represents a command-line script remove_gaps.py with two input arguments. Go on - fill the inputs, click the big orange button and see what happens.