| Miscellaneous |
| Version lineage of this tool (guids ordered most recent to oldest) |
| toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgtf2/2.00 (this tool) |
| toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgtf2/2.01 |
| rgtf2 |
| Requirements (dependencies defined in the <requirements> tag set) |
| name | version | type |
| galaxyxml | 0.4.14 | package |
| planemo | 0.74.3 | package |
| Additional information about this tool |
#import os
#set dev_env = os.environ.get('GALAXY_DEVELOPMENT_ENVIRONMENT', '0') == '1'
#if not $dev_env and ( $__user_email__ not in $__admin_users__ ):
python3 $__tool_directory__/rgToolFactory2.py --bad_user $__user_email__
#else:
python3 $__tool_directory__/rgToolFactory2.py
#if len(str($cl_suffix)) > 0:
--cl_suffix "$cl_suffix"
#end if
#if $cover.commover == "yes":
#if len(str($cover.command_override)) > 10:
--command_override "$commandoverride"
#end if
#if len(str($cover.test_override)) > 10:
--test_override "$testoverride"
#end if
#end if
--packages "$deps.packages"
#if $deps.usescript.choosescript == "yes":
--script_path "$runme"
--sysexe "$deps.usescript.scriptrunner"
#end if
--tool_name "$tool_name" --user_email "$__user_email__" --citations "$citeme" --parampass "$io_param.ppass.parampass"
#if str($make.makeMode.make_Tool)!="runonly":
--make_Tool "$make.makeMode.make_Tool"
--tool_desc "$make.makeMode.tool_desc"
--tool_version "$make.makeMode.tool_version"
--help_text "$helpme"
--new_tool "$new_tool"
--toolshed_api_key "$make.makeMode.toolshed_apikey"
--galaxy_api_key "$make.makeMode.galaxy_apikey"
--toolshed_url "$make.makeMode.toolshed_url"
--galaxy_url "$make.makeMode.galaxy_url"
#end if
#if $io_param.ppass.parampass != '0':
#if str($io_param.ppass.addparam.edit_params) == "yes":
--edit_additional_parameters
#end if
#for $apar in $io_param.ppass.addparam.additional_parameters:
#if $apar.ap_type.param_type=="selecttext":
--selecttext_parameters '{"name":"$apar.param_name", "label":"$apar.param_label", "help":"$apar.param_help",
"type":"$apar.ap_type.param_type","CL":"$apar.param_CL","override":"$apar.param_CLprefixed","value": [
#for $i,$st in enumerate($apar.ap_type.selectTexts):
"$st.select_value"
#if ($i < (len($apar.ap_type.selectTexts)-1)):
,
#end if
#end for
], "texts": [
#for $i,$st in enumerate($apar.ap_type.selectTexts):
"$st.select_text"
#if ($i < (len($apar.ap_type.selectTexts)-1)):
,
#end if
#end for
]
}'
#else:
--additional_parameters '{"name": "$apar.param_name", "value": "$apar.ap_type.param_value", "label": "$apar.param_label", "help": "$apar.param_help",
"type": "$apar.ap_type.param_type","CL": "$apar.param_CL","override": "$apar.param_CLprefixed", "repeat": "$apar.param_repeat"}'
#end if
#end for
#end if
#for $intab in $io_param.ppass.io.history_inputs:
--input_files '{"name": "$intab.input_files", "CL": "$intab.input_CL", "format": "$intab.input_formats", "label": "$intab.input_label", "help": "$intab.input_help", "repeat": "$intab.input_repeat"}'
#end for
#for $otab in $io_param.ppass.io.history_outputs:
--output_files '{"name": "$otab.history_name", "format": "$otab.history_format", "CL": "$otab.history_CL", "test": "$otab.history_test"}'
#end for
#for $collect in $io_param.ppass.io.collection_outputs:
--collection '{"name": "$collect.name", "kind": "$collect.kind", "discover": "$collect.discover", "label": "$collect.label"}'
#end for
--galaxy_root "$__root_dir__"
--tool_dir "$__tool_directory__"
#end if
| Functional tests |
| name | inputs | outputs | required files |
| Test-1 |
tool_name: pyrevpos deps|packages: python deps|usescript|dynScript: import sys; inp = sys.argv[1]; outp = sys.argv[2]; inlist = open(inp,'r').readlines(); o = open(outp,'w'); rs = [''.join(list(reversed(x.rstrip()))) for x in inlist]; o.write('\n'.join(rs)); o.close() deps|usescript|choosescript: yes io_param|ppass|io|history_inputs_0|input_files: input1_sample io_param|ppass|io|history_inputs_0|input_formats: txt io_param|ppass|io|history_inputs_0|input_label: input io_param|ppass|io|history_inputs_0|input_help: help io_param|ppass|io|history_inputs_0|input_CL: 1 io_param|ppass|io|history_outputs_0|history_name: output2 io_param|ppass|io|history_outputs_0|history_format: txt io_param|ppass|io|history_outputs_0|history_CL: 2 io_param|ppass|parampass: positional make|makeMode|tool_version: 0.01 make|makeMode|tool_desc: positional reverse make|makeMode|help_text: help text goes here make|makeMode|make_Tool: gentest |
name: value |
input1_sample value |