{
    "$schema": "http://json-schema.org/draft-07/schema",
    "$id": "https://raw.githubusercontent.com/bactopia/bactopia/master/conf/schema/profiles/sge.json",
    "title": "Bactopia pipeline parameters",
    "description": "A flexible pipeline for complete analysis of bacterial genomes",
    "type": "object",
    "definitions": {
        "sge_profile_parameters": {
            "title": "SGE Profile (-profile sge) Parameters",
            "type": "object",
            "description": "Parameters to fine-tune your SGE setup.",
            "default": "",
            "fa_icon": "fas fa-exclamation-circle",
            "properties": {
                "sge_penv": {
                    "type": "string",
                    "default": "smp",
                    "description": "The parallel environment to be used by SGE for parallel tasks",
                    "fa_icon": "fas fa-clipboard-list"
                },
                "sge_queue": {
                    "type": "string",
                    "default": "all.q",
                    "description": "Comma-separated name of the queue(s) to be used by SGE",
                    "fa_icon": "fas fa-clipboard-list"
                },
                "sge_queue_size": {
                    "type": "integer",
                    "default": 100,
                    "description": "The maximum number of jobs to queue at a time",
                    "fa_icon": "fas fa-clipboard-list"
                },
                "sge_opts": {
                    "type": "string",
                    "default": "",
                    "description": "Additional options to pass to SGE",
                    "fa_icon": "fas fa-clipboard-list"
                }
            }
        }
    },
    "allOf": [
        {
            "$ref": "#/definitions/sge_profile_parameters"
        }
    ]
}
