{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "agat_convert_sp_gxf2gxf",
  "description": "This script fixes and/or standardizes any GTF/GFF file into full sorted\nGTF/GFF file. It AGAT parser removes duplicate features, fixes\nduplicated IDs, adds missing ID and/or Parent attributes, deflates\nfactorized attributes (attributes with several parents are duplicated\nwith uniq ID), add missing features when possible (e.g. add exon if only\nCDS described, add UTR if CDS and exon described), fix feature locations\n(e.g. check exon is embedded in the parent features mRNA, gene), etc...\n\nAll AGAT's scripts with the _sp_ prefix use the AGAT parser, before to\nperform any supplementary task. So, it is not necessary to run this\nscript prior the use of any other _sp_ script.\n",
  "type": "object",
  "$defs": {
    "inputs": {
      "title": "Inputs",
      "type": "object",
      "description": "No description",
      "properties": {
        "gxf": {
          "type": "string",
          "format": "path",
          "exists": true,
          "description": "String - Input GTF/GFF file",
          "help_text": "Type: `file`, multiple: `False`, required, direction: `input`, example: `\"input.gff\"`. "
        }
      }
    },
    "outputs": {
      "title": "Outputs",
      "type": "object",
      "description": "No description",
      "properties": {
        "output": {
          "type": "string",
          "format": "path",
          "description": "String - Output GFF file",
          "help_text": "Type: `file`, multiple: `False`, required, default: `\"$id.$key.output.gff\"`, direction: `output`, example: `\"output.gff\"`. ",
          "default": "$id.$key.output.gff"
        }
      }
    },
    "arguments": {
      "title": "Arguments",
      "type": "object",
      "description": "No description",
      "properties": {
        "config": {
          "type": "string",
          "format": "path",
          "description": "String - Input agat config file",
          "help_text": "Type: `file`, multiple: `False`, direction: `input`, example: `\"custom_agat_config.yaml\"`. "
        }
      }
    },
    "nextflow input-output arguments": {
      "title": "Nextflow input-output arguments",
      "type": "object",
      "description": "Input/output parameters for Nextflow itself. Please note that both publishDir and publish_dir are supported but at least one has to be configured.",
      "properties": {
        "publish_dir": {
          "type": "string",
          "description": "Path to an output directory.",
          "help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
        }
      }
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/inputs"
    },
    {
      "$ref": "#/$defs/outputs"
    },
    {
      "$ref": "#/$defs/arguments"
    },
    {
      "$ref": "#/$defs/nextflow input-output arguments"
    }
  ]
}
