Mercurial > repos > anshu > testset
comparison Mydynamicscript/Mydynamicscript.xml @ 1:bd70557994fa draft default tip
Uploaded
| author | anshu |
|---|---|
| date | Tue, 16 Jul 2013 03:42:09 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 0:2423b15fa47f | 1:bd70557994fa |
|---|---|
| 1 <tool id="Mydynamicscript" name="Mydynamicscript" version="0.01"> | |
| 2 <description>Test</description> | |
| 3 <command interpreter="python"> | |
| 4 Mydynamicscript.py --script_path "$runMe" --interpreter "perl" | |
| 5 --tool_name "Mydynamicscript" --output_tab "$tab_file" | |
| 6 </command> | |
| 7 <inputs> | |
| 8 <param name="job_name" type="text" label="Supply a name for the outputs to remind you what they contain" value="Mydynamicscript"/> | |
| 9 | |
| 10 </inputs> | |
| 11 <outputs> | |
| 12 <data format="tabular" name="tab_file" label="${job_name}"/> | |
| 13 | |
| 14 </outputs> | |
| 15 <configfiles> | |
| 16 <configfile name="runMe"> | |
| 17 <![CDATA[ | |
| 18 #!/usr/bin/perl -w | |
| 19 \$a=1; \$b=2; | |
| 20 \$c=\$a+\$b; | |
| 21 print \$c; | |
| 22 exit; | |
| 23 ]]> | |
| 24 </configfile> | |
| 25 </configfiles> | |
| 26 <tests><test> | |
| 27 <param name="input1" value="Mydynamicscript_test1_input.xls" ftype="tabular"/> | |
| 28 <param name="job_name" value="test1"/> | |
| 29 <param name="runMe" value="$runMe"/> | |
| 30 <output name="tab_file" file="Mydynamicscript_test1_output.xls" ftype="tabular"/> | |
| 31 </test></tests> | |
| 32 <help> | |
| 33 <![CDATA[ | |
| 34 | |
| 35 **What it Does** | |
| 36 test | |
| 37 | |
| 38 | |
| 39 **Script** | |
| 40 Pressing execute will run the following code over your input file and generate some outputs in your history:: | |
| 41 | |
| 42 #!/usr/bin/perl -w | |
| 43 $a=1; $b=2; | |
| 44 $c=$a+$b; | |
| 45 print $c; | |
| 46 exit; | |
| 47 | |
| 48 | |
| 49 | |
| 50 **Attribution** This Galaxy tool was created by anshub@osdd.net at 10/07/2013 22:07:26 | |
| 51 using the Galaxy Tool Factory. | |
| 52 See https://bitbucket.org/fubar/galaxytoolfactory for details of that project | |
| 53 Please cite: Creating re-usable tools from scripts: The Galaxy Tool Factory. Ross Lazarus; Antony Kaspi; Mark Ziemann; The Galaxy Team. | |
| 54 Bioinformatics 2012; doi: 10.1093/bioinformatics/bts573 | |
| 55 | |
| 56 | |
| 57 ]]> | |
| 58 | |
| 59 </help> | |
| 60 </tool> |
