Previous changeset 20:c1a4b5f3b432 (2021-03-02) Next changeset 22:9a913cdee30e (2021-11-03) |
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 230281ee52ab6fc5bf75bfca7cee0e9964057985" |
modified:
multiqc.xml |
added:
test-data/pycoqc.json |
b |
diff -r c1a4b5f3b432 -r 75c93c70d094 multiqc.xml --- a/multiqc.xml Tue Mar 02 08:02:36 2021 +0000 +++ b/multiqc.xml Tue Mar 02 21:08:49 2021 +0000 |
[ |
@@ -1,4 +1,4 @@ -<tool id="multiqc" name="MultiQC" version="@WRAPPER_VERSION@"> +<tool id="multiqc" name="MultiQC" version="@WRAPPER_VERSION@+galaxy1"> <description>aggregate results from bioinformatics analyses into a single report</description> <macros> <token name="@WRAPPER_VERSION@">1.9</token> @@ -12,7 +12,7 @@ #set $file_path += '_' + str($file_paths.count($file_path)) #end if #set $file_paths += [$file_path] -grep -q "$pattern" $file || die "Module '${repeat.software_cond.software}: '$pattern' not found in the file '$identifier'" && +grep -q '$pattern' $file || die "Module '${repeat.software_cond.software}: '$pattern' not found in the file '$identifier'" && ln -s '$file' '$file_path' && ]]></token> <token name="@CREATE_REPEAT_DIR_1@"> @@ -282,6 +282,9 @@ #elif str($repeat.software_cond.software) == "prokka" #set $pattern = "contigs:" @LN_FILES@ + #elif str($repeat.software_cond.software) == "pycoqc" + #set $pattern = "\"pycoqc\":" + @LN_FILES@ #elif str($repeat.software_cond.software) == "qualimap" #for $file in $repeat.software_cond.input #if re.search("genome_results", str($file.element_identifier)) @@ -570,6 +573,7 @@ <option value="picard">Picard</option> <!--<option value="preseq">Preseq</option>--> <option value="prokka">Prokka</option> + <option value="pycoqc">PycoQC</option> <!--<option value="qorts">QoRTs</option>--> <option value="qualimap">Qualimap (BamQC or RNASeq output)</option> <option value="quast">QUAST</option> @@ -702,6 +706,9 @@ <when value="prokka"> <param name="input" type="data" format="txt" multiple="true" label="Output of Prokka" help="It should contain 'contigs:'"/> </when> + <when value="pycoqc"> + <param name="input" type="data" format="txt,json" multiple="true" label="Output of PycoQC"/> + </when> <when value="qualimap"> <param name="input" type="data" format="txt,tabular,tsv" multiple="true" label="Output of Qualimap BamQC" help="First result input should be genome_coverage (default from tool output). Run the Flatten Collection tool to keep all output in one report" /> </when> @@ -1320,6 +1327,28 @@ <element name="fastqc_per_base_sequence_quality_plot_1" file="mqc_fastqc_per_base_sequence_quality_plot_1.txt" compare="sim_size" delta="10"/> </output_collection> </test> + <test expect_num_outputs="2"> + <repeat name="results"> + <conditional name="software_cond"> + <param name="software" value="pycoqc" /> + <param name="input" value="pycoqc.json"/> + </conditional> + </repeat> + <param name="title" value="Title of the report"/> + <param name="comment" value="Commment for the report"/> + <!-- <param name="flat" value="true"/> --> + <output name="html_report"> + <assert_contents> + <has_text text="Title of the report" /> + <has_text text="Commment for the report" /> + <has_text text="General Statistics" /> + <has_text text="pycoqc_count_plot" /> + <has_text text="pycoqc_read_len_plot" /> + <has_text text="pycoqc_read_qual_plot" /> + </assert_contents> + </output> + <output_collection name="stats" type="list" count="2"/> + </test> </tests> <help><![CDATA[ **What it does** |
b |
diff -r c1a4b5f3b432 -r 75c93c70d094 test-data/pycoqc.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/pycoqc.json Tue Mar 02 21:08:49 2021 +0000 |
[ |
b'@@ -0,0 +1,1260 @@\n+{\n+ "pycoqc": {\n+ "version": "2.5.2",\n+ "date": "02/03/21"\n+ },\n+ "All Reads": {\n+ "run": {\n+ "run_duration": 0.07199815538194444,\n+ "active_channels": 375,\n+ "runid_number": 1,\n+ "barcodes_number": 0\n+ },\n+ "basecall": {\n+ "reads_number": 1000,\n+ "bases_number": 3233722,\n+ "N50": 7421,\n+ "len_percentiles": [\n+ 5.0,\n+ 196.89,\n+ 225.82000000000002,\n+ 239.97,\n+ 257.96000000000004,\n+ 273.0,\n+ 281.94,\n+ 297.86,\n+ 305.0,\n+ 317.82,\n+ 327.9,\n+ 336.0,\n+ 342.88,\n+ 350.87,\n+ 362.86,\n+ 370.84999999999997,\n+ 379.68,\n+ 385.0,\n+ 395.0,\n+ 406.81,\n+ 422.40000000000003,\n+ 435.58,\n+ 447.0,\n+ 459.31000000000006,\n+ 475.0,\n+ 491.5,\n+ 509.74,\n+ 520.6500000000001,\n+ 541.0,\n+ 557.0,\n+ 582.7,\n+ 603.8299999999999,\n+ 625.72,\n+ 661.3600000000001,\n+ 688.6600000000001,\n+ 703.6500000000001,\n+ 727.0,\n+ 759.52,\n+ 789.86,\n+ 843.83,\n+ 870.8000000000001,\n+ 906.1300000000002,\n+ 939.3199999999999,\n+ 974.71,\n+ 1019.56,\n+ 1050.3,\n+ 1097.3200000000002,\n+ 1147.4800000000005,\n+ 1197.12,\n+ 1240.02,\n+ 1292.5,\n+ 1364.49,\n+ 1419.4,\n+ 1479.3500000000001,\n+ 1509.46,\n+ 1549.45,\n+ 1603.800000000001,\n+ 1690.1500000000003,\n+ 1780.6199999999994,\n+ 1862.0999999999997,\n+ 1944.8,\n+ 2013.8999999999999,\n+ 2113.0,\n+ 2167.2200000000003,\n+ 2282.4800000000005,\n+ 2389.2000000000003,\n+ 2502.0600000000004,\n+ 2604.2900000000004,\n+ 2722.5200000000004,\n+ 2894.62,\n+ 2984.3000000000006,\n+ 3103.58,\n+ 3280.08,\n+ 3553.0499999999997,\n+ 3663.56,\n+ 3842.25,\n+ 4041.2,\n+ 4228.960000000001,\n+ 4498.4400000000005,\n+ 4850.42,\n+ 4874.0,\n+ 4918.1900000000005,\n+ 4949.800000000001,\n+ 5078.700000000001,\n+ 5421.599999999999,\n+ 5615.249999999999,\n+ 6032.899999999998,\n+ 6540.2,\n+ 7015.48,\n+ 7310.22,\n+ 8010.3,\n+ 9004.53,\n+ 9645.08,\n+ 10920.21,\n+ 11849.000000000013,\n+ 12462.050000000007,\n+ 12839.880000000001,\n+ 13407.479999999996,\n+ 18027.78,\n+ 27456.589999999982,\n+ 63182.0\n+ ],\n+ "qual_score_percentiles": [\n+ 1.0,\n+ 1.9042248058319091,\n+ 3.7342360925674436,\n+ 4.2765934896469116,\n+ 4.662521381378173,\n+ 5.039691400527953,\n+ 5.537737865447998,\n+ 6.137966737747192,\n+ 7.193753776550293,\n+ 7.567598361968994,\n+ 8.053880548477172,\n+ 8.30654149055481,\n+ 8.56398983001709,\n+ 8.716497030258179,\n+ 8.850732097625732,\n+ 8.98436131477356,\n+ 9.194853210449219,\n+ 9.363082151412964,\n+ 9.537731952667237,\n+ 9.686720247268676,\n+ 9.79648895263672,\n+ 9.878579769134522,\n+ 9.934941310882568,\n+ 10.016808042526245,\n+ 10.08527530670166,\n+ 10.16098928451538,\n+ 10.214599704742431,\n+ 10.29961688041687,\n+ 10.350638275146485,\n+ 10.399478530883789,\n+ 10.449283027648924,\n+ 10.54677218437195,\n+ 10.594075813293458,\n+ 10.649061031341553,\n+ 10.690234031677246,\n+ 10.741025161743163,\n+ 10.770295219421387,\n+ 10.800744934082031,\n+ 10.84002004623413,\n+ 10.870865812301634,\n+ 10.918336296081543,\n+ 10.968367967605591,\n+ 11.028993320465087,\n+ 11.071406173706055,\n+ 11.12955696105957,\n+ 11.168383646011353,\n+ 11.193472747802733,\n+ 11.232793817520143,\n+ '..b'8.983703353188254,\n+ 9.060279976237904,\n+ 9.136856599287553,\n+ 9.213433222337203,\n+ 9.290009845386852,\n+ 9.366586468436502,\n+ 9.44316309148615,\n+ 9.519739714535799,\n+ 9.59631633758545,\n+ 9.6728929606351,\n+ 9.749469583684748,\n+ 9.826046206734397,\n+ 9.902622829784047,\n+ 9.979199452833695,\n+ 10.055776075883346,\n+ 10.132352698932994,\n+ 10.208929321982644,\n+ 10.285505945032293,\n+ 10.362082568081942,\n+ 10.438659191131592,\n+ 10.515235814181242,\n+ 10.59181243723089,\n+ 10.66838906028054,\n+ 10.74496568333019,\n+ 10.821542306379838,\n+ 10.898118929429488,\n+ 10.974695552479137,\n+ 11.051272175528787,\n+ 11.127848798578436,\n+ 11.204425421628084,\n+ 11.281002044677734,\n+ 11.357578667727385,\n+ 11.434155290777033,\n+ 11.510731913826682,\n+ 11.587308536876332,\n+ 11.66388515992598,\n+ 11.740461782975629,\n+ 11.81703840602528,\n+ 11.89361502907493,\n+ 11.970191652124578,\n+ 12.046768275174227,\n+ 12.123344898223877,\n+ 12.199921521273527,\n+ 12.276498144323176,\n+ 12.353074767372824,\n+ 12.429651390422475,\n+ 12.506228013472123,\n+ 12.582804636521772,\n+ 12.659381259571422,\n+ 12.735957882621072,\n+ 12.81253450567072,\n+ 12.88911112872037,\n+ 12.96568775177002,\n+ 13.04226437481967,\n+ 13.118840997869318,\n+ 13.195417620918967,\n+ 13.271994243968617,\n+ 13.348570867018266,\n+ 13.425147490067914,\n+ 13.501724113117564,\n+ 13.578300736167215,\n+ 13.654877359216863,\n+ 13.731453982266512,\n+ 13.808030605316162,\n+ 13.884607228365812,\n+ 13.961183851415461,\n+ 14.03776047446511,\n+ 14.11433709751476,\n+ 14.190913720564408,\n+ 14.267490343614057,\n+ 14.344066966663707,\n+ 14.420643589713357,\n+ 14.497220212763006,\n+ 14.573796835812654,\n+ 14.650373458862305\n+ ],\n+ "y": [\n+ 1.0,\n+ 1.0,\n+ 2.0,\n+ 1.0,\n+ 1.0,\n+ 1.0,\n+ 1.0,\n+ 1.0,\n+ 1.0,\n+ 1.0,\n+ 1.0,\n+ 2.0,\n+ 2.0,\n+ 2.0,\n+ 2.0,\n+ 2.0,\n+ 2.0,\n+ 3.0,\n+ 3.0,\n+ 4.0,\n+ 4.0,\n+ 5.0,\n+ 5.0,\n+ 5.0,\n+ 5.0,\n+ 4.0,\n+ 4.0,\n+ 4.0,\n+ 4.0,\n+ 4.0,\n+ 4.0,\n+ 4.0,\n+ 5.0,\n+ 6.0,\n+ 7.0,\n+ 8.0,\n+ 9.0,\n+ 9.0,\n+ 10.0,\n+ 10.0,\n+ 11.0,\n+ 12.0,\n+ 12.0,\n+ 12.0,\n+ 13.0,\n+ 14.0,\n+ 15.0,\n+ 17.0,\n+ 18.0,\n+ 18.0,\n+ 17.0,\n+ 17.0,\n+ 18.0,\n+ 18.0,\n+ 19.0,\n+ 19.0,\n+ 20.0,\n+ 21.0,\n+ 22.0,\n+ 22.0,\n+ 22.0,\n+ 22.0,\n+ 21.0,\n+ 21.0,\n+ 21.0,\n+ 20.0,\n+ 20.0,\n+ 20.0,\n+ 19.0,\n+ 18.0,\n+ 18.0,\n+ 17.0,\n+ 17.0,\n+ 16.0,\n+ 16.0,\n+ 15.0,\n+ 14.0,\n+ 13.0,\n+ 12.0,\n+ 11.0,\n+ 9.0,\n+ 8.0,\n+ 6.0,\n+ 5.0,\n+ 4.0,\n+ 3.0,\n+ 2.0,\n+ 1.0,\n+ 1.0,\n+ 1.0,\n+ 0.0,\n+ 0.0,\n+ 0.0,\n+ 0.0,\n+ 0.0,\n+ 0.0,\n+ 0.0,\n+ 0.0,\n+ 0.0\n+ ]\n+ }\n+ }\n+ }\n+}\n\\ No newline at end of file\n' |