mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
These are available in a list(n) x list (m) -> list(nxm) version (a cross product that produces two flat lists) and a list(n) x list(m) -> list(n):list(m) version (a cross product that produces two nested lists). After two lists have been run through one of these two tools - the result is two new lists that can be passed into another tool to perform all-against-all operations using Galaxy's normal collection mapping semantics. The choice of which to use will depend on how you want to continue to process the all-against-all results after the next step in an analysis. My sense is the flat version is "easier" to think about and pick through manually and the nested version perserves more structure if additional collection operation tools will be used to filter or aggregate the results. Some considerations: Apply Rules? I do not believe the Apply Rules tool semanatics would allow these operations but certainly the Apply Rules tool could be used to convert the result of the flat version to the nested version or vice versa - so no metadata is really lost per se between the two versions. I think it is still worth including both versions though - they both have utility (both for instance are baked into CWL's workflow semantics - https://docs.sevenbridges.com/docs/about-parallelizing-tool-executions#nested-cross-product) and avoiding requiring complex Apply Rules programs for simple workflows is probably ideal. One Tool vs Two? Marius and I agree that few simpler tools for these kinds of operations are better. The tool help can be more focused and avoiding the conditional and conditional outputs make the static analysis done for instance by the workflow editor simpler.
315 lines
14 KiB
XML
315 lines
14 KiB
XML
<?xml version="1.0"?>
|
|
<toolbox tool_path="${tool_conf_dir}" is_shed_conf="false">
|
|
<tool file="upload.xml" />
|
|
<tool file="export_remote.xml" />
|
|
<section id="test" name="Test Section">
|
|
<tool file="multi_data_optional.xml" />
|
|
<tool file="paths_as_file.xml" />
|
|
<tool file="param_text_option.xml" />
|
|
<tool file="column_param.xml" />
|
|
</section>
|
|
<tool file="image_diff.xml"/>
|
|
<tool file="output_format_input.xml"/>
|
|
<tool file="ucsc_tablebrowser.xml"/>
|
|
<tool file="test_data_source.xml"/>
|
|
<tool file="simple_constructs.xml" />
|
|
<tool file="color_param.xml" />
|
|
<tool file="inheritance_simple.xml" />
|
|
<tool file="boolean_conditional.xml" />
|
|
<tool file="composite.xml" />
|
|
<tool file="environment_variables.xml" />
|
|
<tool file="environment_variables_inject.xml" />
|
|
<tool file="code_file.xml" />
|
|
<tool file="disambiguate_cond.xml" />
|
|
<tool file="multi_repeats.xml" />
|
|
<tool file="remove_value.xml" />
|
|
<tool file="bibtex.xml" />
|
|
<tool file="select_from_url.xml" />
|
|
<tool file="multi_select.xml" />
|
|
<tool file="multi_output.xml" />
|
|
<tool file="multi_output_configured.xml" />
|
|
<tool file="multi_output_assign_primary.xml" />
|
|
<tool file="multi_output_assign_primary_ext_dbkey.xml" />
|
|
<tool file="multi_output_recurse.xml" />
|
|
<tool file="multi_output_recurse_collection.xml" />
|
|
<tool file="galaxy_json_discover_and_sleep.xml" />
|
|
<tool file="tool_provided_metadata_1.xml" />
|
|
<tool file="tool_provided_metadata_2.xml" />
|
|
<tool file="tool_provided_metadata_3.xml" />
|
|
<tool file="tool_provided_metadata_4.xml" />
|
|
<tool file="tool_provided_metadata_5.xml" />
|
|
<tool file="tool_provided_metadata_6.xml" />
|
|
<tool file="tool_provided_metadata_7.xml" />
|
|
<tool file="tool_provided_metadata_8.xml" />
|
|
<tool file="tool_provided_metadata_9.xml" />
|
|
<tool file="tool_provided_metadata_10.xml" />
|
|
<tool file="tool_provided_metadata_11.xml" />
|
|
<tool file="tool_provided_metadata_12.xml" />
|
|
<tool file="empty_datasets.xml" />
|
|
<tool file="is_of_type.xml" />
|
|
<tool file="data_optional.xml" />
|
|
<tool file="inputs_as_json.xml" />
|
|
<tool file="inputs_as_json_profile.xml" />
|
|
<tool file="inputs_as_json_with_paths.xml" />
|
|
<tool file="inputs_as_json_with_staging_path_and_source_path.xml" />
|
|
<tool file="filter_multiple_splitter.xml" />
|
|
<tool file="filter_param_value.xml" />
|
|
<tool file="filter_param_value_ref_attribute.xml" />
|
|
<tool file="filter_static_regexp.xml" />
|
|
<tool file="select_from_dataset.xml" />
|
|
<tool file="select_from_dataset_in_conditional.xml" />
|
|
<tool file="select_from_csvdataset.xml" />
|
|
<tool file="select_from_dataset_optional.xml" />
|
|
<tool file="drill_down.xml" />
|
|
<tool file="dbkey_filter_input.xml" />
|
|
<tool file="dbkey_filter_multi_input.xml" />
|
|
<tool file="dbkey_filter_collection.xml" />
|
|
<tool file="dbkey_output_action.xml" />
|
|
<tool file="composite_output.xml" />
|
|
<tool file="composite_output_tests.xml" />
|
|
<tool file="unicode_stream.xml" />
|
|
<tool file="vcf_bgzip.xml" />
|
|
<tool file="metadata.xml" />
|
|
<tool file="metadata_bam.xml" />
|
|
<tool file="discover_metadata_files.xml" />
|
|
<tool file="metadata_bcf.xml" />
|
|
<tool file="metadata_bed.xml" />
|
|
<tool file="metadata_biom1.xml" />
|
|
<tool file="metadata_check_eq.xml" />
|
|
<tool file="metadata_column_names.xml" />
|
|
<tool file="strict_shell.xml" />
|
|
<tool file="strict_shell_default_off.xml" />
|
|
<tool file="strict_shell_profile.xml" />
|
|
<tool file="detect_errors.xml" />
|
|
<tool file="detect_errors_aggressive.xml" />
|
|
<tool file="qc_stdout.xml" />
|
|
<tool file="directory_uri.xml" />
|
|
<tool file="md5sum.xml" />
|
|
<tool file="checksum.xml" />
|
|
<tool file="sim_size_delta.xml" />
|
|
<tool file="composite_shapefile.xml" />
|
|
<tool file="is_valid_xml.xml" />
|
|
<tool file="expression_tools/parse_values_from_file.xml"/>
|
|
<tool file="expression_tools/pick_value.xml" />
|
|
<!--
|
|
TODO: Figure out why this transiently fails on Jenkins.
|
|
<tool file="maxseconds.xml" />
|
|
-->
|
|
<tool file="job_properties.xml" />
|
|
<tool file="job_environment_default.xml" />
|
|
<tool file="job_environment_default_legacy.xml" />
|
|
<tool file="job_environment_explicit_shared_home.xml" />
|
|
<tool file="job_environment_explicit_isolated_home.xml" />
|
|
<tool file="galaxy_slots_and_memory.xml" />
|
|
<tool file="version_command_plain.xml" />
|
|
<tool file="version_command_interpreter.xml" />
|
|
<tool file="version_command_tool_dir.xml" />
|
|
<tool file="exit_code_oom.xml" />
|
|
<tool file="exit_code_from_file.xml" />
|
|
<tool file="exit_code_from_env.xml" />
|
|
<tool file="gzipped_inputs.xml" />
|
|
<tool file="options_from_metadata_file.xml" />
|
|
<tool file="output_order.xml" />
|
|
<tool file="output_format.xml" />
|
|
<tool file="output_format_deprecated_when.xml" />
|
|
<tool file="output_format_collection.xml" />
|
|
<tool file="format_source_in_conditional.xml" />
|
|
<tool file="output_filter.xml" />
|
|
<tool file="output_empty_work_dir.xml" />
|
|
<tool file="output_filter_with_input.xml" />
|
|
<tool file="output_filter_with_input_optional.xml" />
|
|
<tool file="output_filter_exception_1.xml" />
|
|
<tool file="output_collection_filter.xml" />
|
|
<tool file="output_auto_format.xml" />
|
|
<tool file="create_2.xml" />
|
|
<tool file="create_10.xml" />
|
|
<tool file="disambiguate_repeats.xml" />
|
|
<tool file="min_repeat.xml" />
|
|
<tool file="parallelism.xml" />
|
|
<tool file="parallelism_optional.xml" />
|
|
<tool file="implicit_default_conds.xml" />
|
|
<tool file="multi_data_param.xml" />
|
|
<tool file="multi_data_repeat.xml" />
|
|
<tool file="multi_data_optional.xml" />
|
|
<tool file="paths_as_file.xml" />
|
|
<tool file="param_text_option.xml" />
|
|
<tool file="column_param.xml" />
|
|
<tool file="column_param_configfile.xml" />
|
|
<tool file="column_param_list.xml" />
|
|
<tool file="column_multi_param.xml" />
|
|
<tool file="select_optional.xml"/>
|
|
<tool file="select_dynamic.xml"/>
|
|
<tool file="hidden_param.xml" />
|
|
<tool file="special_params.xml" />
|
|
<tool file="section.xml" />
|
|
<tool file="sam_to_unsorted_bam.xml" />
|
|
<tool file="top_level_data.xml" />
|
|
<tool file="validation_hdf5.xml" />
|
|
<tool file="validation_image.xml"/>
|
|
<tool file="validation_zip.xml" />
|
|
<tool file="validation_tar.xml" />
|
|
<tool file="validation_tar_gz.xml" />
|
|
<tool file="validation_default.xml" />
|
|
<tool file="validation_sanitizer.xml" />
|
|
<tool file="validation_repeat.xml" />
|
|
<tool file="validation_metadata_in_range.xml"/>
|
|
<tool file="validation_metadata_in_datatable.xml"/>
|
|
<tool file="validation_dataset_metadata_in_file.xml"/>
|
|
<tool file="validation_value_in_datatable.xml"/>
|
|
<tool file="empty_output.xml" />
|
|
<tool file="validation_empty_dataset.xml" />
|
|
<tool file="implicit_conversion.xml" />
|
|
<tool file="implicit_conversion_format_input.xml" />
|
|
<tool file="implicit_conversion_optional_param.xml" />
|
|
<tool file="implicit_collection_conversion.xml" />
|
|
<tool file="implicit_nested_list_conversion.xml" />
|
|
<tool file="explicit_conversion.xml" />
|
|
<tool file="identifier_source.xml" />
|
|
<tool file="identifier_single.xml" />
|
|
<tool file="identifier_single_in_repeat.xml" />
|
|
<tool file="identifier_in_conditional.xml" />
|
|
<tool file="identifier_multiple.xml" />
|
|
<tool file="identifier_multiple_in_conditional.xml" />
|
|
<tool file="identifier_multiple_in_repeat.xml" />
|
|
<tool file="identifier_collection.xml" />
|
|
<tool file="identifier_all_collection_types.xml"/>
|
|
<tool file="identifier_in_actions.xml" />
|
|
<tool file="fail_identifier.xml" />
|
|
<tool file="fail_writing_work_dir_file.xml" />
|
|
<tool file="tool_directory.xml" />
|
|
<tool file="tool_directory_docker.xml" />
|
|
<tool file="output_action_change_format.xml" />
|
|
<tool file="output_action_change_format_paired.xml" />
|
|
<tool file="collection_paired_test.xml" />
|
|
<tool file="collection_paired_default.xml" />
|
|
<tool file="collection_paired_structured_like.xml" />
|
|
<tool file="collection_paired_conditional_structured_like.xml" />
|
|
<tool file="collection_nested_test.xml" />
|
|
<tool file="collection_nested_default.xml" />
|
|
<tool file="collection_mixed_param.xml" />
|
|
<tool file="collection_two_paired.xml" />
|
|
<tool file="collection_creates_pair.xml" />
|
|
<tool file="collection_creates_pair_format.xml" />
|
|
<tool file="collection_creates_pair_from_type.xml" />
|
|
<tool file="collection_creates_pair_from_work_dir.xml" />
|
|
<tool file="collection_creates_list.xml" />
|
|
<tool file="collection_creates_list_2.xml" />
|
|
<tool file="collection_creates_list_of_pairs.xml" />
|
|
<tool file="collection_optional_param.xml" />
|
|
<tool file="collection_split_on_column.xml" />
|
|
<tool file="collection_creates_dynamic_nested.xml" />
|
|
<tool file="collection_creates_dynamic_nested_from_json.xml" />
|
|
<tool file="collection_creates_dynamic_nested_from_json_elements.xml" />
|
|
<tool file="collection_creates_dynamic_list_of_pairs.xml" />
|
|
<tool file="collection_type_source.xml" />
|
|
<tool file="collection_type_source_map_over.xml" />
|
|
<tool file="collection_creates_list_fail.xml" />
|
|
<tool file="collection_creates_dynamic_nested_fail.xml" />
|
|
<tool file="collection_cat_group_tag.xml" />
|
|
<tool file="collection_cat_group_tag_multiple.xml" />
|
|
<tool file="discover_sort_by.xml" />
|
|
<tool file="expression_forty_two.xml" />
|
|
<tool file="expression_pick_larger_file.xml" />
|
|
<tool file="expression_parse_int.xml" />
|
|
<tool file="expression_log_line_count.xml" />
|
|
<tool file="expression_null_handling_boolean.xml" />
|
|
<tool file="expression_null_handling_integer.xml" />
|
|
<tool file="expression_null_handling_float.xml" />
|
|
<tool file="expression_null_handling_text.xml" />
|
|
<tool file="cheetah_casting.xml" />
|
|
<tool file="cheetah_problem_unbound_var.xml" />
|
|
<tool file="cheetah_problem_unbound_var_input.xml" />
|
|
<tool file="cheetah_problem_syntax_error.xml" />
|
|
<tool file="model_attributes.xml" />
|
|
<tool file="python_environment_problem.xml" />
|
|
<tool file="config_vars.xml" />
|
|
<tool file="expect_num_outputs.xml" />
|
|
<tool file="text_repeat.xml" />
|
|
<tool file="integer_default.xml" />
|
|
|
|
<tool file="multiple_versions_v01.xml" />
|
|
<tool file="multiple_versions_v01galaxy6.xml" />
|
|
<tool file="multiple_versions_v02.xml" />
|
|
<section id="test_section_multi" name="Test Section with Multiple Versions">
|
|
<tool file="multiple_versions_v01.xml" />
|
|
<tool file="multiple_versions_v01galaxy6.xml" />
|
|
<tool file="multiple_versions_v02.xml" />
|
|
</section>
|
|
|
|
<tool file="multiple_versions_changes_v01.xml" />
|
|
<tool file="multiple_versions_changes_v02.xml" />
|
|
|
|
<tool file="interactivetool_simple.xml" />
|
|
<tool file="interactivetool_two_entry_points.xml" />
|
|
<tool file="converter_target_datatype.xml" />
|
|
|
|
<!-- Tools interesting only for building up test workflows. -->
|
|
|
|
<!-- Next three tools demonstrate concatenating multiple datasets
|
|
with a repeat, multiple datasets with a multiple input data
|
|
parameter, and multiple datasets from a collection. -->
|
|
<tool file="for_workflows/cat.xml" />
|
|
<tool file="for_workflows/cat_list.xml" />
|
|
<tool file="for_workflows/cat_default.xml" />
|
|
<tool file="for_workflows/cat_collection.xml" />
|
|
<tool file="for_workflows/head.xml" />
|
|
<tool file="for_workflows/cat_interleave.xml" />
|
|
<tool file="for_workflows/pileup.xml" />
|
|
<tool file="for_workflows/mapper.xml" />
|
|
<tool file="for_workflows/mapper2.xml" />
|
|
<tool file="for_workflows/mapper_two.xml" />
|
|
<tool file="for_workflows/split.xml" />
|
|
<tool file="for_workflows/empty_list.xml" />
|
|
<tool file="for_workflows/count_list.xml" />
|
|
<tool file="for_workflows/count_multi_file.xml" />
|
|
<tool file="for_workflows/create_input_collection.xml" />
|
|
<tool file="for_workflows/randomlines.xml" />
|
|
|
|
<section id="filter" name="For Tours">
|
|
<tool file="for_tours/filtering.xml" />
|
|
</section>
|
|
|
|
<!-- Tools for dependency and container testing. -->
|
|
<tool file="legacy_r.xml" />
|
|
<tool file="mulled_example_multi_1.xml" />
|
|
<tool file="mulled_example_multi_versionless.xml" />
|
|
<tool file="mulled_example_multi_incomplete.xml" />
|
|
<tool file="mulled_example_conflict.xml" />
|
|
<tool file="mulled_example_simple.xml" />
|
|
<tool file="mulled_example_explicit.xml" />
|
|
<tool file="mulled_example_invalid_case.xml" />
|
|
<tool file="mulled_example_broken_no_requirements.xml" />
|
|
<tool file="mulled_example_broken_no_requirements_fallback.xml" />
|
|
<tool file="explicit_container.xml" />
|
|
<tool file="explicit_singularity_container.xml"/>
|
|
<tool file="simple_constructs.yml" />
|
|
<tool file="from_work_dir_glob.xml" />
|
|
|
|
<!-- Tools without tool test but useful for hand-crafted, artisanal test cases. -->
|
|
<tool file="cat_data_and_sleep.xml" />
|
|
|
|
<!-- Load collection operation tools - I consider these part of the
|
|
"framework" and they are used to in API tests to test the underlying
|
|
ToolActions. -->
|
|
<tool file="${model_tools_path}/unzip_collection.xml" />
|
|
<tool file="${model_tools_path}/zip_collection.xml" />
|
|
<tool file="${model_tools_path}/filter_failed_collection.xml" />
|
|
<tool file="${model_tools_path}/keep_success_collection.xml" />
|
|
<tool file="${model_tools_path}/filter_empty_collection.xml" />
|
|
<tool file="${model_tools_path}/flatten_collection.xml" />
|
|
<tool file="${model_tools_path}/sort_collection_list.xml" />
|
|
<tool file="${model_tools_path}/harmonize_two_collections_list.xml" />
|
|
<tool file="${model_tools_path}/merge_collection.xml" />
|
|
<tool file="${model_tools_path}/relabel_from_file.xml" />
|
|
<tool file="${model_tools_path}/filter_from_file.xml" />
|
|
<tool file="${model_tools_path}/cross_product_flat.xml" />
|
|
<tool file="${model_tools_path}/cross_product_nested.xml" />
|
|
<tool file="${model_tools_path}/tag_collection_from_file.xml" />
|
|
<tool file="${model_tools_path}/apply_rules.xml" />
|
|
<tool file="${model_tools_path}/build_list.xml" />
|
|
<tool file="${model_tools_path}/build_list_1.2.0.xml" />
|
|
<tool file="${model_tools_path}/extract_dataset.xml" />
|
|
<tool file="${model_tools_path}/duplicate_file_to_collection.xml" />
|
|
|
|
</toolbox>
|