Previous changeset 2:53dd00a4ab68 (2023-03-28) Next changeset 4:392811378515 (2024-11-19) |
Commit message:
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blobtoolkit commit d4e8bcb01de330e345970d3df6b75392c7fe2275 |
modified:
blobtoolkit.xml macros.xml test-data/test01_blobdir.tar.gz test-data/test02_blobdir.tar.gz |
added:
test-data/blobdir.tgz test-data/output.svg test-data/output_cumulative.svg test-data/output_legend.svg test-data/test02_blob.svg |
b |
diff -r 53dd00a4ab68 -r 8c2167481e72 blobtoolkit.xml --- a/blobtoolkit.xml Tue Mar 28 15:17:19 2023 +0000 +++ b/blobtoolkit.xml Fri Jul 26 16:15:35 2024 +0000 |
[ |
b'@@ -1,5 +1,5 @@\n <tool id="blobtoolkit" name="BlobToolKit" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">\n- <description>genome assembly QC</description>\n+ <description>Genome Assembly QC</description>\n <macros>\n <import>macros.xml</import>\n </macros>\n@@ -22,7 +22,14 @@\n --taxid $mode_conditional.taxid\n --taxdump \'./taxdump\'\n \'./Blobdir\'\n+ \n && tar -C ./Blobdir -zcvf Blobdir.tgz .\n+\n+ #else if $mode_conditional.selector == \'plot\'\n+ mkdir -p blobtk_files && \n+ tar -xvf \'$blobdir_input\' -C blobtk_files &&\n+ blobtk plot --blobdir blobtk_files --view \'$plot_view\'\n+ \n #else if $mode_conditional.selector == \'add\'\n mkdir -p \'./Blobdir\' &&\n mkdir -p \'./taxdump\' &&\n@@ -97,6 +104,11 @@\n #end if\n $mode_conditional.advanced_options.replace\n \'./Blobdir\'\n+\n+ #if $mode_conditional.blobtk_plot_options.blobtk_plot == \'yes\'\n+ && blobtk plot --blobdir \'./Blobdir\' --view $blobtk_plot_options.plot_view\n+ #end if\n+ \n && tar -C ./Blobdir -zcvf Blobdir.tgz .\n \n #else if $mode_conditional.selector == \'filter\'\n@@ -156,8 +168,14 @@\n #end if\n ./Blobdir\n #end if\n+\n+ #if $mode_conditional.blobtk_plot_options.blobtk_plot == \'yes\'\n+ && blobtk plot --blobdir ./Blobdir --view $blobtk_plot_options.plot_view\n+ #end if\n+\n && tar -C ./Blobdir -zcvf Blobdir.tgz .\n #end if\n+\n ]]></command>\n <inputs>\n <conditional name="mode_conditional">\n@@ -165,6 +183,7 @@\n <option value="create">Create a BlobToolKit dataset</option>\n <option value="add">Add data to a BlobToolKit dataset</option>\n <option value="filter">Edit a BlobToolKit dataset</option>\n+ <option value="plot">Plot a BlobToolKit dataset</option>\n </param>\n <when value="create">\n <param argument="--fasta" type="data" format="fasta" label="Genome assembly file" help="FASTA sequence file" />\n@@ -217,6 +236,7 @@\n <param argument="--text-no-array" type="boolean" truevalue="--text-no-array" falsevalue="" checked="false" label="Prevent duplicated identifiers" \n help="Prevent fields in files with duplicate identifiers being loaded as array fields" />\n </expand>\n+ <expand macro="blobtk_plotting"></expand>\n <section name="advanced_options" title="Advanced options">\n <param argument="--blobdb" type="data" format="json" optional="true" label="Blobtools v1 database" help="This file should have been generated with the previous Blobtools tool version"/>\n <param argument="--synonyms" type="data" format="tsv" optional="true" label="Identifier and sinonyms" help="TSV file containing current identifiers and synonyms"/>\n@@ -295,6 +315,16 @@\n <validator type="regex">[0-9a-zA-Z]+</validator>\n </param>\n </section>\n+ <expand macro="blobtk_plotting"></expand>\n+ </when>\n+ <when value="plot">\n+ <param name="blobdir_input" type="data" format="tgz" label="Select the blobdir tar.gz file generated from blobtools"/>\n+ <param name="plot_view" type="select" label="Select the view type for the plot">\n+ <option value="blob" selected="true">Blob view</option>\n+ <option value="cumulative">Cumulative view</option>\n+ <option value="legend">Legend view</option>\n+ <option value="snail">Snail view</option>\n+ </param>\n </when>\n </conditional>\n </inputs>\n@@ -302,8 +332,18 @@\n '..b' <param name="plot_view" value="blob"/>\n+ </conditional>\n </conditional>\n <output name="blobdir" file="test02_blobdir.tar.gz" compare="sim_size" delta="100"/>\n+ <output name="output_svg" file="test02_blob.svg" compare="sim_size" delta="100"/>\n </test>\n+ <!-- Test 03: Testing blobtoolkit with filtering and plotting disabled -->\n <test expect_num_outputs="1">\n <conditional name="mode_conditional">\n <param name="selector" value="filter"/>\n@@ -350,12 +397,16 @@\n <param name="remove_selector" value="--all"/>\n </section>\n </conditional>\n+ <conditional name="blobtk_plot_options">\n+ <param name="blobtk_plot" value="no"/>\n+ </conditional>\n <output name="blobdir">\n <assert_contents>\n <has_size value="620" delta="50"/>\n </assert_contents>\n </output>\n </test>\n+ <!-- Test 04: Testing blobtoolkit with filter with list and fasta filtering -->\n <test expect_num_outputs="1">\n <conditional name="mode_conditional">\n <param name="selector" value="filter"/>\n@@ -368,12 +419,55 @@\n <param name="remove_selector" value="--all"/>\n </section>\n </conditional>\n+ <conditional name="blobtk_plot_options">\n+ <param name="blobtk_plot" value="no"/>\n+ </conditional>\n <output name="blobdir">\n <assert_contents>\n <has_size value="620" delta="50"/>\n </assert_contents>\n </output>\n </test>\n+ <!-- Test 05: Testing blobtoolkit blob plot -->\n+ <test expect_num_outputs="1">\n+ <conditional name="mode_conditional">\n+ <param name="selector" value="plot"/>\n+ <param name="blobdir_input" value="blobdir.tgz"/>\n+ <param name="plot_view" value="blob"/>\n+ </conditional>\n+ <output name="output_svg" ftype="svg" file="output.svg" compare="sim_size"/>\n+ </test>\n+ <!-- Test 06 :Testing blobtoolkit Snail plot -->\n+ <test expect_num_outputs="1">\n+ <conditional name="mode_conditional">\n+ <param name="selector" value="plot"/>\n+ <param name="blobdir_input" value="blobdir.tgz"/>\n+ <param name="plot_view" value="snail"/>\n+ </conditional>\n+ <output name="output_svg" ftype="svg">\n+ <assert_contents>\n+ <has_text text="Log10 scaffold count (total 242)"/>\n+ </assert_contents>\n+ </output>\n+ </test>\n+ <!-- Test 07: Testing blobtoolkit legend plot -->\n+ <test expect_num_outputs="1">\n+ <conditional name="mode_conditional">\n+ <param name="selector" value="plot"/>\n+ <param name="blobdir_input" value="blobdir.tgz"/>\n+ <param name="plot_view" value="legend"/>\n+ </conditional>\n+ <output name="output_svg" ftype="svg" file="output_legend.svg" compare="sim_size"/>\n+ </test>\n+ <!-- Test 08: Testing blobtoolkit Cumulative plot -->\n+ <test expect_num_outputs="1">\n+ <conditional name="mode_conditional">\n+ <param name="selector" value="plot"/>\n+ <param name="blobdir_input" value="blobdir.tgz"/>\n+ <param name="plot_view" value="cumulative"/>\n+ </conditional>\n+ <output name="output_svg" ftype="svg" file="output_cumulative.svg" compare="sim_size"/>\n+ </test>\n </tests>\n <help><![CDATA[\n BlobToolKit is a software suite to aid researchers in identifying and isolating non-target data in draft and publicly available genome assemblies. It can be used to process assembly, \n' |
b |
diff -r 53dd00a4ab68 -r 8c2167481e72 macros.xml --- a/macros.xml Tue Mar 28 15:17:19 2023 +0000 +++ b/macros.xml Fri Jul 26 16:15:35 2024 +0000 |
b |
@@ -1,10 +1,10 @@ <macros> <token name="@TOOL_VERSION@">4.0.7</token> - <token name="@VERSION_SUFFIX@">1</token> + <token name="@VERSION_SUFFIX@">2</token> <xml name="requirements"> <requirements> - <container type="docker">genomehubs/blobtoolkit:@TOOL_VERSION@</container> + <container type="docker">quay.io/biocontainers/blobtoolkit:4.3.11</container> </requirements> </xml> <xml name="citations"> @@ -46,4 +46,21 @@ <xml name="macro_taxdump"> <param argument="--taxdump" type="data" format="tar,gz,tgz" label="NCBI taxdump directory" help="It requires to use the last taxdump version. You can find more information about it in the help section."/> </xml> + <xml name="blobtk_plotting"> + <conditional name="blobtk_plot_options"> + <param name="blobtk_plot" type="select" label="Do you want to plot the dataset"> + <option value="yes">Yes</option> + <option value="no">No</option> + </param> + <when value="yes"> + <param name="plot_view" type="select" label="Select the view type for the plot"> + <option value="blob" selected="true">Blob view</option> + <option value="cumulative">Cumulative view</option> + <option value="legend">Legend view</option> + <option value="snail">Snail view</option> + </param> + </when> + <when value="no"></when> + </conditional> + </xml> </macros> |
b |
diff -r 53dd00a4ab68 -r 8c2167481e72 test-data/blobdir.tgz |
b |
Binary file test-data/blobdir.tgz has changed |
b |
diff -r 53dd00a4ab68 -r 8c2167481e72 test-data/output.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/output.svg Fri Jul 26 16:15:35 2024 +0000 |
[ |
b'@@ -0,0 +1,660 @@\n+<svg viewBox="0 0 1360 1360" xmlns="http://www.w3.org/2000/svg">\n+<rect fill="#ffffff" height="1360" stroke="none" width="1360"/>\n+<g transform="translate(100, 260)">\n+<g>\n+<g>\n+<g>\n+<path d="M180.32468,1000 L180.32468,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M326.42856,1000 L326.42856,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M472.53247,1000 L472.53247,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M618.63635,1000 L618.63635,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M764.74023,1000 L764.74023,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M910.8442,1000 L910.8442,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+</g>\n+</g>\n+<g>\n+<g>\n+<path d="M0,950 L1000,950" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M0,695.50476 L1000,695.50476" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M0,441.00955 L1000,441.00955" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M0,186.51431 L1000,186.51431" fill="none" stroke="#cccccc" stroke-width="1"/>\n+</g>\n+</g>\n+</g>\n+<g transform="translate(50, 50)">\n+<circle cx="314.70779220779235" cy="224.9992271266176" fill="#a6cee3" fill-opacity="0.6" r="5.830954774487785" stroke="#999999"/>\n+<circle cx="851.7857142857143" cy="249.14652604984497" fill="#a6cee3" fill-opacity="0.6" r="3.204391564908383" stroke="#999999"/>\n+<circle cx="883.9285714285716" cy="211.93554895388002" fill="#a6cee3" fill-opacity="0.6" r="2.843505045478949" stroke="#999999"/>\n+<circle cx="876.6233766233769" cy="0" fill="#a6cee3" fill-opacity="0.6" r="3.4617388752487623" stroke="#999999"/>\n+<circle cx="877.2077922077924" cy="234.7494010159444" fill="#a6cee3" fill-opacity="0.6" r="3.055623702033624" stroke="#999999"/>\n+<circle cx="856.753246753247" cy="250.69112983622017" fill="#a6cee3" fill-opacity="0.6" r="3.1401068857726093" stroke="#999999"/>\n+<circle cx="863.7662337662339" cy="279.7829581092258" fill="#a6cee3" fill-opacity="0.6" r="3.137900161168906" stroke="#999999"/>\n+<circle cx="866.6883116883117" cy="219.6376909155971" fill="#a6cee3" fill-opacity="0.6" r="3.2946144767258034" stroke="#999999"/>\n+<circle cx="878.961038961039" cy="178.05503803029353" fill="#a6cee3" fill-opacity="0.6" r="3.2540292103944806" stroke="#999999"/>\n+<circle cx="839.8051948051949" cy="269.3812826366925" fill="#a6cee3" fill-opacity="0.6" r="2.903385202512319" stroke="#999999"/>\n+<circle cx="864.6428571428572" cy="83.53335070069761" fill="#a6cee3" fill-opacity="0.6" r="3.4061315737157143" stroke="#999999"/>\n+<circle cx="874.8701298701301" cy="98.04399828368958" fill="#a6cee3" fill-opacity="0.6" r="2.9730888964535813" stroke="#999999"/>\n+<circle cx="870.1948051948052" cy="98.35627498454096" fill="#a6cee3" fill-opacity="0.6" r="3.3135008198962126" stroke="#999999"/>\n+<circle cx="875.1623376623378" cy="410.2524778014556" fill="#a6cee3" fill-opacity="0.6" r="2.97114340014821" stroke="#999999"/>\n+<circle cx="869.9025974025975" cy="205.27389259804954" fill="#a6cee3" fill-opacity="0.6" r="3.3186348448036793" stroke="#999999"/>\n+<circle cx="827.8246753246755" cy="162.5225544823263" fill="#a6cee3" fill-opacity="0.6" r="2.965164435098197" stroke="#999999"/>\n+<circle cx="864.3506493506494" cy="170.03150920020232" fill="#a6cee3" fill-opacity="0.6" r="3.387368615102786" stroke="#999999"/>\n+<circle cx="580.6168831168832" cy="74.88964338842231" fill="#a6cee3" fill-opacity="0.6" r="6.0347671324787795" stroke="#999999"/>\n+<circle cx="854.1233766233768" cy="184.50903494822228" fill="#a6cee3" fill-opacity="0.6" r="3.134323962707211" stroke="#999999"/>\n+<circle cx="885.9740259740262" cy="214.81117381544243" fill="#a6cee3" fill-opacity="0.6" r="2.7757814568980277" stroke="#999999"/>\n+<circle cx="888.8961038961041" cy="263.1202620150651" fill="#a6cee3" fill-opacity="0.6" r="2.8071149673564473" stroke="#999999"/>\n+<circle cx="864.9350649350653" cy="118.0776614360675" fill="#a6cee3" fill-opacity="0.6" r="3.562090661819922" stroke="#999999'..b'.0, -70.0) rotate(0.0)">\n+\n+</text>\n+</g>\n+</g>\n+</g>\n+<g transform="translate(1175, 10)">\n+<text/>\n+<g transform="translate(0, 0)">\n+<g>\n+<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="321" x="-133" y="4"/>\n+</g>\n+<g>\n+<rect fill="#a6cee3" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/>\n+</g>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22">\n+Ascomycota\n+</text>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20">\n+[144; 4.68M; 32.8k]\n+</text>\n+</g>\n+<g transform="translate(0, 26)">\n+<g>\n+<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="261" x="-93" y="4"/>\n+</g>\n+<g>\n+<rect fill="#1f78b4" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/>\n+</g>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22">\n+no-hit\n+</text>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20">\n+[47; 7.65M; 364k]\n+</text>\n+</g>\n+<g transform="translate(0, 52)">\n+<g>\n+<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="281" x="-113" y="4"/>\n+</g>\n+<g>\n+<rect fill="#b2df8a" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/>\n+</g>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22">\n+Chordata\n+</text>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20">\n+[42; 627M; 29.1M]\n+</text>\n+</g>\n+<g transform="translate(0, 78)">\n+<g>\n+<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="291" x="-133" y="4"/>\n+</g>\n+<g>\n+<rect fill="#33a02c" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/>\n+</g>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22">\n+Arthropoda\n+</text>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20">\n+[7; 2.62M; 597k]\n+</text>\n+</g>\n+<g transform="translate(0, 104)">\n+<g>\n+<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="320" x="-172" y="4"/>\n+</g>\n+<g>\n+<rect fill="#fb9a99" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/>\n+</g>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22">\n+Artverviricota\n+</text>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20">\n+[1; 763k; 763k]\n+</text>\n+</g>\n+<g transform="translate(0, 130)">\n+<g>\n+<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="261" x="-113" y="4"/>\n+</g>\n+<g>\n+<rect fill="#e31a1c" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/>\n+</g>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22">\n+Nematoda\n+</text>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20">\n+[1; 630k; 630k]\n+</text>\n+</g>\n+</g>\n+</svg>\n\\ No newline at end of file\n' |
b |
diff -r 53dd00a4ab68 -r 8c2167481e72 test-data/output_cumulative.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/output_cumulative.svg Fri Jul 26 16:15:35 2024 +0000 |
[ |
b'@@ -0,0 +1,216 @@\n+<svg viewBox="0 0 1110 1110" xmlns="http://www.w3.org/2000/svg">\n+<rect fill="#ffffff" height="1110" stroke="none" width="1110"/>\n+<g transform="translate(100, 10)">\n+<g>\n+<g>\n+<g>\n+<path d="M50,1000 L50,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M142.9752,1000 L142.9752,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M235.95041,1000 L235.95041,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M328.92563,1000 L328.92563,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M421.90082,1000 L421.90082,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M514.87604,1000 L514.87604,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M607.85126,1000 L607.85126,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M700.8264,1000 L700.8264,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M793.80164,1000 L793.80164,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M886.77686,1000 L886.77686,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+</g>\n+</g>\n+<g>\n+<g>\n+<path d="M0,950 L1000,950" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M0,810.1959 L1000,810.1959" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M0,670.3918 L1000,670.3918" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M0,530.5877 L1000,530.5877" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M0,390.7836 L1000,390.7836" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M0,250.9795 L1000,250.9795" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M0,111.175415 L1000,111.175415" fill="none" stroke="#cccccc" stroke-width="1"/>\n+</g>\n+</g>\n+</g>\n+<g transform="translate(50, 50)">\n+<path d="M0,900 L0,900 L3.7190082,834.20123 L7.4380164,778.2719 L11.157024,726.1248 L14.876033,680.8922 L18.595041,635.887 L22.314049,592.01324 L26.033058,549.94775 L29.752066,508.03848 L33.471073,466.42694 L37.190083,425.78754 L40.909092,385.2324 L44.628098,345.62604 L48.347107,307.34116 L52.066116,269.74557 L55.785126,232.64345 L59.50413,195.74431 L63.22314,159.50565 L66.94215,125.259544 L70.661156,92.10774 L74.380165,59.736065 L78.099174,28.487534 L81.818184,27.244787 L85.53719,26.111626 L89.256195,25.045551 L92.975204,24.01438 L96.694214,23.13383 L100.41322,22.273195 L104.13223,21.438566 L107.85124,20.658403 L111.57025,20.024157 L115.28925,19.423252 L119.00826,18.836542 L122.72727,18.278528 L126.44628,17.722107 L130.16528,17.16617 L133.8843,16.613945 L137.6033,16.061718 L141.32231,15.511934 L145.04132,14.994879 L148.76033,14.483185 L152.47934,13.974298 L156.19835,13.491973 L159.91736,13.022656 L163.63637,12.555711 L167.35538,12.092261 L171.07439,11.755453 L174.7934,11.420562 L178.51239,11.088883 L182.2314,10.783157 L185.95041,10.484957 L189.66942,10.205348 L193.38843,9.955099 L197.10744,9.721176 L200.82645,9.493296 L204.54546,9.272405 L208.26447,9.052913 L211.98347,8.843206 L215.70248,8.634898 L219.4215,8.430277 L223.1405,8.239125 L226.8595,8.055982 L230.5785,7.892411 L234.29752,7.7302384 L238.01653,7.569371 L241.73553,7.4101624 L245.45454,7.2689605 L249.17355,7.1319523 L252.89256,7.0117207 L256.61157,6.892887 L260.33057,6.776169 L264.0496,6.6608586 L267.7686,6.548515 L271.4876,6.4380693 L275.2066,6.3374104 L278.92563,6.2444634 L282.64462,6.157785 L286.36365,6.072381 L290.08264,5.9871006 L293.80167,5.9060144 L297.52066,5.8278794 L301.23965,5.750987 L304.95868,5.675493 L308.67767,5.6002126 L312.3967,5.5301847 L316.1157,5.466529 L319.83472,5.4045734 L323.5537,5.342699 L327.27274,5.281392 L330.99173,5.220091 L334.71075,5.160649 L338.42975,5.1014304 L342.14877,5.0445695 L345.86777,4.9880104 L349.5868,4.932768 L353.3058,4.8778057 L357.02478,4.823004 L360.7438,4.7697706 L364.4628,4.7166057 L368.18182,4.6643023 L371.90082,4.6121902 L375.61984,4.560836 L379.33884,4.5100045 L383.05786,4.4593997 L386.77686,4.4091835 L390.49588,4.359665 L394.21487,4.310644 L397.9339,4.2617126 L401.6529,4.2129645 L405.3719,4.164269 L409.0909,4.115753'..b'90.0)">\n+cumulative length\n+</text>\n+</g>\n+</g>\n+</g>\n+<g transform="translate(925, 728)">\n+<text/>\n+<g transform="translate(0, 0)">\n+<g>\n+<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="321" x="-133" y="4"/>\n+</g>\n+<g>\n+<rect fill="#a6cee3" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/>\n+</g>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22">\n+Ascomycota\n+</text>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20">\n+[144; 4.68M; 32.8k]\n+</text>\n+</g>\n+<g transform="translate(0, 26)">\n+<g>\n+<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="261" x="-93" y="4"/>\n+</g>\n+<g>\n+<rect fill="#1f78b4" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/>\n+</g>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22">\n+no-hit\n+</text>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20">\n+[47; 7.65M; 364k]\n+</text>\n+</g>\n+<g transform="translate(0, 52)">\n+<g>\n+<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="281" x="-113" y="4"/>\n+</g>\n+<g>\n+<rect fill="#b2df8a" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/>\n+</g>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22">\n+Chordata\n+</text>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20">\n+[42; 627M; 29.1M]\n+</text>\n+</g>\n+<g transform="translate(0, 78)">\n+<g>\n+<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="291" x="-133" y="4"/>\n+</g>\n+<g>\n+<rect fill="#33a02c" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/>\n+</g>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22">\n+Arthropoda\n+</text>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20">\n+[7; 2.62M; 597k]\n+</text>\n+</g>\n+<g transform="translate(0, 104)">\n+<g>\n+<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="320" x="-172" y="4"/>\n+</g>\n+<g>\n+<rect fill="#fb9a99" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/>\n+</g>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22">\n+Artverviricota\n+</text>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20">\n+[1; 763k; 763k]\n+</text>\n+</g>\n+<g transform="translate(0, 130)">\n+<g>\n+<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="261" x="-113" y="4"/>\n+</g>\n+<g>\n+<rect fill="#e31a1c" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/>\n+</g>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22">\n+Nematoda\n+</text>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20">\n+[1; 630k; 630k]\n+</text>\n+</g>\n+</g>\n+</svg>\n\\ No newline at end of file\n' |
b |
diff -r 53dd00a4ab68 -r 8c2167481e72 test-data/output_legend.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/output_legend.svg Fri Jul 26 16:15:35 2024 +0000 |
[ |
@@ -0,0 +1,90 @@ +<svg viewBox="0 0 620 182" xmlns="http://www.w3.org/2000/svg"> +<rect fill="#ffffff" height="182" stroke="none" width="620"/> +<g transform="translate(440, 10)"> +<text/> +<g transform="translate(0, 0)"> +<g> +<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="321" x="-133" y="4"/> +</g> +<g> +<rect fill="#a6cee3" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/> +</g> +<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22"> +Ascomycota +</text> +<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20"> +[144; 4.68M; 32.8k] +</text> +</g> +<g transform="translate(0, 26)"> +<g> +<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="261" x="-93" y="4"/> +</g> +<g> +<rect fill="#1f78b4" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/> +</g> +<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22"> +no-hit +</text> +<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20"> +[47; 7.65M; 364k] +</text> +</g> +<g transform="translate(0, 52)"> +<g> +<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="281" x="-113" y="4"/> +</g> +<g> +<rect fill="#b2df8a" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/> +</g> +<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22"> +Chordata +</text> +<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20"> +[42; 627M; 29.1M] +</text> +</g> +<g transform="translate(0, 78)"> +<g> +<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="291" x="-133" y="4"/> +</g> +<g> +<rect fill="#33a02c" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/> +</g> +<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22"> +Arthropoda +</text> +<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20"> +[7; 2.62M; 597k] +</text> +</g> +<g transform="translate(0, 104)"> +<g> +<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="320" x="-172" y="4"/> +</g> +<g> +<rect fill="#fb9a99" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/> +</g> +<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22"> +Artverviricota +</text> +<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20"> +[1; 763k; 763k] +</text> +</g> +<g transform="translate(0, 130)"> +<g> +<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="261" x="-113" y="4"/> +</g> +<g> +<rect fill="#e31a1c" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/> +</g> +<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22"> +Nematoda +</text> +<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20"> +[1; 630k; 630k] +</text> +</g> +</g> +</svg> \ No newline at end of file |
b |
diff -r 53dd00a4ab68 -r 8c2167481e72 test-data/test01_blobdir.tar.gz |
b |
Binary file test-data/test01_blobdir.tar.gz has changed |
b |
diff -r 53dd00a4ab68 -r 8c2167481e72 test-data/test02_blob.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/test02_blob.svg Fri Jul 26 16:15:35 2024 +0000 |
[ |
b'@@ -0,0 +1,254 @@\n+<svg viewBox="0 0 1360 1360" xmlns="http://www.w3.org/2000/svg">\n+<rect fill="#ffffff" height="1360" stroke="none" width="1360"/>\n+<g transform="translate(100, 260)">\n+<g>\n+<g>\n+<g>\n+<path d="M106.65859,1000 L106.65859,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M324.57626,1000 L324.57626,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M542.49396,1000 L542.49396,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M760.4116,1000 L760.4116,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+</g>\n+</g>\n+<g>\n+<g>\n+<path d="M0,2565.1458 L1000,2565.1458" fill="none" stroke="#cccccc" stroke-width="1"/>\n+</g>\n+</g>\n+</g>\n+<g transform="translate(50, 50)">\n+<circle cx="10.895883777239733" cy="900" fill="#a6cee3" fill-opacity="0.6" r="14.924960617375968" stroke="#999999"/>\n+<circle cx="0" cy="320.8594545406121" fill="#a6cee3" fill-opacity="0.6" r="9.304505932820973" stroke="#999999"/>\n+<circle cx="900" cy="0" fill="#a6cee3" fill-opacity="0.6" r="2" stroke="#999999"/>\n+<circle cx="479.418886198547" cy="793.4401250041603" fill="#a6cee3" fill-opacity="0.6" r="62" stroke="#999999"/>\n+<circle cx="407.5060532687655" cy="743.6630594386419" fill="#a6cee3" fill-opacity="0.6" r="52.9358868289701" stroke="#999999"/>\n+<circle cx="477.23970944309934" cy="793.4401250041603" fill="#a6cee3" fill-opacity="0.6" r="43.75612565554742" stroke="#999999"/>\n+</g>\n+<g>\n+<g>\n+<g/>\n+<g>\n+<path d="M106.65859,1000 L106.65859,1010" fill="none" stroke="black" stroke-width="3"/>\n+<text dominant-baseline="hanging" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="20" stroke="none" text-anchor="middle" transform="translate(106.65859564164879, 1015.0) rotate(0.0)">\n+0.50\n+</text>\n+<path d="M324.57626,1000 L324.57626,1010" fill="none" stroke="black" stroke-width="3"/>\n+<text dominant-baseline="hanging" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="20" stroke="none" text-anchor="middle" transform="translate(324.5762711864434, 1015.0) rotate(0.0)">\n+0.51\n+</text>\n+<path d="M542.49396,1000 L542.49396,1010" fill="none" stroke="black" stroke-width="3"/>\n+<text dominant-baseline="hanging" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="20" stroke="none" text-anchor="middle" transform="translate(542.4939467312381, 1015.0) rotate(0.0)">\n+0.52\n+</text>\n+<path d="M760.4116,1000 L760.4116,1010" fill="none" stroke="black" stroke-width="3"/>\n+<text dominant-baseline="hanging" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="20" stroke="none" text-anchor="middle" transform="translate(760.4116222760327, 1015.0) rotate(0.0)">\n+0.53\n+</text>\n+</g>\n+<line fill="none" stroke="black" stroke-linecap="round" stroke-width="3" x1="0" x2="1000" y1="1000" y2="1000"/>\n+<text dominant-baseline="middle" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="30" stroke="none" text-anchor="middle" transform="translate(500.0, 1070.0) rotate(0.0)">\n+gc\n+</text>\n+</g>\n+<g>\n+<g/>\n+<g>\n+<path d="M0,2565.1458 L-10,2565.1458" fill="none" stroke="black" stroke-width="3"/>\n+<text/>\n+</g>\n+<line fill="none" stroke="black" stroke-linecap="round" stroke-width="3" x1="0" x2="0" y1="0" y2="1000"/>\n+<text dominant-baseline="middle" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="30" stroke="none" text-anchor="middle" transform="translate(-70.0, 500.0) rotate(90.0)">\n+input_cov\n+</text>\n+</g>\n+</g>\n+</g>\n+<g transform="translate(100, 10)">\n+<g>\n+<g>\n+<g>\n+<path d="M106.65859,250 L106.65859,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M324.57626,250 L324.57626,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M542.49396,250 L542.49396,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+<path d="M760.4116,250 L760.4116,0" fill="none" stroke="#cccccc" stroke-width="1"/>\n+</g>\n+</g>\n+<g>\n+<g>\n+<path d="M0,250 '..b'22.62573,750 L122.62573,720 L0,720 L0,690 L0,690 L0,660 L0,660 L0,630 L0,630 L0,600 L0,600 L0,570 L0,570 L0,540 L0,540 L0,510 L0,510 L0,480 L0,480 L0,450 L0,450 L0,420 L0,420 L0,390 L0,390 L0,360 L0,360 L0,330 L11.291334,330 L11.291334,300 L0,300 L0,270 L0,270 L0,240 L0,240 L0,210 L0,210 L0,180 L0,180 L0,150 L0,150 L0,120 L0,120 L0,90 L0,90 L0,60 L0,60 L0,30 L4.2804623,30 L4.2804623,0 L0,0" fill="none" stroke="#a6cee3" stroke-width="2"/>\n+</g>\n+<g>\n+<g>\n+<g/>\n+<g>\n+<path d="M0,2565.1458 L-10,2565.1458" fill="none" stroke="black" stroke-width="3"/>\n+<text/>\n+</g>\n+<line fill="none" stroke="black" stroke-linecap="round" stroke-width="3" x1="0" x2="0" y1="0" y2="1000"/>\n+<text dominant-baseline="middle" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="30" stroke="none" text-anchor="middle" transform="translate(-70.0, 500.0) rotate(90.0)">\n+\n+</text>\n+</g>\n+<g>\n+<g/>\n+<g>\n+<path d="M0,1000 L0,1010" fill="none" stroke="black" stroke-width="3"/>\n+<text dominant-baseline="central" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="20" stroke="none" text-anchor="start" transform="translate(0.0, 1015.0) rotate(90.0)">\n+0\n+</text>\n+<path d="M63.631073,1000 L63.631073,1010" fill="none" stroke="black" stroke-width="3"/>\n+<text dominant-baseline="central" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="20" stroke="none" text-anchor="start" transform="translate(63.63107415870811, 1015.0) rotate(90.0)">\n+500k\n+</text>\n+<path d="M127.262146,1000 L127.262146,1010" fill="none" stroke="black" stroke-width="3"/>\n+<text dominant-baseline="central" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="20" stroke="none" text-anchor="start" transform="translate(127.26214831741622, 1015.0) rotate(90.0)">\n+1M\n+</text>\n+<path d="M190.89322,1000 L190.89322,1010" fill="none" stroke="black" stroke-width="3"/>\n+<text dominant-baseline="central" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="20" stroke="none" text-anchor="start" transform="translate(190.89322247612432, 1015.0) rotate(90.0)">\n+1.5M\n+</text>\n+</g>\n+<line fill="none" stroke="black" stroke-linecap="round" stroke-width="3" x1="0" x2="250" y1="1000" y2="1000"/>\n+<text dominant-baseline="middle" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="25" stroke="none" text-anchor="middle" transform="translate(125.0, 1080.0) rotate(0.0)">\n+sum length\n+</text>\n+</g>\n+<g>\n+<g/>\n+<g/>\n+<line fill="none" stroke="black" stroke-linecap="round" stroke-width="3" x1="250" x2="250" y1="0" y2="1000"/>\n+<text dominant-baseline="middle" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="30" stroke="none" text-anchor="middle" transform="translate(320.0, 500.0) rotate(90.0)">\n+\n+</text>\n+</g>\n+<g>\n+<g/>\n+<g/>\n+<line fill="none" stroke="black" stroke-linecap="round" stroke-width="3" x1="0" x2="250" y1="0" y2="0"/>\n+<text dominant-baseline="middle" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="30" stroke="none" text-anchor="middle" transform="translate(125.0, -70.0) rotate(0.0)">\n+\n+</text>\n+</g>\n+</g>\n+</g>\n+<g transform="translate(1175, 10)">\n+<text/>\n+<g transform="translate(0, 0)">\n+<g>\n+<rect fill="#ffffff" height="26" opacity="0.95" stroke="none" width="241" x="-93" y="4"/>\n+</g>\n+<g>\n+<rect fill="#a6cee3" height="18" stroke="black" stroke-width="2" width="18" x="0" y="6"/>\n+</g>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="18" stroke="none" text-anchor="end" x="-8" y="22">\n+no-hit\n+</text>\n+<text dominant-baseline="bottom" fill="black" font-family="Roboto, Open sans, DejaVu Sans, Arial, sans-serif" font-size="16.2" stroke="none" text-anchor="start" x="26" y="20">\n+[6; 3.2M; 964k]\n+</text>\n+</g>\n+</g>\n+</svg>\n\\ No newline at end of file\n' |
b |
diff -r 53dd00a4ab68 -r 8c2167481e72 test-data/test02_blobdir.tar.gz |
b |
Binary file test-data/test02_blobdir.tar.gz has changed |