comparison graph_coverage_multi_png.xml @ 1:7bcef9bf4f18 draft default tip

Uploaded wrapper
author p.lucas
date Thu, 13 Jun 2024 08:32:27 +0000
parents
children
comparison
equal deleted inserted replaced
0:5558479694c7 1:7bcef9bf4f18
1 <tool id="get_cov_graph" name="get graph of coverage depth" version="1.16">
2 <description>
3 From coverage file (after samtools depth with "-a -d 0" option), get graph for each reference used in the alignment.
4 </description>
5 <requirements>
6 <requirement type="package" version="4.1">r</requirement>
7 <requirement type="package" version="0.8.9">r-reshape</requirement>
8 <requirement type="package" version="3.3.6">r-ggplot2</requirement>
9 <requirement type="package" version="1.4.1">r-stringr</requirement>
10 <requirement type="package" version="2.3">r-gridextra</requirement>
11 </requirements>
12 <stdio>
13 <exit_code range="1:" />
14 </stdio>
15 <command><![CDATA[
16 mkdir -p graph_cov;
17 Rscript '$__tool_directory__/graph_coverage_multi_png.R' "$depth_file" graph_cov/coverage_graph.png
18 ]]></command>
19 <inputs>
20 <param name="depth_file" type="data" format="tabular" label="Depth file" help="Output from samtools depth command"/>
21 </inputs>
22 <outputs>
23 <collection name="output" type="list" label="Unknown number of graph files" >
24 <discover_datasets pattern="__designation_and_ext__" directory="graph_cov" ext="png"/>
25 </collection>
26 </outputs>
27 <help>
28 <![CDATA[
29
30 Homemade script to get one coverage graphe by reference of alignment.
31 If you have more than 8 reference in reference file, others files will be created.
32 ]]>
33 </help>
34 </tool>