view macros.xml @ 0:c7a363d7ab26 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
author bgruening
date Sat, 12 Mar 2016 19:28:41 -0500
parents
children
line wrap: on
line source

<macros>
    <token name="@VERSION@">0.9</token>
    <xml name="requirements">
        <requirements>
            <requirement type="package" version="0.2.1b">eden</requirement>
        </requirements>
    </xml>
    <xml name="stdio">
        <stdio>
            <exit_code range="1:" level="fatal" description="Error occurred. Please check Tool Standard Error" />
        </stdio>
    </xml>
    <xml name="loadConditional">
        <conditional name="selected_tasks">
          <param name="selected_task" type="select" label="Select a Classification Task">
              <option value="fit" selected="true">Train a model</option>
              <option value="predict">Load a model and predict</option>
          </param>
          <when value="predict">
              <param name="infile_model" type="data" format="eden_model" label="Models" help="Select a model file." />
              <param name="infile_data" type="data" format="fasta" label="Data (fasta)" help="Select the FASTA sequences you want to classify."/>
          </when>
          <when value="fit">
            <param name="infile_train" type="data" format="fasta" label="Training samples (FASTA)" />
            <yield />
          </when>
        </conditional>
    </xml>
    <xml name="eden_citation">
        <citations>
            <citation type="doi">10.5281/zenodo.27945</citation>
        </citations>
    </xml>
</macros>