view Mydynamicscript/Mydynamicscript.xml @ 1:bd70557994fa draft default tip

Uploaded
author anshu
date Tue, 16 Jul 2013 03:42:09 -0400
parents
children
line wrap: on
line source

<tool id="Mydynamicscript" name="Mydynamicscript" version="0.01">
<description>Test</description>
<command interpreter="python">
            Mydynamicscript.py --script_path "$runMe" --interpreter "perl" 
            --tool_name "Mydynamicscript"   --output_tab "$tab_file" 
            </command>
<inputs>
<param name="job_name" type="text" label="Supply a name for the outputs to remind you what they contain" value="Mydynamicscript"/> 

</inputs>
<outputs>
 <data format="tabular" name="tab_file" label="${job_name}"/>

</outputs>
<configfiles>
<configfile name="runMe">
<![CDATA[   
#!/usr/bin/perl -w
\$a=1; \$b=2;
\$c=\$a+\$b;
print \$c;
exit;
]]>
</configfile>
</configfiles>
<tests><test>
        <param name="input1" value="Mydynamicscript_test1_input.xls" ftype="tabular"/>
        <param name="job_name" value="test1"/>
        <param name="runMe" value="$runMe"/>
        <output name="tab_file" file="Mydynamicscript_test1_output.xls" ftype="tabular"/>
        </test></tests>
<help>
<![CDATA[   

**What it Does**
test


**Script**
Pressing execute will run the following code over your input file and generate some outputs in your history::

 #!/usr/bin/perl -w
 $a=1; $b=2;
 $c=$a+$b;
 print $c;
 exit;



**Attribution** This Galaxy tool was created by anshub@osdd.net at 10/07/2013 22:07:26
using the Galaxy Tool Factory.
See https://bitbucket.org/fubar/galaxytoolfactory for details of that project
Please cite: Creating re-usable tools from scripts: The Galaxy Tool Factory. Ross Lazarus; Antony Kaspi; Mark Ziemann; The Galaxy Team. 
Bioinformatics 2012; doi: 10.1093/bioinformatics/bts573


]]>

</help>
</tool>