galaxytools icon indicating copy to clipboard operation
galaxytools copied to clipboard

Enhancement: Have the tool "Split file to collection" inherit the input datatype

Open jennaj opened this issue 3 years ago • 1 comments

Tool: https://toolshed.g2.bx.psu.edu/view/bgruening/split_file_to_collection/6cbe2f30c2d7

Option: https://github.com/bgruening/galaxytools/blob/dee6a6f4aa8cbee9f81692fc6f3a2e4ad1f3abf6/tools/text_processing/split_file_to_collection/split_file_to_collection.xml#L206

Use case example: The input is fastqsanger.gz. The user wants to break the data up so it will process without hitting memory or runtime limits, or for whatever other reason. The tool uncompresses the data (probably best) but the datatype fastq is assigned, instead of fastqsanger. Then tools that require fastqsanger assigned don't accept the collection as valid input.

We don't have batch datatype reassignment available yet, but even when that is implemented, it makes sense to update this tool anyway to make analysis easier. Most other tools inherit input datatypes for the output datatype, unless there is an actual data content change.

Related: https://github.com/galaxyproject/tools-iuc/issues/3571

Thanks @mvdbeek for helping to break down the related issues :)

jennaj avatar Apr 06 '21 15:04 jennaj

Thanks for checking @jennaj. This should be easy, unfortunately this does not work yet in Galaxy: https://github.com/galaxyproject/galaxy/pull/11754

bernt-matthias avatar Apr 06 '21 16:04 bernt-matthias