Skip to content

Commit

Permalink
add missing labels to the cached kofam DB parameters (galaxyproject#5980
Browse files Browse the repository at this point in the history
)

and require options for the DB but allow to have no options for the
subsets
  • Loading branch information
bernt-matthias authored May 6, 2024
1 parent 57fa4dc commit 1e2ca15
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/kofamscan/kofamscan.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<description>gene function annotation based on KEGG orthology and HMM</description>
<macros>
<token name="@TOOL_VERSION@">1.3.0</token>
<token name="@VERSION_SUFFIX@">3</token>
<token name="@VERSION_SUFFIX@">4</token>
<xml name="reportannotation" token_selected="">
<param name="reportannotation" type="boolean" truevalue="--report-unannotated" falsevalue="--no-report-unannotated" checked="@SELECTED@" label="Include sequence name to outputs even if no KOs are assigned?"/>
</xml>
Expand Down Expand Up @@ -67,18 +67,18 @@ $ap.f_cond.reportannotation
<option value="hmm">HMM file(s)</option>
</param>
<when value="cached">
<param name="kofam" type="select">
<param name="kofam" type="select" label="Kofam database to use">
<options from_data_table="kofam"/>
<validator type="no_options" message="No option available for this input."/>
</param>
<param name="kofam_subset" type="select" optional="true">
<param name="kofam_subset" type="select" optional="true" label="Use only a subset of the selected Kofam database" help="If nothing is selected the complete database is used">
<options from_data_table="kofam_subset">
<filter type="param_value" column="2" ref="kofam"/>
<filter type="sort_by" column="1"/>
<filter type="unique_value" column="1"/>
<column name="name" index="1"/>
<column name="value" index="0"/>
</options>
<validator type="no_options" message="No option available for this input"/>
</param>
</when>
<when value="compressed">
Expand Down

0 comments on commit 1e2ca15

Please sign in to comment.