application: etandem [
  documentation: "Find tandem repeats in a nucleotide sequence"
  groups: "Nucleic:Repeats"
    relations: "EDAM_topic:0157 Sequence composition analysis"
    relations: "EDAM_operation:0379 Repeat sequence detection"
]

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

  sequence: sequence [
    parameter: "Y"
    type: "dna"
    relations: "EDAM_data:2887 Sequence record (nucleic acid)"
  ]

endsection: input

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

  integer: minrepeat [
    standard: "Y"
    default: "10"
    minimum: "2"
    information: "Minimum repeat size"
    valid: "Integer, 2 or higher"
    relations: "EDAM_data:1249 Sequence length"
  ]

  integer: maxrepeat [
    standard: "Y"
    default: "$(minrepeat)"
    minimum: "$(minrepeat)"
    information: "Maximum repeat size"
    valid: "Integer, same as -minrepeat or higher"
    expected: "Same as -minrepeat"
    relations: "EDAM_data:1249 Sequence length"
  ]

endsection: required

section: advanced [
  information: "Advanced section"
  type: "page"
]

  integer: threshold [
    default: "20"
    information: "Threshold score"
    relations: "EDAM_data:2146 Threshold"
  ]

  boolean: mismatch [
    information: "Allow N as a mismatch"
    relations: "EDAM_data:2527 Parameter"
  ]

  boolean: uniform [
    information: "Allow uniform consensus"
    relations: "EDAM_data:2527 Parameter"
  ]

endsection: advanced

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

  report: outfile [
    parameter: "Y"
    rformat: "table"
    taglist: "int:rpt_size=Size int:rpt_count=Count
              float:identity=Identity str:consensus=Consensus"
    rextension: "tan"
    precision: "0"
    relations: "EDAM_data:1299 Sequence features (repeats)"
  ]

  outfile: origfile [
    extension: "oldtan"
    nullok: "Y"
#    default: ""
    nulldefault: "Y"
    knowntype: "tandem output"
    information: "Sanger Centre program tandem output file
                  (optional)"
    relations: "EDAM_data:1299 Sequence features (repeats)"
  ]

endsection: output
