From 7e01ee1fa96360b902043a35a0c22c729a95b2b4 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Thu, 8 Jun 2017 19:48:02 +0100 Subject: [PATCH] Sync galaxy.xsd with latest Galaxy updates --- planemo/xml/xsd/tool/galaxy.xsd | 139 +++++++++++++++++++++++++++----- 1 file changed, 119 insertions(+), 20 deletions(-) diff --git a/planemo/xml/xsd/tool/galaxy.xsd b/planemo/xml/xsd/tool/galaxy.xsd index 3ced93719..3d7bc3ef7 100644 --- a/planemo/xml/xsd/tool/galaxy.xsd +++ b/planemo/xml/xsd/tool/galaxy.xsd @@ -166,8 +166,8 @@ graphical tool form by setting this to ``false``. Allows for certain framework functionality to be performed on certain types of tools. Normal tools that execute typical command-line jobs do not need to specify this, special kinds of tools such -as [Data Source](https://wiki.galaxyproject.org/Admin/Internals/DataSources) and -[Data Manager](https://wiki.galaxyproject.org/Admin/Tools/DataManagers) tools should +as [Data Source](https://galaxyproject.org/admin/internals/data-sources/) and +[Data Manager](https://galaxyproject.org/admin/tools/data-managers/) tools should set this to have values such as ``data_source`` or ``manage_data``. @@ -237,7 +237,7 @@ programs or modules that the tool depends upon are included in this tag set. When a tool runs, Galaxy attempts to *resolve* these requirements (also called dependencies). ``requirement``s are meant to be abstract and resolvable by multiple different systems (e.g. [conda](http://conda.pydata.org/docs/), the -[Galaxy Tool Shed dependency management system](https://wiki.galaxyproject.org/ToolShedToolFeatures#Automatic_third-party_tool_dependency_installation_and_compilation_with_installed_repositories), +[Galaxy Tool Shed dependency management system](https://galaxyproject.org/toolshed/tool-features/#Automatic_third-party_tool_dependency_installation_and_compilation_with_installed_repositories), or [environment modules](http://modules.sourceforge.net/)). Read more about dependency resolvers in Galaxy on @@ -251,7 +251,7 @@ discussed in greater detail This example shows a tool that requires the samtools 0.0.18 package. This package is available via the Tool Shed (see -[Tool Shed dependency management](https://wiki.galaxyproject.org/ToolShedToolFeatures#Automatic_third-party_tool_dependency_installation_and_compilation_with_installed_repositories) +[Tool Shed dependency management](https://galaxyproject.org/toolshed/tool-features/#Automatic_third-party_tool_dependency_installation_and_compilation_with_installed_repositories) ) as well as [Conda](https://docs.galaxyproject.org/en/master/admin/conda_faq.html) and can be configured locally to adapt to any other package management system. @@ -296,12 +296,12 @@ resolver. @@ -309,7 +309,7 @@ Read more about configuring Galaxy to run Docker jobs - This value describes the type of container that the tool may be executed in and currently must be 'docker'. + This value describes the type of container that the tool may be executed in and currently must be ``docker``. @@ -354,12 +354,16 @@ Read more about configuring Galaxy to run Docker jobs + + + - This value is the name of the executable code file, and is called in the exec_before_process(), exec_before_job(), exec_after_process() and exec_after_job()( methods. + This value is the name of the executable code file, and is called in the ``exec_before_process()``, ``exec_before_job()``, ``exec_after_process()`` and ``exec_after_job()`` methods. + + + + + + **Deprecated** Map a hook to a function defined in the code file. + + + + Function defined in the code file to which the ``exec_after_process`` hook should be mapped @@ -519,7 +606,7 @@ The documentation contained here is mostly reference documentation, for tutorials on writing tool tests please check out Planemo's [Test-Driven Development](https://planemo.readthedocs.io/en/latest/writing_advanced.html#test-driven-development) documentation or the much older wiki content for -[WritingTests](https://wiki.galaxyproject.org/Admin/Tools/WritingTests). +[WritingTests](https://galaxyproject.org/admin/tools/writing-tests/). ]]> @@ -1095,7 +1182,7 @@ it may be inconvenient to upload the entiry file and this can be used instead. `__. +If ``compare`` is set to ``diff``, attempt to decompress both produced output and expected output files if needed before performing the diff. This flag is useful for testing gzipped outputs that are non-deterministic despite having deterministic decompressed contents. This is available in Galaxy 17.05+ and was introduced in [pull request #3550](https://github.com/galaxyproject/galaxy/pull/3550). ]]> @@ -1643,7 +1730,7 @@ conditionally reference ``${input_type.process_obs_metadata}`` with a Cheetah A common use of the conditional wrapper is to select between reference data managed by the Galaxy admins (for instance via -[data managers](https://wiki.galaxyproject.org/Admin/Tools/DataManagers) +[data managers](https://galaxyproject.org/admin/tools/data-managers/) ) and history files. A good example tool that demonstrates this is the [Bowtie 2](https://github.com/galaxyproject/tools-devteam/blob/master/tools/bowtie2/bowtie2_wrapper.xml) wrapper. @@ -1882,7 +1969,7 @@ variable: --color $adv.plot_color ``` -Further examples can be found in the [test case](https://github.com/galaxyproject/galaxy/blob/master/test/functional/tools/section.xml) from [PR #35](https://github.com/galaxyproject/galaxy/pull/35) +Further examples can be found in the [test case](https://github.com/galaxyproject/galaxy/blob/master/test/functional/tools/section.xml) from [pull request #35](https://github.com/galaxyproject/galaxy/pull/35). ]]> @@ -2572,7 +2659,7 @@ For newer tools with ``profile>=16.04``, the default behavior is ``exit_code``. Legacy tools default to ``default`` behavior described above (erroring if the tool produces any standard error output). -See [PR 117](https://github.com/galaxyproject/galaxy/pull/117) for more implementation +See [pull request 117](https://github.com/galaxyproject/galaxy/pull/117) for more implementation information and discussion on the ``detect_errors`` attribute. #### ``strict`` @@ -3029,7 +3116,7 @@ specified by the ``skip`` attribute. Tool data table name to check against if ``type`` is ``dataset_metadata_in_tool_data``. See the documentation for [tool data tables](https://wiki.galaxyproject.org/Admin/Tools/Data%20Tables) -and [data managers](https://wiki.galaxyproject.org/Admin/Tools/DataManagers) for +and [data managers](https://galaxyproject.org/admin/tools/data-managers/) for more information. @@ -4888,16 +4975,17 @@ for more examples. ]]> - + - This value must be the attribute name of + This attribute should be the name of the desired input parameter (e.g. ``input="out_format"`` above). - This value must also be an attribute -name of an input parameter (e.g. ``value="interval"`` above). + This must be a possible value of the ``input`` +parameter (e.g. ``value="interval"`` above), or of the deprecated ``input_dataset``'s +attribute. @@ -4908,6 +4996,16 @@ name of an input parameter (e.g. ``value="interval"`` above). for a list of supported formats. + + + Deprecated. + + + + + Deprecated. + + @@ -5068,6 +5166,7 @@ and ``bibtex`` are the only supported options. +