If you configure your tool using the xml config file it displays by default the tool action on data nr in the history description. This is useful but there are option to get more descriptive info in there.
 
Default for the sequence length example:
        ..
<outputs>
                <data name="output" format="tabular"/>
        </outputs>
        ..
 
Gives: 2: Compute sequence length on data 1
 
This can be altered to have something like a description having the tool settings:
        ..
<outputs>
                <data name="output" format="tabular" label="SEQLEN of ${query_type.value_label}" />
        </outputs>
        ..
Where you can reuse a specific selected value from the form entered by the user.
 
Is there any documentation on this? The default tool_conf xml wiki has no specific info on this.
I also noticed the use of .metadata in datasets to specify columns in that data…
 
The specific I want to have for some of my tools is that the history line shows the tool description and the sequence name chosen.
If I do:
        ..
<outputs>
                <data name="output" format="tabular" label="SEQLEN of ${input1}" />
        </outputs>
        ..
 
 
I do get the sequence FILE name but with the complete not so informative path. Showing the descriptive fasta header would be even nicer….
 
Thanks
Alex