I am really a Galaxy noob, so please bear with me.
For the tool I have developed, the user has an opportunity to provide a number of datasets and I would like to verify that the name of each dataset selected conforms to a required convention. I could do that work in the tool itself. But I was wondering whether it is possible to do it in the xml tool file. I thought that the regex validation might work but I don't really know how (if possible) to tease out each dataset names for testing.
<param name="bigwig_files" type="data" multiple="true" format="bigwig" label="Bigwig files:"> <validator type="regex?" >="" something="" that="" requires="" each="" dataset="" name="" match="" a="" specific="" pattern="" (e.g.,="" ^<em="">_mydata_$) </validator> </param>
Is there a way to do this or should I just have the tool do the validation internally and error if any of the input datasets are misnamed?
Any and all advice is most appreciated.