Mercurial > repos > iuc > filter_tabular
comparison filter_tabular.xml @ 15:c980ca86636b draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/query_tabular commit dd35055c76d86fe98985b5825c1751efb8208242
| author | iuc |
|---|---|
| date | Thu, 27 Jun 2024 17:22:58 +0000 |
| parents | 26b66c3c5504 |
| children |
comparison
equal
deleted
inserted
replaced
| 14:7ddbba636f33 | 15:c980ca86636b |
|---|---|
| 1 <tool id="filter_tabular" name="Filter Tabular" version="3.3.0"> | 1 <tool id="filter_tabular" name="Filter Tabular" version="3.3.1"> |
| 2 <description></description> | 2 <description></description> |
| 3 | 3 |
| 4 <macros> | 4 <macros> |
| 5 <import>macros.xml</import> | 5 <import>macros.xml</import> |
| 6 </macros> | 6 </macros> |
| 14 ]]></command> | 14 ]]></command> |
| 15 <configfiles> | 15 <configfiles> |
| 16 <configfile name="filter_json"> | 16 <configfile name="filter_json"> |
| 17 #import json | 17 #import json |
| 18 #set $dataset_name = $input.element_identifier | 18 #set $dataset_name = $input.element_identifier |
| 19 #set $table=$input | |
| 19 @LINEFILTERS@ | 20 @LINEFILTERS@ |
| 20 #if $input_filters: | |
| 21 #echo $json.dumps($input_filters) | 21 #echo $json.dumps($input_filters) |
| 22 #end if | |
| 23 </configfile> | 22 </configfile> |
| 24 </configfiles> | 23 </configfiles> |
| 25 <inputs> | 24 <inputs> |
| 26 <param name="input" type="data" format="tabular" label="Tabular Dataset to filter"/> | 25 <param name="input" type="data" format="tabular" label="Tabular Dataset to filter"/> |
| 27 <param name="comment_char" type="boolean" truevalue="--comment_char '#'" falsevalue="" checked="true" label="exclude lines starting with #"/> | 26 <param name="comment_char" type="boolean" truevalue="--comment_char '#'" falsevalue="" checked="true" label="exclude lines starting with #"/> |
| 164 <param name="filter_type" value="append_dataset_name"/> | 163 <param name="filter_type" value="append_dataset_name"/> |
| 165 </conditional> | 164 </conditional> |
| 166 </repeat> | 165 </repeat> |
| 167 <output name="output" file="filtered_IEDB.tsv"/> | 166 <output name="output" file="filtered_IEDB.tsv"/> |
| 168 </test> | 167 </test> |
| 168 <test> | |
| 169 <param name="input" ftype="tabular" value="math_input.tsv"/> | |
| 170 <param name="comment_char" value="False"/> | |
| 171 <repeat name="linefilters"> | |
| 172 <conditional name="filter"> | |
| 173 <param name="filter_type" value="skip"/> | |
| 174 <param name="skiplines" value=""/> | |
| 175 </conditional> | |
| 176 </repeat> | |
| 177 <output name="output" file="math_input.tsv"/> | |
| 178 </test> | |
| 169 </tests> | 179 </tests> |
| 170 <help><