diff add_matesequence.xml @ 3:cb9036583afe draft

planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
author mvdbeek
date Tue, 21 Feb 2017 04:39:31 -0500
parents
children 7625c594bc37
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/add_matesequence.xml	Tue Feb 21 04:39:31 2017 -0500
@@ -0,0 +1,45 @@
+<tool id="add_matesequence" name="Add matesequence" version="0.2.0">
+    <description>into tag field</description>
+    <requirements>
+        <requirement type="package" version="0.2.0">readtagger</requirement>
+    </requirements>
+    <version_command>add_matesequence --version</version_command>
+    <command detect_errors="aggressive"><![CDATA[
+        add_matesequence --file_to_annotate '$file_to_annotate' --annotate_source '$annotate_source' --output_path '$output'
+    ]]></command>
+    <inputs>
+        <param name="file_to_annotate" argument="--file_to_annotate" label="Annotate reads in this file with their mate sequence" type="data" format="bam"/>
+        <param name="annotate_source" argument="--annotate_source" label="Use this file to find the mate sequence (can be same file as file_to_annotate)" type="data" format="bam"/>
+        <param name="mate_sequence_tag" type="text" value="MS"/>
+    </inputs>
+    <outputs>
+        <data name="output" format="bam" label="Add matesequence on $on_string"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="file_to_annotate" value="dm6.bam" ftype="bam"/>
+            <param name="annotate_source" value="dm6.bam" ftype="bam"/>
+            <output name="output" file="dm6_mate_annotated.bam" ftype="bam" lines_diff="2"/>
+        </test>
+    </tests>
+    <help><![CDATA[
+.. code-block::
+
+    usage: add_matesequence [-h] -a FILE_TO_ANNOTATE -s ANNOTATE_SOURE -o
+                            OUTPUT_PATH [--version]
+
+    Annotate reads with Mate Sequence in tag field
+
+    optional arguments:
+      -h, --help            show this help message and exit
+      -a FILE_TO_ANNOTATE, --file_to_annotate FILE_TO_ANNOTATE
+                            Annotate reads in this file with their mate sequence
+      -s ANNOTATE_SOURE, --annotate_soure ANNOTATE_SOURE
+                            Use this file to find the mate sequence (can be same
+                            file as file_to_annotate)
+      -o OUTPUT_PATH, --output_path OUTPUT_PATH
+                            Write resulting BAM file to this path
+      --version             show program's version number and exit
+
+    ]]></help>
+</tool>