Skip to content

Commit

Permalink
Merge pull request #6686 from SantaMcCloud/update_metabat2
Browse files Browse the repository at this point in the history
Update MetaBAT2 from 2.15 to 2.17
  • Loading branch information
bgruening authored Jan 25, 2025
2 parents f43fe42 + 083bde6 commit 37e664b
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 12 deletions.
38 changes: 34 additions & 4 deletions tools/metabat2/jgi_summarize_bam_contig_depths.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,30 @@ jgi_summarize_bam_contig_depths
<param name="type" value="individual"/>
<param name="bam_indiv_input" value="input1.bam" ftype="bam"/>
</conditional>
<output name="outputDepth" file="jgi_output1.tabular" ftype="tabular" compare="contains"/>
<output name="outputDepth" ftype="tabular">
<assert_contents>
<has_n_lines n="2"/>
<has_n_columns n="5"/>
<has_text text="50.6321"/>
<has_text text="16569"/>
<has_text text="gi|251831106|ref|NC_012920.1|"/>
</assert_contents>
</output>
</test>
<!-- Multiple inputs, default settings -->
<test expect_num_outputs="1">
<conditional name="mode">
<param name="type" value="co"/>
<param name="bam_co_inputs" value="input1.bam,input1.bam" ftype="bam"/>
</conditional>
<output name="outputDepth" file="jgi_output2.tabular" ftype="tabular" compare="contains"/>
<output name="outputDepth" ftype="tabular">
<assert_contents>
<has_n_lines n="2"/>
<has_n_columns n="7"/>
<has_text text="16569"/>
<has_text text="gi|251831106|ref|NC_012920.1|"/>
</assert_contents>
</output>
</test>
<!-- Single input, output paired contigs, reference from history -->
<test expect_num_outputs="5">
Expand All @@ -178,7 +193,14 @@ jgi_summarize_bam_contig_depths
<section name="advanced">
<param name="output_paired_contigs" value="true"/>
</section>
<output name="outputDepth" file="jgi_output_depth1.tabular" ftype="tabular" compare="contains"/>
<output name="outputDepth" ftype="tabular">
<assert_contents>
<has_n_lines n="2"/>
<has_n_columns n="5"/>
<has_text text="7000"/>
<has_text text="NC_002945.4"/>
</assert_contents>
</output>
<output name="outputPairedContigs" file="jgi_output_paired_contigs1.fasta" ftype="fasta"/>
<output name="outputGC" file="jgi_output_gc1.tabular" ftype="tabular"/>
<output name="outputReadStats" file="jgi_output_read_stats1.tabular" ftype="tabular"/>
Expand All @@ -199,14 +221,22 @@ jgi_summarize_bam_contig_depths
<section name="advanced">
<param name="output_paired_contigs" value="true"/>
</section>
<output name="outputDepth" file="jgi_output_depth1.tabular" ftype="tabular" compare="contains"/>
<output name="outputDepth" ftype="tabular">
<assert_contents>
<has_n_lines n="2"/>
<has_n_columns n="5"/>
<has_text text="7000"/>
<has_text text="NC_002945.4"/>
</assert_contents>
</output>
<output name="outputPairedContigs" file="jgi_output_paired_contigs1.fasta" ftype="fasta"/>
<output name="outputGC" file="jgi_output_gc1.tabular" ftype="tabular"/>
<output name="outputReadStats" file="jgi_output_read_stats1.tabular" ftype="tabular"/>
<output name="outputKmers" file="jgi_output_kmers1.tabular" ftype="tabular"/>
</test>
</tests>
<help><![CDATA[
**What it does**
Calculates coverage depth for each sequence in one or more selected BAM files, producing a tabular file (for each input)
Expand Down
4 changes: 2 additions & 2 deletions tools/metabat2/macros.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<macros>
<token name="@TOOL_VERSION@">2.15</token>
<token name="@VERSION_SUFFIX@">3</token>
<token name="@TOOL_VERSION@">2.17</token>
<token name="@VERSION_SUFFIX@">0</token>
<token name="@PROFILE@">21.01</token>
<xml name="biotools">
<xrefs>
Expand Down
2 changes: 0 additions & 2 deletions tools/metabat2/test-data/jgi_output1.tabular

This file was deleted.

2 changes: 0 additions & 2 deletions tools/metabat2/test-data/jgi_output2.tabular

This file was deleted.

2 changes: 0 additions & 2 deletions tools/metabat2/test-data/jgi_output_depth1.tabular

This file was deleted.

0 comments on commit 37e664b

Please sign in to comment.