Mercurial > repos > jowong > prince_galaxy
diff filler.xml @ 0:88748989a22a draft default tip
planemo upload
author | jowong |
---|---|
date | Tue, 13 Nov 2018 11:41:37 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/filler.xml Tue Nov 13 11:41:37 2018 -0500 @@ -0,0 +1,36 @@ +<tool id="filler" name="Filler" version="1.0.1"> + <description>Filler Function to deal with paired collection</description> + <command interpreter="python"><![CDATA[ + filler.py + #if str( $data_input.data_selector ) == "paired" + -i $data_input.input1.forward + #end if + #if str( $data_input.data_selector ) == "single" + -i "$data_input.input2" + #end if + + -o $output + ]]></command> + <inputs> + <conditional name="data_input"> + <param name="data_selector" type="select" label="Single or Paired-end Data" help="Select between paired and single end data to add name to dataset"> + <option value="paired">Paired</option> + <option value="single">Single</option> + </param> + <when value="paired"> + <param name="input1" format="data" type="data_collection" collection_type="paired" label="Select a paired collection" help="a paired data"/> + </when> + <when value="single"> + <param name="input2" format="data" type="data" label="input" help="Specify dataset with single reads"/> + </when> + </conditional> + </inputs> + <outputs> + <data name="output" type="data_collection"/> + </outputs> + <help> +This tool processes the PRINCE galaxy output such that it is in line with the command line + </help> + <citations> + </citations> +</tool>