application: dotpath [
  documentation: "Draw a non-overlapping wordmatch dotplot of two sequences"
  groups: "Alignment:Dot plots"
  gui: "yes"
  batch: "yes"
  cpu: "high"
    relations: "EDAM_topic:0159 Sequence comparison"
    relations: "EDAM_operation:0288 Sequence word comparison"
    relations: "EDAM_operation:0490 Dotplot plotting"
]

section: input [
  information: "Input section"
  type: "page"
]

  sequence: asequence [
    parameter: "y"
    type: "any"
    relations: "EDAM_data:0849 Sequence record"
  ]

  sequence: bsequence [
    parameter: "y"
    type: "@($(acdprotein) ? stopprotein : nucleotide)"
    relations: "EDAM_data:0849 Sequence record"
  ]

endsection: input

section: required [
  information: "Required section"
  type: "page"
]

  integer: wordsize [
    standard: "Y"
    default: "4"
    minimum: "2"
    information: "Word size"
    relations: "EDAM_data:1250 Word size"
  ]

endsection: required

section: output [
  information: "Output section"
  type: "page"
]

  boolean: overlaps [
    additional: "Y"
    default: "N"
    information: "Display the overlapping matches"
    help: "Displays the overlapping matches (in red) as well as the
           minimal set of non-overlapping matches"
    relations: "EDAM_data:2527 Parameter"
  ]

  boolean: boxit [
    default: "Y"
    additional: "Y"
    information: "Draw a box around dotplot"
    relations: "EDAM_data:2527 Parameter"
  ]

  graph: graph [
    standard: "Y"
    gtitle: "Dotpath: $(asequence.usa) vs $(bsequence.usa)"
    gxtitle: "$(bsequence.name)"
    gytitle: "$(asequence.name)"
    relations: "EDAM_data:0862 Dotplot"
  ]

endsection: output
