application: fretree [
  documentation: "Interactive tree rearrangement"
  groups: "Phylogeny:Tree drawing"
  embassy: "phylipnew"
  relations:  "EDAM_topic:0084 Phylogenetics"
  relations:  "EDAM_operation:0326 Phylogenetic tree editing"
]

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

  integer: spp [
    information: "Number of species"
    parameter: "Y"
    relations: "EDAM_data:2527 Parameter"
  ]

  tree: intreefile [
    parameter: "Y"
    knowntype: "newick"
    information: "Phylip tree file"
    relations:  "EDAM_data:0872 Phylogenetic tree"
  ]

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"
    relations: "EDAM_data:2527 Parameter"
  ]

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

  integer: screenwidth [
    additional: "Y"
    default: "80"
    information: "Width of terminal screen in characters"
    relations: "EDAM_data:2152 Rendering parameter"
  ]

  integer: vscreenwidth [
    additional: "Y"
    default: "80"
    information: "Width of plotting area in characters"
    relations: "EDAM_data:2152 Rendering parameter"
  ]

  integer: screenlines [
    additional: "Y"
    default: "24"
    information: "Number of lines on screen"
    relations: "EDAM_data:2152 Rendering parameter"
  ]

endsection: additional

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

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

endsection: output
