Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix containerized merqury #5945

Merged
merged 7 commits into from
Apr 13, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/merqury/macros.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<requirement type="package" version="@TOOL_VERSION@">merqury</requirement>
<requirement type="package" version="1.34">tar</requirement>
<requirement type="package" version="4.6.0">findutils</requirement>
<requirement type="package" version="8.32">coreutils</requirement>
<requirement type="package" version="9.5">coreutils</requirement>
</requirements>
</xml>
<xml name="citations">
Expand Down
12 changes: 6 additions & 6 deletions tools/merqury/merqury.xml
Original file line number Diff line number Diff line change
Expand Up @@ -236,32 +236,32 @@
<output_collection name="png_files" type="list" count="6">
<element name="output_02.assembly.spectra-cn.fl">
<assert_contents>
<has_size value="71874" delta="100"/>
<has_size value="74570" delta="100"/>
</assert_contents>
</element>
<element name="output_02.assembly.spectra-cn.ln">
<assert_contents>
<has_size value="71888" delta="100"/>
<has_size value="74476" delta="100"/>
</assert_contents>
</element>
<element name="output_02.assembly.spectra-cn.st">
<assert_contents>
<has_size value="71123" delta="100"/>
<has_size value="74205" delta="100"/>
</assert_contents>
</element>
<element name="output_02.spectra-asm.fl">
<assert_contents>
<has_size value="47245" delta="100"/>
<has_size value="48524" delta="100"/>
</assert_contents>
</element>
<element name="output_02.spectra-asm.ln">
<assert_contents>
<has_size value="46896" delta="100"/>
<has_size value="48028" delta="100"/>
</assert_contents>
</element>
<element name="output_02.spectra-asm.st">
<assert_contents>
<has_size value="45945" delta="100"/>
<has_size value="47447" delta="100"/>
</assert_contents>
</element>
</output_collection>
Expand Down
2 changes: 1 addition & 1 deletion tools/merqury/merqury_plot_CN.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<expand macro="bio_tools"/>
<expand macro="requirements"/>
<version_command>merqury --version</version_command>

<command detect_errors="exit_code"><![CDATA[
mkdir -p output_files/ &&
export MERQURY="\$(dirname \$(which merqury.sh))/../share/merqury" &&
\$MERQURY/plot/plot_spectra_cn.R
-f '$input1'
-o output_files/merqury_plot
Expand Down
2 changes: 1 addition & 1 deletion tools/merqury/test-data/output_02_qv.tabular
Original file line number Diff line number Diff line change
@@ -1 +1 @@
assembly 0 1037953
assembly 0 1037953 +inf 0
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's normal that this changes, it just means that the bug is fixed. The problem is that the test data was wrong initially.

6 changes: 3 additions & 3 deletions tools/merqury/test-data/output_03_qv.tabular
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
assembly_01 0 1037953
assembly_02 0 1037953
Both 0 2075906
assembly_01 0 1037953 +inf 0
assembly_02 0 1037953 +inf 0
Both 0 2075906 +inf 0
2 changes: 1 addition & 1 deletion tools/merqury/test-data/output_06_qv.tabular
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
assembly unique k-mers common k-mers QV error rate
assembly 0 1037953
assembly 0 1037953 +inf 0