diff alevinQC_galaxy/alevinQC_galaxy.xml @ 0:5f0da20666fa draft default tip

Uploaded
author fwuennemann
date Thu, 01 Apr 2021 00:55:48 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/alevinQC_galaxy/alevinQC_galaxy.xml	Thu Apr 01 00:55:48 2021 +0000
@@ -0,0 +1,58 @@
+<tool id="alevinQC" name="AlevinQC" version="0.1.0">
+  <description>produces quality control reports for salmon-alevin runs.</description>
+  <requirements>
+    <requirement type="package" version="1.6.0">bioconductor-alevinqc</requirement>
+  </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+         mkdir ./alevin
+         && ln -sf '$input_feature_dump' "featureDump.txt"
+         && ln -sf '$input_rawcbfreq' "raw_cb_frequency.txt"
+         && mv "featureDump.txt" "raw_cb_frequency.txt" ./alevin
+         && mkdir ./aux_info
+         && ln -sf '$input_alevin_meta' "alevin_meta_info.json"
+         && ln -sf '$input_meta' "meta_info.json"
+         && mv "alevin_meta_info.json" "meta_info.json" ./aux_info
+         && ln -sf '$input_cmd_info' "cmd_info.json"
+         && Rscript --version
+         && Rscript '$__tool_directory__/run_alevinQC.R'
+    ]]></command>
+    <inputs>
+      <param name="input_feature_dump" type="data" format="txt" help="The featureDump.txt from alevin output."/>
+      <param name="input_rawcbfreq" type="data" format="txt" help="The raw_cb_frequency.txt from alevin output."/>
+      <param name="input_meta" type="data" format="txt" help="The meta_info.json from alevin output."/>
+      <param name="input_alevin_meta" type="data" format="txt" help="The alevin_meta_info.json from alevin output."/>
+      <param name="input_cmd_info" type="data" format="txt" help="The cmd_info.json from alevin output."/>
+    </inputs>
+    <outputs>
+      <data name="alevin_kneeplot" label="alevin_kneeplot.pdf" format="pdf" from_work_dir="alevin_kneeplot.pdf"/>
+      <data name="alevin_barodeFrequency_quant" label="alevin_barodeFrequency_quant.pdf" format="pdf" from_work_dir="alevin_barodeFrequency_quant.pdf"/>
+      <data name="summaryTable" label="summaryTable.tab" format="txt" from_work_dir="summaryTable.tab"/>
+    </outputs>
+    <tests>
+        <test>
+          <param name="input_feature_dump" value="featureDump.txt"/>
+          <param name="input_rawcbfreq" value="raw_cb_frequency.txt"/>
+          <param name="input_alevin_meta" value="alevin_meta_info.json"/>
+          <param name="input_meta" value="meta_info.json"/>
+          <param name="input_cmd_info" value="cmd_info.json"/>
+          <output name="alevin_kneeplot" value="alevin_kneeplot.pdf"/>
+          <output name="alevin_barodeFrequency_quant" value="alevin_barodeFrequency_quant.pdf"/>
+          <output name="summaryTable" value="summaryTable.tab"/>
+        </test>
+    </tests>
+    <help><![CDATA[
+      This is a galaxy wrapper for the AlevinQC bioconductor package to produce quality control plots, such as knee plots for salmon alevin runs. This tool has been tested with upstream use of the galaxy implementation for alevin by bgruening:
+      'Salmon alevin galaxy tool<https://github.com/bgruening/galaxytools/tree/master/tools/salmon>'.
+
+      To use this tool with your salmon alevin runs, please select the dumpFeatures option.
+
+      The AlevinQC package is developed by Charlotte Soneson and Avi Srivastava.
+
+      Visit `AlevinQC_Github <https://csoneson.github.io/alevinQC/index.html>`__ page
+
+      Visit `AlevinQC_Bioconductor <http://www.bioconductor.org/packages/release/bioc/html/alevinQC.html>`__ page
+    ]]></help>
+    <citations>
+        <citation type="doi">10.18129/B9.bioc.alevinQC</citation>
+    </citations>
+</tool>