application: fretree [
  documentation: "Interactive tree rearrangement"
  groups: "Phylogeny:Tree drawing"
  embassy: "phylipnew"
]

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

  integer: spp [
    information: "Number of species"
    parameter: "Y"
  ]

  tree: intreefile [
    parameter: "Y"
    knowntype: "newick"
    information: "Phylip tree file"
  ]

endsection: input

section: additional [
  information: "Additional section"
  type: "page"
]

  list: initialtree [
    additional: "Y"
    minimum: "1"
    maximum: "1"
    header: "Initial tree"
    values: "a:Arbitary; u:User; s:Specify"
    information: "Initial tree"
    default: "Arbitary"
  ]

  list: format [
    additional: "Y"
    minimum: "1"
    maximum: "1"
    header: "test"
    values: "p:PHYLIP; n:NEXUS; x:XML"
    information: "Format to write trees"
    default: "p"
  ]

  integer: screenwidth [
    additional: "Y"
    default: "80"
    information: "Width of terminal screen in characters"
  ]

  integer: vscreenwidth [
    additional: "Y"
    default: "80"
    information: "Width of plotting area in characters"
  ]

  integer: screenlines [
    additional: "Y"
    default: "24"
    information: "Number of lines on screen"
  ]

endsection: additional

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

  outfile: outtreefile [
    parameter: "Y"
    extension: "treefile"
    knowntype: "newick tree"
    information: "Phylip tree output file"
  ]

endsection: output
