Skip to content

Commit eca92f6

Browse files
bamtools: linter fixes (#7061)
1 parent 97fbd01 commit eca92f6

File tree

5 files changed

+29
-13
lines changed

5 files changed

+29
-13
lines changed

tool_collections/bamtools/bamtools/.lint_skip

Lines changed: 0 additions & 1 deletion
This file was deleted.

tool_collections/bamtools/bamtools/bamtools.xml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -160,26 +160,38 @@
160160
<tests>
161161
<test>
162162
<param name="input_bams" ftype="bam" value="bamtools-input1.bam"/>
163-
<param name="analysis_type_selector" value="convert"/>
164-
<param name="format_type_selector" value="pileup"/>
165-
<param name="reference_source_selector" value="history" />
166-
<param name="mapqual" value="true" />
167-
<param name="ref_file" ftype="fasta" value="bamtools-fasta.fa"/>
163+
<conditional name="analysis_type">
164+
<param name="analysis_type_selector" value="convert"/>
165+
<conditional name="format_type">
166+
<param name="format_type_selector" value="pileup"/>
167+
<conditional name="reference_source">
168+
<param name="reference_source_selector" value="history" />
169+
<param name="ref_file" ftype="fasta" value="bamtools-fasta.fa"/>
170+
</conditional>
171+
<param name="mapqual" value="true" />
172+
</conditional>
173+
</conditional>
168174
<output name="out_file1" file="bamtools-convert-pileup.pu" />
169175
</test>
170176
<test>
171177
<param name="input_bams" ftype="bam" value="bamtools-input1.bam"/>
172-
<param name="analysis_type_selector" value="count"/>
178+
<conditional name="analysis_type">
179+
<param name="analysis_type_selector" value="count"/>
180+
</conditional>
173181
<output name="out_file1" file="bamtools-count.tab" />
174182
</test>
175183
<test>
176184
<param name="input_bams" ftype="bam" value="bamtools-input1.bam"/>
177-
<param name="analysis_type_selector" value="coverage"/>
185+
<conditional name="analysis_type">
186+
<param name="analysis_type_selector" value="coverage"/>
187+
</conditional>
178188
<output name="out_file1" file="bamtools-coverage.tab" />
179189
</test>
180190
<test>
181191
<param name="input_bams" ftype="bam" value="bamtools-input1.bam"/>
182-
<param name="analysis_type_selector" value="header"/>
192+
<conditional name="analysis_type">
193+
<param name="analysis_type_selector" value="header"/>
194+
</conditional>
183195
<output name="out_file1" file="bamtools-header.txt" />
184196
</test>
185197
</tests>

tool_collections/bamtools/bamtools_filter/.lint_skip

Lines changed: 0 additions & 1 deletion
This file was deleted.

tool_collections/bamtools/bamtools_filter/bamtools-filter.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,14 @@ $json.dumps( $config, indent=4 )
193193
<tests>
194194
<test>
195195
<param name="input_bam" ftype="bam" value="bamtools-input1.bam"/>
196-
<param name="bam_property_selector" value="mapQuality"/>
197-
<param name="bam_property_value" value="&gt;20"/>
196+
<repeat name="conditions">
197+
<repeat name="filters">
198+
<conditional name="bam_property">
199+
<param name="bam_property_selector" value="mapQuality"/>
200+
<param name="bam_property_value" value="&gt;20"/>
201+
</conditional>
202+
</repeat>
203+
</repeat>
198204
<output name="out_file1" ftype="bam" file="bamtools-test1.bam" />
199205
</test>
200206
</tests>

tool_collections/bamtools/macros.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<macros>
33
<token name="@TOOL_VERSION@">2.5.2</token>
4-
<token name="@VERSION_SUFFIX@">2</token>
4+
<token name="@VERSION_SUFFIX@">3</token>
55
<xml name="xrefs">
66
<xrefs>
77
<xref type="bio.tools">bamtools</xref>

0 commit comments

Comments
 (0)