Mercurial > repos > ambarishk > mytoolshed
diff tool1/tool1.xml @ 0:9cc0f9a8912e draft default tip
Uploaded
author | ambarishk |
---|---|
date | Thu, 21 Apr 2016 06:45:57 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool1/tool1.xml Thu Apr 21 06:45:57 2016 -0400 @@ -0,0 +1,74 @@ +<tool id="tool1" name="tool1" version="0.01"> +<description>grep command</description> + +<command interpreter="python"> + + tool1.py --script_path "$runMe" --interpreter "python" + --tool_name "tool1" + + --output_dir "./" --output_tab "$output1" + +</command> +<inputs> +<param name="job_name" type="text" size="60" label="Supply a name for the outputs to remind you what they contain" value="tool1"/> + + +</inputs> +<outputs> + <data format="ab1" name="output1" label="${job_name}"/> + +</outputs> +<configfiles> +<configfile name="runMe"> + import re + hand = open('/home/guest/word.txt') + for line in hand: + line = line.rstrip() + if re.search('is', line) : + print line +</configfile> +</configfiles> +<tests> + + <test> + + <param name="job_name" value="test1"/> + <param name="runMe" value="$runMe"/> + <output name="output1="tool1_test1_output.xls" ftype="tabular"/> + + </test> + +</tests> +<help> + + +get the line. + +**Script** +Pressing execute will run the following code over your input file and generate some outputs in your history:: + + + import re + hand = open('/home/guest/word.txt') + for line in hand: + line = line.rstrip() + if re.search('is', line) : + print line + +**Attribution** +This Galaxy tool was created by admin@ngsap.com at 13/04/2016 19:49:50 +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 + + +This tool was autogenerated from a user provided script using the Galaxy Tool Factory 2 +https://toolshed.g2.bx.psu.edu/view/fubar/tool_factory_2 +</help> +<citations> + + <citation type="doi">10.1093/bioinformatics/bts573</citation> +</citations> +</tool>