Mercurial > repos > fubar > tool_factory_docker
view toolfactory_docker/TFdocker_make_demo_jan24.ga @ 6:482386d6cc43 draft default tip
Uploaded
author | fubar |
---|---|
date | Sun, 24 Jan 2021 03:54:01 +0000 |
parents | |
children |
line wrap: on
line source
{ "a_galaxy_workflow": "true", "annotation": "", "format-version": "0.1", "name": "ToolFactory - make, test and install demonstration tools", "steps": { "0": { "annotation": "", "content_id": null, "errors": null, "id": 0, "input_connections": {}, "inputs": [ { "description": "", "name": "rgToolFactory2.py" } ], "label": "rgToolFactory2.py", "name": "Input dataset", "outputs": [], "position": { "bottom": 237.32916259765625, "height": 65.76666259765625, "left": 496.8333435058594, "right": 656.8333435058594, "top": 171.5625, "width": 160, "x": 496.8333435058594, "y": 171.5625 }, "tool_id": null, "tool_state": "{\"optional\": false}", "tool_version": null, "type": "data_input", "uuid": "104dbbf5-eaf4-43f3-b1ae-8077dbe92d00", "workflow_outputs": [ { "label": null, "output_name": "output", "uuid": "397c4ecd-021f-42c4-9974-b095b1ac2ec1" } ] }, "1": { "annotation": "", "content_id": null, "errors": null, "id": 1, "input_connections": {}, "inputs": [ { "description": "", "name": "bwa-mem-fastq1.fq" } ], "label": "bwa-mem-fastq1.fq", "name": "Input dataset", "outputs": [], "position": { "bottom": 337.32916259765625, "height": 65.76666259765625, "left": 498.0833435058594, "right": 658.0833435058594, "top": 271.5625, "width": 160, "x": 498.0833435058594, "y": 271.5625 }, "tool_id": null, "tool_state": "{\"optional\": false}", "tool_version": null, "type": "data_input", "uuid": "dc32342c-13b5-45e4-951d-7f4d3e363ff4", "workflow_outputs": [ { "label": null, "output_name": "output", "uuid": "8206a188-904c-4f09-9fd6-b96caaa7badb" } ] }, "2": { "annotation": "", "content_id": null, "errors": null, "id": 2, "input_connections": {}, "inputs": [ { "description": "", "name": "phiX.fasta" } ], "label": "phiX.fasta", "name": "Input dataset", "outputs": [], "position": { "bottom": 418.49583435058594, "height": 49.43333435058594, "left": 481.8333435058594, "right": 641.8333435058594, "top": 369.0625, "width": 160, "x": 481.8333435058594, "y": 369.0625 }, "tool_id": null, "tool_state": "{\"optional\": false}", "tool_version": null, "type": "data_input", "uuid": "06cebe75-3a87-4bf1-9745-c37060adf6e4", "workflow_outputs": [ { "label": null, "output_name": "output", "uuid": "251adfc2-6560-4e0e-b698-f907a1a7eec4" } ] }, "3": { "annotation": "", "content_id": null, "errors": null, "id": 3, "input_connections": {}, "inputs": [ { "description": "", "name": "bwa-mem-mt-genome.fa" } ], "label": "bwa-mem-mt-genome.fa", "name": "Input dataset", "outputs": [], "position": { "bottom": 597.3291625976562, "height": 65.76666259765625, "left": 496.8333435058594, "right": 656.8333435058594, "top": 531.5625, "width": 160, "x": 496.8333435058594, "y": 531.5625 }, "tool_id": null, "tool_state": "{\"optional\": false}", "tool_version": null, "type": "data_input", "uuid": "be08461b-63f4-4809-8326-ef5789f14947", "workflow_outputs": [ { "label": null, "output_name": "output", "uuid": "99c082da-36d3-4d41-baff-4af7e0254499" } ] }, "4": { "annotation": "", "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "errors": null, "id": 4, "input_connections": {}, "inputs": [], "label": null, "name": "toolfactory", "outputs": [ { "name": "TF_run_report", "type": "input" }, { "name": "new_tool", "type": "tgz" } ], "position": { "bottom": 864.6791687011719, "height": 213.11666870117188, "left": 496.8333435058594, "right": 656.8333435058594, "top": 651.5625, "width": 160, "x": 496.8333435058594, "y": 651.5625 }, "post_job_actions": {}, "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "tool_state": "{\"__input_ext\": \"input\", \"chromInfo\": \"/home/ross/galaxy-dev/tool-data/shared/ucsc/chrom/?.len\", \"cl_prefix\": \"\", \"cover\": {\"commover\": \"no\", \"__current_case__\": 0, \"command_override\": \"\", \"test_override\": \"\"}, \"deps\": {\"packages\": \"planemo\", \"usescript\": {\"choosescript\": \"yes\", \"__current_case__\": 1, \"scriptrunner\": \"bash\", \"dynScript\": \"cp $1 foo.tar.gz\\ntar -xvf foo.tar.gz\\nTOOLNAME=`find . -name \\\"*.xml\\\"`\\necho \\\"TOOLNAME = $TOOLNAME\\\"\\nplanemo test --test_output $2 $TOOLNAME\"}}, \"io_param\": {\"ppass\": {\"parampass\": \"positional\", \"__current_case__\": 1, \"io\": {\"history_inputs\": [{\"__index__\": 0, \"input_files\": null, \"input_formats\": [\"tgz\"], \"input_label\": \"ToolFactory toolshed archive from the history to test\", \"input_help\": \"\", \"input_CL\": \"1\", \"input_repeat\": \"false\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"planemo_test_output\", \"history_format\": \"txt\", \"history_CL\": \"2\", \"history_test\": \"sim_size:0.05\"}], \"collection_outputs\": []}, \"addparam\": {\"edit_params\": \"yes\", \"additional_parameters\": []}}}, \"make\": {\"makeMode\": {\"make_Tool\": \"gentest\", \"__current_case__\": 1, \"galaxy_apikey\": \"\", \"toolshed_apikey\": \"\", \"galaxy_url\": \"\", \"toolshed_url\": \"\", \"tool_version\": \"0.01\", \"tool_desc\": \"Tests a ToolFactory tool\", \"help_text\": \"**What it Does**\\n\\nRuns planemo test on a ToolFactory or other toolshed archive\", \"citations\": []}}, \"tool_name\": \"planemo_test\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", "tool_version": "2.00", "type": "tool", "uuid": "ac1dfbcf-8f39-45a8-b3d4-93691bd8d974", "workflow_outputs": [ { "label": null, "output_name": "TF_run_report", "uuid": "43750d1d-218f-499b-85d8-56e8ffdc78bd" }, { "label": null, "output_name": "new_tool", "uuid": "a24992fe-44b5-4984-8c95-3d534666fc68" } ] }, "5": { "annotation": "", "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "errors": null, "id": 5, "input_connections": {}, "inputs": [], "label": null, "name": "toolfactory", "outputs": [ { "name": "TF_run_report", "type": "input" }, { "name": "new_tool", "type": "tgz" } ], "position": { "bottom": 845.3291625976562, "height": 73.76666259765625, "left": 496.8333435058594, "right": 656.8333435058594, "top": 771.5625, "width": 160, "x": 496.8333435058594, "y": 771.5625 }, "post_job_actions": {}, "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "tool_state": "{\"__input_ext\": \"input\", \"__workflow_invocation_uuid__\": \"f1d43bed5d0811ebac99cda6b6778595\", \"chromInfo\": \"/home/ross/galaxy-dev/tool-data/shared/ucsc/chrom/?.len\", \"cl_prefix\": \"\", \"cover\": {\"commover\": \"yes\", \"__current_case__\": 1, \"command_override\": \"\", \"test_override\": \" <tests>\\n <test>\\n <param name=\\\"nplot\\\" value=\\\"3\\\" />\\n <output_collection name=\\\"plots\\\" type=\\\"list\\\">\\n <element file=\\\"yet_1_anotherplot_sample\\\" name=\\\"yet_1_anotherplot\\\" ftype=\\\"pdf\\\" compare=\\\"sim_size\\\" delta_frac=\\\"0.05\\\"/>\\n <\/output_collection>\\n <\/test>\\n <\/tests>\\n\"}, \"deps\": {\"packages\": \"r-base\", \"usescript\": {\"choosescript\": \"yes\", \"__current_case__\": 1, \"scriptrunner\": \"Rscript\", \"dynScript\": \"# demo\\nargs = commandArgs(trailingOnly=TRUE)\\nif (length(args)==0) {\\n n_plots = 3 \\n} else {\\n n_plots = as.integer(args[1]) }\\ndir.create('plots')\\nfor (i in 1:n_plots) {\\n foo = runif(100)\\n bar = rnorm(100)\\n bar = foo + 0.05*bar\\n pdf(paste('plots/yet',i,\\\"anotherplot.pdf\\\",sep='_'))\\n plot(foo,bar,main=paste(\\\"Foo by Bar plot #\\\",i),col=\\\"maroon\\\", pch=3,cex=0.6)\\n dev.off()\\n foo = data.frame(a=runif(100),b=runif(100),c=runif(100),d=runif(100),e=runif(100),f=runif(100))\\n bar = as.matrix(foo)\\n pdf(paste('plots/yet',i,\\\"anotherheatmap.pdf\\\",sep='_'))\\n heatmap(bar,main='Random Heatmap')\\n dev.off()\\n}\\n\"}}, \"io_param\": {\"ppass\": {\"parampass\": \"positional\", \"__current_case__\": 1, \"io\": {\"history_inputs\": [], \"history_outputs\": [], \"collection_outputs\": [{\"__index__\": 0, \"name\": \"plots\", \"kind\": \"list\", \"label\": \"Plots\", \"discover\": \"__name_and_ext__\"}]}, \"addparam\": {\"edit_params\": \"yes\", \"additional_parameters\": [{\"__index__\": 0, \"param_name\": \"nplot\", \"ap_type\": {\"param_type\": \"text\", \"__current_case__\": 0, \"param_value\": \"3\"}, \"param_label\": \"Number of random plots pairs to draw\", \"param_help\": \"\", \"param_CL\": \"1\", \"param_CLprefixed\": \"\"}]}}}, \"make\": {\"makeMode\": {\"make_Tool\": \"gentest\", \"__current_case__\": 1, \"galaxy_apikey\": \"\", \"toolshed_apikey\": \"\", \"galaxy_url\": \"\", \"toolshed_url\": \"\", \"tool_version\": \"0.01\", \"tool_desc\": \"Makes random plots\", \"help_text\": \"**What it Does**\\nMakes plots into a collection demonstration\", \"citations\": []}}, \"tool_name\": \"plotter\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", "tool_version": "2.00", "type": "tool", "uuid": "85af8c81-6fe0-4ade-961d-bd09cc3e364c", "workflow_outputs": [ { "label": null, "output_name": "TF_run_report", "uuid": "eb6e2939-06ee-432c-8e11-7876758e8b5a" }, { "label": null, "output_name": "new_tool", "uuid": "4108acda-f6ca-4fe0-a604-c17a143b291b" } ] }, "6": { "annotation": "", "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "errors": null, "id": 6, "input_connections": {}, "inputs": [], "label": null, "name": "toolfactory", "outputs": [ { "name": "TF_run_report", "type": "input" }, { "name": "new_tool", "type": "tgz" } ], "position": { "bottom": 827.8958282470703, "height": 90.08332824707031, "left": 783.0833435058594, "right": 943.0833435058594, "top": 737.8125, "width": 160, "x": 783.0833435058594, "y": 737.8125 }, "post_job_actions": {}, "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "tool_state": "{\"__input_ext\": \"input\", \"__workflow_invocation_uuid__\": \"f1d43bed5d0811ebac99cda6b6778595\", \"chromInfo\": \"/home/ross/galaxy-dev/tool-data/shared/ucsc/chrom/?.len\", \"cl_prefix\": \"\", \"cover\": {\"commover\": \"no\", \"__current_case__\": 0, \"command_override\": \"\", \"test_override\": \"\"}, \"deps\": {\"packages\": \"\", \"usescript\": {\"choosescript\": \"yes\", \"__current_case__\": 1, \"scriptrunner\": \"bash\", \"dynScript\": \"echo \\\"You chose $1\\\"\"}}, \"io_param\": {\"ppass\": {\"parampass\": \"positional\", \"__current_case__\": 1, \"io\": {\"history_inputs\": [], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"select_out\", \"history_format\": \"txt\", \"history_CL\": \"STDOUT\", \"history_test\": \"diff:0\"}], \"collection_outputs\": []}, \"addparam\": {\"edit_params\": \"yes\", \"additional_parameters\": [{\"__index__\": 0, \"param_name\": \"choose\", \"ap_type\": {\"param_type\": \"selecttext\", \"__current_case__\": 4, \"selectTexts\": [{\"__index__\": 0, \"select_text\": \"one\", \"select_value\": \"won\"}, {\"__index__\": 1, \"select_text\": \"two\", \"select_value\": \"too\"}, {\"__index__\": 2, \"select_text\": \"three\", \"select_value\": \"free\"}]}, \"param_label\": \"Choose\", \"param_help\": \"\", \"param_CL\": \"1\", \"param_CLprefixed\": \"\"}]}}}, \"make\": {\"makeMode\": {\"make_Tool\": \"gentest\", \"__current_case__\": 1, \"galaxy_apikey\": \"\", \"toolshed_apikey\": \"\", \"galaxy_url\": \"\", \"toolshed_url\": \"\", \"tool_version\": \"0.01\", \"tool_desc\": \"Test select\", \"help_text\": \"**What it Does**\\nToolFactory select tester\", \"citations\": []}}, \"tool_name\": \"select_test\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", "tool_version": "2.00", "type": "tool", "uuid": "f887f9ad-c0c5-4102-b85c-202ee8fb5a37", "workflow_outputs": [ { "label": null, "output_name": "TF_run_report", "uuid": "dd4d7378-9b35-4cbe-8562-1c285b33f29e" }, { "label": null, "output_name": "new_tool", "uuid": "3acc8a86-9b86-47ff-b575-8b539f3ff8a8" } ] }, "7": { "annotation": "", "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "errors": null, "id": 7, "input_connections": {}, "inputs": [], "label": null, "name": "toolfactory", "outputs": [ { "name": "TF_run_report", "type": "input" }, { "name": "new_tool", "type": "tgz" } ], "position": { "bottom": 985.5291595458984, "height": 122.71665954589844, "left": 784.3333435058594, "right": 944.3333435058594, "top": 862.8125, "width": 160, "x": 784.3333435058594, "y": 862.8125 }, "post_job_actions": {}, "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "tool_state": "{\"__input_ext\": \"input\", \"__workflow_invocation_uuid__\": \"f1d43bed5d0811ebac99cda6b6778595\", \"chromInfo\": \"/home/ross/galaxy-dev/tool-data/shared/ucsc/chrom/?.len\", \"cl_prefix\": \"\", \"cover\": {\"commover\": \"no\", \"__current_case__\": 0, \"command_override\": \"\", \"test_override\": \"\"}, \"deps\": {\"packages\": \"\", \"usescript\": {\"choosescript\": \"yes\", \"__current_case__\": 1, \"scriptrunner\": \"bash\", \"dynScript\": \"echo \\\"Hello $1\\\"\"}}, \"io_param\": {\"ppass\": {\"parampass\": \"positional\", \"__current_case__\": 1, \"io\": {\"history_inputs\": [], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"Hello_output\", \"history_format\": \"txt\", \"history_CL\": \"STDOUT\", \"history_test\": \"diff:0\"}], \"collection_outputs\": []}, \"addparam\": {\"edit_params\": \"yes\", \"additional_parameters\": [{\"__index__\": 0, \"param_name\": \"say_hello_to\", \"ap_type\": {\"param_type\": \"text\", \"__current_case__\": 0, \"param_value\": \"\"}, \"param_label\": \"Say hello to\", \"param_help\": \"\", \"param_CL\": \"1\", \"param_CLprefixed\": \"\"}]}}}, \"make\": {\"makeMode\": {\"make_Tool\": \"gentest\", \"__current_case__\": 1, \"galaxy_apikey\": \"fakekey\", \"toolshed_apikey\": \"fakekey\", \"galaxy_url\": \"http://localhost:8080\", \"toolshed_url\": \"http://localhost:9009\", \"tool_version\": \"0.01\", \"tool_desc\": \"Says hello\", \"help_text\": \"**What it Does**\\nToolFactory demonstration - hello world in Galaxy\", \"citations\": []}}, \"tool_name\": \"hello_toolshed\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", "tool_version": "2.00", "type": "tool", "uuid": "6648ac6e-fd4d-4c20-bf28-9909b994d283", "workflow_outputs": [ { "label": null, "output_name": "TF_run_report", "uuid": "6fb5e7a3-e448-4d10-90a2-2f8632a5250b" }, { "label": null, "output_name": "new_tool", "uuid": "6d0a7d80-4dff-479d-b914-b95c076a8459" } ] }, "8": { "annotation": "", "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "errors": null, "id": 8, "input_connections": {}, "inputs": [], "label": null, "name": "toolfactory", "outputs": [ { "name": "TF_run_report", "type": "input" }, { "name": "new_tool", "type": "tgz" } ], "position": { "bottom": 850.5291595458984, "height": 122.71665954589844, "left": 1299.3333435058594, "right": 1459.3333435058594, "top": 727.8125, "width": 160, "x": 1299.3333435058594, "y": 727.8125 }, "post_job_actions": {}, "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "tool_state": "{\"__input_ext\": \"input\", \"__workflow_invocation_uuid__\": \"f1d43bed5d0811ebac99cda6b6778595\", \"chromInfo\": \"/home/ross/galaxy-dev/tool-data/shared/ucsc/chrom/?.len\", \"cl_prefix\": \"\", \"cover\": {\"commover\": \"no\", \"__current_case__\": 0, \"command_override\": \"\", \"test_override\": \"\"}, \"deps\": {\"packages\": \"\", \"usescript\": {\"choosescript\": \"yes\", \"__current_case__\": 1, \"scriptrunner\": \"bash\", \"dynScript\": \"# pathetic attempt at a malicious script in Galaxy\\n# it fails because the job execution environment gives write access to few places\\necho \\\"ls -la\\\"\\nls -la\\ncd /\\necho \\\"ls -la after changing to /\\\"\\nls -la\\ntouch \\\"foo_was.here\\\"\\necho \\\"ls -la in root after touch foo_was.here - foo_was_not.here more like it\\\"\\nls -la\\n\"}}, \"io_param\": {\"ppass\": {\"parampass\": \"positional\", \"__current_case__\": 1, \"io\": {\"history_inputs\": [], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"evil_script_output\", \"history_format\": \"txt\", \"history_CL\": \"STDOUT\", \"history_test\": \"sim_size:0.05\"}], \"collection_outputs\": []}, \"addparam\": {\"edit_params\": \"yes\", \"additional_parameters\": []}}}, \"make\": {\"makeMode\": {\"make_Tool\": \"gentest\", \"__current_case__\": 1, \"galaxy_apikey\": \"fakekey\", \"toolshed_apikey\": \"fakekey\", \"galaxy_url\": \"http://localhost:8080\", \"toolshed_url\": \"http://localhost:9009\", \"tool_version\": \"0.01\", \"tool_desc\": \"Pathetic attempt at malicious scripting with the ToolFactory\", \"help_text\": \"**What it Does**\\n\\nFails to write outside the job working directory and lists /etc/passwd inside the biodocker container because, well, you can.\\nAFAIK it's not possible to actually do much real mischief...\", \"citations\": []}}, \"tool_name\": \"evil_script_that_fails\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", "tool_version": "2.00", "type": "tool", "uuid": "2c731d9e-388b-496d-9bdf-9fa6025dc34f", "workflow_outputs": [ { "label": null, "output_name": "TF_run_report", "uuid": "e55f5a3e-aa87-4735-93c6-be52d0b239c0" }, { "label": null, "output_name": "new_tool", "uuid": "8a93a60c-fbd0-4158-bd7e-b0db64f223eb" } ] }, "9": { "annotation": "", "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "errors": null, "id": 9, "input_connections": { "io_param|ppass|io|history_inputs_0|input_files": { "id": 0, "output_name": "output" } }, "inputs": [], "label": null, "name": "toolfactory", "outputs": [ { "name": "TF_run_report", "type": "input" }, { "name": "new_tool", "type": "tgz" } ], "position": { "bottom": 360.9291687011719, "height": 213.11666870117188, "left": 743.0833435058594, "right": 903.0833435058594, "top": 147.8125, "width": 160, "x": 743.0833435058594, "y": 147.8125 }, "post_job_actions": {}, "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "tool_state": "{\"__input_ext\": \"input\", \"__workflow_invocation_uuid__\": \"f1d43bed5d0811ebac99cda6b6778595\", \"chromInfo\": \"/home/ross/galaxy-dev/tool-data/shared/ucsc/chrom/?.len\", \"cl_prefix\": \"\", \"cover\": {\"commover\": \"no\", \"__current_case__\": 0, \"command_override\": \"\", \"test_override\": \"\"}, \"deps\": {\"packages\": \"python\", \"usescript\": {\"choosescript\": \"yes\", \"__current_case__\": 1, \"scriptrunner\": \"python\", \"dynScript\": \"## reverse order of text by row\\n## ToolFactory demonstration\\n## positional parameters\\nimport sys\\ninp = sys.argv[1]\\noutp = sys.argv[2]\\ni = open(inp,'r').readlines()\\no = open(outp,'w')\\nfor row in i:\\n rs = row.rstrip()\\n rs = list(rs)\\n rs.reverse()\\n o.write(''.join(rs))\\n o.write('\\\\n')\\no.close()\"}}, \"io_param\": {\"ppass\": {\"parampass\": \"positional\", \"__current_case__\": 1, \"io\": {\"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"txt\"], \"input_label\": \"Input text file to be reversed\", \"input_help\": \"\", \"input_CL\": \"1\", \"input_repeat\": \"false\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"pyrev_positionalparse_output\", \"history_format\": \"txt\", \"history_CL\": \"2\", \"history_test\": \"diff:0\"}], \"collection_outputs\": []}, \"addparam\": {\"edit_params\": \"yes\", \"additional_parameters\": []}}}, \"make\": {\"makeMode\": {\"make_Tool\": \"gentest\", \"__current_case__\": 1, \"galaxy_apikey\": \"fakekey\", \"toolshed_apikey\": \"fakekey\", \"galaxy_url\": \"http://localhost:8080\", \"toolshed_url\": \"http://localhost:9009\", \"tool_version\": \"0.01\", \"tool_desc\": \"ToolFactory demonstration python script with positional parameters\", \"help_text\": \"**What it Does**\\nReverse lines in a text file\\nToolFactory positional parameter python script example\", \"citations\": []}}, \"tool_name\": \"pyrev_pos_test\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", "tool_version": "2.00", "type": "tool", "uuid": "943b3b56-4a1f-43c6-a200-df7233f9378f", "workflow_outputs": [ { "label": null, "output_name": "TF_run_report", "uuid": "af3db4c8-24a6-46ce-9e0c-cffc8a95afac" }, { "label": null, "output_name": "new_tool", "uuid": "104216a3-2979-4e75-b540-c2403db53a00" } ] }, "10": { "annotation": "", "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "errors": null, "id": 10, "input_connections": { "io_param|ppass|io|history_inputs_0|input_files": { "id": 0, "output_name": "output" } }, "inputs": [], "label": null, "name": "toolfactory", "outputs": [ { "name": "TF_run_report", "type": "input" }, { "name": "new_tool", "type": "tgz" } ], "position": { "bottom": 377.1791687011719, "height": 213.11666870117188, "left": 1005.5833435058594, "right": 1165.5833435058594, "top": 164.0625, "width": 160, "x": 1005.5833435058594, "y": 164.0625 }, "post_job_actions": {}, "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "tool_state": "{\"__input_ext\": \"input\", \"__workflow_invocation_uuid__\": \"f1d43bed5d0811ebac99cda6b6778595\", \"chromInfo\": \"/home/ross/galaxy-dev/tool-data/shared/ucsc/chrom/?.len\", \"cl_prefix\": \"\", \"cover\": {\"commover\": \"no\", \"__current_case__\": 0, \"command_override\": \"\", \"test_override\": \"\"}, \"deps\": {\"packages\": \"python\", \"usescript\": {\"choosescript\": \"yes\", \"__current_case__\": 1, \"scriptrunner\": \"python\", \"dynScript\": \"# reverse order of text by row\\nimport argparse\\nparser = argparse.ArgumentParser()\\na = parser.add_argument\\na('--infile',default='')\\na('--pyrevargparse_outfile',default=None)\\nargs = parser.parse_args()\\ninp = args.infile\\noutp = args.pyrevargparse_outfile\\ni = open(inp,'r').readlines()\\no = open(outp,'w')\\nfor row in i:\\n rs = row.rstrip()\\n rs = list(rs)\\n rs.reverse()\\n o.write(''.join(rs))\\n o.write('\\\\n')\\no.close()\"}}, \"io_param\": {\"ppass\": {\"parampass\": \"argparse\", \"__current_case__\": 0, \"io\": {\"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"txt\"], \"input_label\": \"input file to be reversed\", \"input_help\": \"\", \"input_CL\": \"infile\", \"input_repeat\": \"false\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"pyrevargparse_outfile\", \"history_format\": \"txt\", \"history_CL\": \"pyrevargparse_outfile\", \"history_test\": \"diff:0\"}], \"collection_outputs\": []}, \"addparam\": {\"edit_params\": \"yes\", \"additional_parameters\": []}}}, \"make\": {\"makeMode\": {\"make_Tool\": \"gentest\", \"__current_case__\": 1, \"galaxy_apikey\": \"fakekey\", \"toolshed_apikey\": \"fakekey\", \"galaxy_url\": \"http://localhost:8080\", \"toolshed_url\": \"http://localhost:9009\", \"tool_version\": \"0.01\", \"tool_desc\": \"Toolshed demonstration python script with argparse style parameters\", \"help_text\": \"**What it Does**\\nReverses lines in a text file.\\nToolFactory demonstration of argparse/python script\", \"citations\": []}}, \"tool_name\": \"pyrev_argparse_test\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", "tool_version": "2.00", "type": "tool", "uuid": "13c34ba4-483c-4968-bdc0-3443a6f7abc0", "workflow_outputs": [ { "label": null, "output_name": "TF_run_report", "uuid": "68fc4dc8-01d5-4f17-a127-f679da8acdf5" }, { "label": null, "output_name": "new_tool", "uuid": "3b0ad2d2-ad3f-473c-b264-cf4a787cd2b9" } ] }, "11": { "annotation": "", "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "errors": null, "id": 11, "input_connections": { "io_param|ppass|io|history_inputs_0|input_files": { "id": 0, "output_name": "output" } }, "inputs": [], "label": null, "name": "toolfactory", "outputs": [ { "name": "TF_run_report", "type": "input" }, { "name": "new_tool", "type": "tgz" } ], "position": { "bottom": 345.7291717529297, "height": 164.1666717529297, "left": 1261.8333435058594, "right": 1421.8333435058594, "top": 181.5625, "width": 160, "x": 1261.8333435058594, "y": 181.5625 }, "post_job_actions": {}, "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "tool_state": "{\"__input_ext\": \"input\", \"__workflow_invocation_uuid__\": \"f1d43bed5d0811ebac99cda6b6778595\", \"chromInfo\": \"/home/ross/galaxy-dev/tool-data/shared/ucsc/chrom/?.len\", \"cl_prefix\": \"\", \"cover\": {\"commover\": \"no\", \"__current_case__\": 0, \"command_override\": \"\", \"test_override\": \"\"}, \"deps\": {\"packages\": \"\", \"usescript\": {\"choosescript\": \"yes\", \"__current_case__\": 1, \"scriptrunner\": \"bash\", \"dynScript\": \"tac | rev\"}}, \"io_param\": {\"ppass\": {\"parampass\": \"0\", \"__current_case__\": 2, \"io\": {\"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"txt\"], \"input_label\": \"Input text file to be reversed\", \"input_help\": \"\", \"input_CL\": \"STDIN\", \"input_repeat\": \"false\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"tacrev_reversed_output\", \"history_format\": \"txt\", \"history_CL\": \"STDOUT\", \"history_test\": \"diff:0\"}], \"collection_outputs\": []}}}, \"make\": {\"makeMode\": {\"make_Tool\": \"gentest\", \"__current_case__\": 1, \"galaxy_apikey\": \"fakekey\", \"toolshed_apikey\": \"fakekey\", \"galaxy_url\": \"http://localhost:8080\", \"toolshed_url\": \"http://localhost:9009\", \"tool_version\": \"0.01\", \"tool_desc\": \"ToolFactory demonstration bash script STDIN/STDOUT\", \"help_text\": \"**What it Does**\\ntac | rev\", \"citations\": []}}, \"tool_name\": \"tacrev\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", "tool_version": "2.00", "type": "tool", "uuid": "9bf7e621-e45c-48c2-83ec-0f3abb9d7af1", "workflow_outputs": [ { "label": null, "output_name": "TF_run_report", "uuid": "536b8fe5-8ae6-4fe6-90fd-44558585bd6d" }, { "label": null, "output_name": "new_tool", "uuid": "722e9d70-5576-4b27-8b65-5a2da366885d" } ] }, "12": { "annotation": "", "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "errors": null, "id": 12, "input_connections": { "io_param|ppass|io|history_inputs_0|input_files": { "id": 2, "output_name": "output" } }, "inputs": [], "label": null, "name": "toolfactory", "outputs": [ { "name": "TF_run_report", "type": "input" }, { "name": "new_tool", "type": "tgz" } ], "position": { "bottom": 645.9291687011719, "height": 213.11666870117188, "left": 791.8333435058594, "right": 951.8333435058594, "top": 432.8125, "width": 160, "x": 791.8333435058594, "y": 432.8125 }, "post_job_actions": {}, "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "tool_state": "{\"__input_ext\": \"input\", \"__workflow_invocation_uuid__\": \"f1d43bed5d0811ebac99cda6b6778595\", \"chromInfo\": \"/home/ross/galaxy-dev/tool-data/shared/ucsc/chrom/?.len\", \"cl_prefix\": \"\", \"cover\": {\"commover\": \"no\", \"__current_case__\": 0, \"command_override\": \"\", \"test_override\": \"\"}, \"deps\": {\"packages\": \"perl\", \"usescript\": {\"choosescript\": \"yes\", \"__current_case__\": 1, \"scriptrunner\": \"perl\", \"dynScript\": \"#!/usr/bin/perl -w\\n\\n# usage : perl toolExample.pl <FASTA file> <output file>\\n\\nopen (IN, \\\"<$ARGV[0]\\\");\\nopen (OUT, \\\">$ARGV[1]\\\");\\nwhile (<IN>) {\\n chop;\\n if (m/^>/) {\\n s/^>//;\\n if ($. > 1) {\\n print OUT sprintf(\\\"%.3f\\\", $gc/$length) . \\\"\\\\n\\\";\\n }\\n $gc = 0;\\n $length = 0;\\n } else {\\n ++$gc while m/[gc]/ig;\\n $length += length $_;\\n }\\n}\\nprint OUT sprintf(\\\"%.3f\\\", $gc/$length) . \\\"\\\\n\\\";\\nclose( IN );\\nclose( OUT );\"}}, \"io_param\": {\"ppass\": {\"parampass\": \"positional\", \"__current_case__\": 1, \"io\": {\"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"fasta\"], \"input_label\": \"Input fasta for GC estimate\", \"input_help\": \"\", \"input_CL\": \"1\", \"input_repeat\": \"false\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"perl_gc_output\", \"history_format\": \"txt\", \"history_CL\": \"2\", \"history_test\": \"diff:0\"}], \"collection_outputs\": []}, \"addparam\": {\"edit_params\": \"yes\", \"additional_parameters\": []}}}, \"make\": {\"makeMode\": {\"make_Tool\": \"gentest\", \"__current_case__\": 1, \"galaxy_apikey\": \"fakekey\", \"toolshed_apikey\": \"fakekey\", \"galaxy_url\": \"http://localhost:8080\", \"toolshed_url\": \"http://localhost:9009\", \"tool_version\": \"0.01\", \"tool_desc\": \"ToolFactory demonstration of a perl script with positional parameters \", \"help_text\": \"**What it Does**\\n\\nGC calculation simple tool example from Planemo documentation.\", \"citations\": []}}, \"tool_name\": \"perl_gc_counter\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", "tool_version": "2.00", "type": "tool", "uuid": "9d0f5255-5190-4498-976e-cb82e920fc1d", "workflow_outputs": [ { "label": null, "output_name": "TF_run_report", "uuid": "7016b25e-02fa-4082-911f-ac12d738be4d" }, { "label": null, "output_name": "new_tool", "uuid": "679626f2-75c7-4c6e-9275-ee9f587e4529" } ] }, "13": { "annotation": "", "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "errors": null, "id": 13, "input_connections": { "io_param|ppass|io|history_inputs_0|input_files": { "id": 1, "output_name": "output" }, "io_param|ppass|io|history_inputs_1|input_files": { "id": 2, "output_name": "output" } }, "inputs": [], "label": null, "name": "toolfactory", "outputs": [ { "name": "TF_run_report", "type": "input" }, { "name": "new_tool", "type": "tgz" } ], "position": { "bottom": 438.0958251953125, "height": 319.0333251953125, "left": 1448.0833435058594, "right": 1608.0833435058594, "top": 119.0625, "width": 160, "x": 1448.0833435058594, "y": 119.0625 }, "post_job_actions": {}, "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "tool_state": "{\"__input_ext\": \"input\", \"__workflow_invocation_uuid__\": \"491d7ad65c4211ebac99cda6b6778595\", \"chromInfo\": \"/home/ross/galaxy-dev/tool-data/shared/ucsc/chrom/?.len\", \"cl_prefix\": \"\", \"cover\": {\"commover\": \"no\", \"__current_case__\": 0, \"command_override\": \"\", \"test_override\": \"\"}, \"deps\": {\"packages\": \"bwa=0.7.15, samtools=1.3\", \"usescript\": {\"choosescript\": \"yes\", \"__current_case__\": 1, \"scriptrunner\": \"bash\", \"dynScript\": \"REFFILE=$1\\nFASTQ=$2\\nBAMOUT=$3\\nrm -f \\\"refalias\\\"\\nln -s \\\"$REFFILE\\\" \\\"refalias\\\"\\nbwa index -a is \\\"refalias\\\"\\nbwa mem -t \\\"2\\\" -v 1 \\\"refalias\\\" \\\"$FASTQ\\\" > tempsam\\nsamtools view -Sb tempsam > temporary_bam_file.bam\\nsamtools sort -o \\\"$BAMOUT\\\" temporary_bam_file.bam\\n\"}}, \"io_param\": {\"ppass\": {\"parampass\": \"positional\", \"__current_case__\": 1, \"io\": {\"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"fasta\"], \"input_label\": \"Reference sequence to map reads against\", \"input_help\": \"\", \"input_CL\": \"1\", \"input_repeat\": \"false\"}, {\"__index__\": 1, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"fastq\"], \"input_label\": \"Reads to map\", \"input_help\": \"\", \"input_CL\": \"2\", \"input_repeat\": \"false\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"bwa_test_bash_output\", \"history_format\": \"bam\", \"history_CL\": \"3\", \"history_test\": \"sim_size:0.01\"}], \"collection_outputs\": []}, \"addparam\": {\"edit_params\": \"yes\", \"additional_parameters\": []}}}, \"make\": {\"makeMode\": {\"make_Tool\": \"gentest\", \"__current_case__\": 1, \"galaxy_apikey\": \"fakekey\", \"toolshed_apikey\": \"fakekey\", \"galaxy_url\": \"http://localhost:8080\", \"toolshed_url\": \"http://localhost:9009\", \"tool_version\": \"0.01\", \"tool_desc\": \"bwa mem example as a ToolFactory positional parameter bash script\", \"help_text\": \"**What it Does**\\n\\nbwa mem Planemo example as a bash script ToolFactory tool.\", \"citations\": []}}, \"tool_name\": \"bwa_test_toolfactory_positional_bash\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", "tool_version": "2.00", "type": "tool", "uuid": "2793ad73-b24d-4906-8372-f9e06e3a3149", "workflow_outputs": [ { "label": null, "output_name": "TF_run_report", "uuid": "21c99dae-bc68-416d-8b8b-e864529bf86f" }, { "label": null, "output_name": "new_tool", "uuid": "8fe4fa99-b976-423c-b2de-59e2b52640de" } ] }, "14": { "annotation": "", "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "errors": null, "id": 14, "input_connections": { "io_param|ppass|io|history_inputs_0|input_files": { "id": 2, "output_name": "output" } }, "inputs": [], "label": null, "name": "toolfactory", "outputs": [ { "name": "TF_run_report", "type": "input" }, { "name": "new_tool", "type": "tgz" } ], "position": { "bottom": 318.4291687011719, "height": 213.11666870117188, "left": 1681.8333435058594, "right": 1841.8333435058594, "top": 105.3125, "width": 160, "x": 1681.8333435058594, "y": 105.3125 }, "post_job_actions": {}, "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "tool_state": "{\"__input_ext\": \"input\", \"__workflow_invocation_uuid__\": \"f1d43bed5d0811ebac99cda6b6778595\", \"chromInfo\": \"/home/ross/galaxy-dev/tool-data/shared/ucsc/chrom/?.len\", \"cl_prefix\": \"\", \"cover\": {\"commover\": \"no\", \"__current_case__\": 0, \"command_override\": \"\", \"test_override\": \"\"}, \"deps\": {\"packages\": \"sed\", \"usescript\": {\"choosescript\": \"no\", \"__current_case__\": 0, \"dynScript\": \"\", \"scriptrunner\": \"\"}}, \"io_param\": {\"ppass\": {\"parampass\": \"positional\", \"__current_case__\": 1, \"io\": {\"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"txt\"], \"input_label\": \"Input text to be edited\", \"input_help\": \"\", \"input_CL\": \"2\", \"input_repeat\": \"false\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"sedtest_edited_output\", \"history_format\": \"txt\", \"history_CL\": \"STDOUT\", \"history_test\": \"diff:0\"}], \"collection_outputs\": []}, \"addparam\": {\"edit_params\": \"yes\", \"additional_parameters\": [{\"__index__\": 0, \"param_name\": \"sedstring\", \"ap_type\": {\"param_type\": \"text\", \"__current_case__\": 0, \"param_value\": \"s/A/Abjork!/g\"}, \"param_label\": \"sed edit string - subsitute some text for some other text globally\", \"param_help\": \"\", \"param_CL\": \"1\", \"param_CLprefixed\": \"\"}]}}}, \"make\": {\"makeMode\": {\"make_Tool\": \"gentest\", \"__current_case__\": 1, \"galaxy_apikey\": \"fakekey\", \"toolshed_apikey\": \"fakekey\", \"galaxy_url\": \"http://localhost:8080\", \"toolshed_url\": \"http://localhost:9009\", \"tool_version\": \"0.01\", \"tool_desc\": \"ToolFactory sed example\", \"help_text\": \"**What it Does**\\nEdits a text file using a sed string\", \"citations\": []}}, \"tool_name\": \"sedtest_toolshed\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", "tool_version": "2.00", "type": "tool", "uuid": "eeebca90-20e3-48fe-a894-846833a3298f", "workflow_outputs": [ { "label": null, "output_name": "TF_run_report", "uuid": "255b5192-5573-4471-a5c2-a8e685a91581" }, { "label": null, "output_name": "new_tool", "uuid": "c5789e2e-9928-4559-a647-937f41c4e943" } ] }, "15": { "annotation": "", "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "errors": null, "id": 15, "input_connections": { "io_param|ppass|io|history_inputs_0|input_files": { "id": 3, "output_name": "output" }, "io_param|ppass|io|history_inputs_1|input_files": { "id": 1, "output_name": "output" } }, "inputs": [], "label": null, "name": "toolfactory", "outputs": [ { "name": "TF_run_report", "type": "input" }, { "name": "new_tool", "type": "tgz" } ], "position": { "bottom": 714.3458251953125, "height": 319.0333251953125, "left": 1703.0833435058594, "right": 1863.0833435058594, "top": 395.3125, "width": 160, "x": 1703.0833435058594, "y": 395.3125 }, "post_job_actions": {}, "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "tool_state": "{\"__input_ext\": \"input\", \"__workflow_invocation_uuid__\": \"f1d43bed5d0811ebac99cda6b6778595\", \"chromInfo\": \"/home/ross/galaxy-dev/tool-data/shared/ucsc/chrom/?.len\", \"cl_prefix\": \"\", \"cover\": {\"commover\": \"no\", \"__current_case__\": 0, \"command_override\": \"\", \"test_override\": \"\"}, \"deps\": {\"packages\": \"bwa=0.7.15, samtools=1.3\", \"usescript\": {\"choosescript\": \"yes\", \"__current_case__\": 1, \"scriptrunner\": \"bash\", \"dynScript\": \"REFFILE=$1\\nFASTQ=$2\\nBAMOUT=$3\\nrm -f \\\"refalias\\\"\\nln -s \\\"$REFFILE\\\" \\\"refalias\\\"\\nbwa index -a is \\\"refalias\\\"\\nbwa mem -t \\\"2\\\" -v 1 \\\"refalias\\\" \\\"$FASTQ\\\" > tempsam\\nsamtools view -Sb tempsam > temporary_bam_file.bam\\nsamtools sort -o \\\"$BAMOUT\\\" temporary_bam_file.bam\\n\"}}, \"io_param\": {\"ppass\": {\"parampass\": \"positional\", \"__current_case__\": 1, \"io\": {\"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"fasta\"], \"input_label\": \"Reference sequence to map reads against\", \"input_help\": \"\", \"input_CL\": \"1\", \"input_repeat\": \"false\"}, {\"__index__\": 1, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"fastq\"], \"input_label\": \"Reads to map\", \"input_help\": \"\", \"input_CL\": \"2\", \"input_repeat\": \"false\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"bwa_test_bash_output\", \"history_format\": \"bam\", \"history_CL\": \"3\", \"history_test\": \"sim_size:0.01\"}], \"collection_outputs\": []}, \"addparam\": {\"edit_params\": \"yes\", \"additional_parameters\": []}}}, \"make\": {\"makeMode\": {\"make_Tool\": \"gentest\", \"__current_case__\": 1, \"galaxy_apikey\": \"fakekey\", \"toolshed_apikey\": \"fakekey\", \"galaxy_url\": \"http://localhost:8080\", \"toolshed_url\": \"http://localhost:9009\", \"tool_version\": \"0.01\", \"tool_desc\": \"bwa mem example as a ToolFactory positional parameter bash script\", \"help_text\": \"**What it Does**\\n\\nbwa mem Planemo example as a bash script ToolFactory tool.\", \"citations\": []}}, \"tool_name\": \"bwa_test_toolfactory_positional_bash\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", "tool_version": "2.00", "type": "tool", "uuid": "c2e9186d-b357-40b6-93ee-75465975c310", "workflow_outputs": [ { "label": null, "output_name": "TF_run_report", "uuid": "4e29a365-794a-4899-93e9-6ba7c9d839c9" }, { "label": null, "output_name": "new_tool", "uuid": "3ad67e08-7d40-4b9d-924f-c69270243624" } ] }, "16": { "annotation": "", "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "errors": null, "id": 16, "input_connections": { "io_param|ppass|io|history_inputs_0|input_files": { "id": 3, "output_name": "output" }, "io_param|ppass|io|history_inputs_1|input_files": { "id": 1, "output_name": "output" } }, "inputs": [], "label": null, "name": "toolfactory", "outputs": [ { "name": "TF_run_report", "type": "input" }, { "name": "new_tool", "type": "tgz" } ], "position": { "bottom": 639.3458251953125, "height": 319.0333251953125, "left": 1923.0833435058594, "right": 2083.0833435058594, "top": 320.3125, "width": 160, "x": 1923.0833435058594, "y": 320.3125 }, "post_job_actions": {}, "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "tool_state": "{\"__input_ext\": \"input\", \"__workflow_invocation_uuid__\": \"f1d43bed5d0811ebac99cda6b6778595\", \"chromInfo\": \"/home/ross/galaxy-dev/tool-data/shared/ucsc/chrom/?.len\", \"cl_prefix\": \"\", \"cover\": {\"commover\": \"yes\", \"__current_case__\": 1, \"command_override\": \"## Build reference\\n#set $reference_fasta_filename = \\\"localref.fa\\\"\\nln -s \\\"${ref_file}\\\" \\\"${reference_fasta_filename}\\\" ;\\nbwa index -a is \\\"${reference_fasta_filename}\\\" ;\\nbwa mem -t \\\"\\\\${GALAXY_SLOTS:-4}\\\" -v 1 \\\"${reference_fasta_filename}\\\" \\\"${fastq_input1}\\\" | samtools view -Sb - > temporary_bam_file.bam ;\\nsamtools sort -o \\\"${bwa_test_commover_bam_output}\\\" temporary_bam_file.bam\", \"test_override\": \"\"}, \"deps\": {\"packages\": \"bwa=0.7.15, samtools=1.3\", \"usescript\": {\"choosescript\": \"no\", \"__current_case__\": 0, \"dynScript\": \"\", \"scriptrunner\": \"\"}}, \"io_param\": {\"ppass\": {\"parampass\": \"argparse\", \"__current_case__\": 0, \"io\": {\"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"fasta\"], \"input_label\": \"Reference sequence to align reads\", \"input_help\": \"\", \"input_CL\": \"ref_file\", \"input_repeat\": \"false\"}, {\"__index__\": 1, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"fastqsanger\"], \"input_label\": \"Fastqsanger file containing reads to be mapped against reference\", \"input_help\": \"\", \"input_CL\": \"fastq_input1\", \"input_repeat\": \"false\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"bwa_test_commover_bam_output\", \"history_format\": \"bam\", \"history_CL\": \"\", \"history_test\": \"sim_size:0.01\"}], \"collection_outputs\": []}, \"addparam\": {\"edit_params\": \"yes\", \"additional_parameters\": []}}}, \"make\": {\"makeMode\": {\"make_Tool\": \"gentest\", \"__current_case__\": 1, \"galaxy_apikey\": \"fakekey\", \"toolshed_apikey\": \"fakekey\", \"galaxy_url\": \"http://localhost:8080\", \"toolshed_url\": \"http://localhost:9009\", \"tool_version\": \"0.01\", \"tool_desc\": \"bwa mem example ToolFactory implementation\", \"help_text\": \"**What it Does**\\n\\nbwa mem Planemo example reproduced with command over-ride in the ToolFactory\", \"citations\": []}}, \"tool_name\": \"bwa_test_command_override\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", "tool_version": "2.00", "type": "tool", "uuid": "f773080d-adb5-48ba-af01-b25cd0977d30", "workflow_outputs": [ { "label": null, "output_name": "TF_run_report", "uuid": "915dddb0-5d5b-46e7-aa49-318672bf932b" }, { "label": null, "output_name": "new_tool", "uuid": "4938a710-5395-41b2-9863-e69dc2a2cc9c" } ] }, "17": { "annotation": "", "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "errors": null, "id": 17, "input_connections": { "io_param|ppass|io|history_inputs_0|input_files": { "id": 15, "output_name": "new_tool" } }, "inputs": [], "label": null, "name": "toolfactory", "outputs": [ { "name": "TF_run_report", "type": "input" }, { "name": "new_tool", "type": "tgz" } ], "position": { "bottom": 942.1791687011719, "height": 213.11666870117188, "left": 1928.0833435058594, "right": 2088.0833435058594, "top": 729.0625, "width": 160, "x": 1928.0833435058594, "y": 729.0625 }, "post_job_actions": {}, "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_docker/rgtfd/2.00", "tool_state": "{\"__input_ext\": \"input\", \"__workflow_invocation_uuid__\": \"f1d43bed5d0811ebac99cda6b6778595\", \"chromInfo\": \"/home/ross/galaxy-dev/tool-data/shared/ucsc/chrom/?.len\", \"cl_prefix\": \"\", \"cover\": {\"commover\": \"no\", \"__current_case__\": 0, \"command_override\": \"\", \"test_override\": \"\"}, \"deps\": {\"packages\": \"planemo=0.74.1\", \"usescript\": {\"choosescript\": \"yes\", \"__current_case__\": 1, \"scriptrunner\": \"bash\", \"dynScript\": \"cp $1 foo.tar \\ntar -xvf foo.tar\\nTOOLNAME=`find . -name \\\"*.xml\\\"`\\necho \\\"$$$$$TOOLNAME = $TOOLNAME\\\" > $2\\nplanemo lint $TOOLNAME >> $2\"}}, \"io_param\": {\"ppass\": {\"parampass\": \"positional\", \"__current_case__\": 1, \"io\": {\"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"tgz\"], \"input_label\": \"Toolshed archive to be linted\", \"input_help\": \"\", \"input_CL\": \"1\", \"input_repeat\": \"false\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"lint_output\", \"history_format\": \"txt\", \"history_CL\": \"2\", \"history_test\": \"diff:5\"}], \"collection_outputs\": []}, \"addparam\": {\"edit_params\": \"yes\", \"additional_parameters\": []}}}, \"make\": {\"makeMode\": {\"make_Tool\": \"gentest\", \"__current_case__\": 1, \"galaxy_apikey\": \"\", \"toolshed_apikey\": \"\", \"galaxy_url\": \"\", \"toolshed_url\": \"\", \"tool_version\": \"0.01\", \"tool_desc\": \"Lints a ToolFactory or other xml using planemo\", \"help_text\": \"**What it Does**\\nPlanemo lint\", \"citations\": []}}, \"tool_name\": \"planemo_lint\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", "tool_version": "2.00", "type": "tool", "uuid": "a840dc9b-f235-4962-9830-b7fa9466ca3f", "workflow_outputs": [ { "label": null, "output_name": "TF_run_report", "uuid": "5f5ed947-c7b8-405c-9ffd-fde5bb8252fa" }, { "label": null, "output_name": "new_tool", "uuid": "b55a2ff0-002c-413d-934a-023a5d802075" } ] } }, "tags": [], "uuid": "dab5623a-1a77-4965-bff6-9d2682915a68", "version": 1 }