diff bamToFastq.xml @ 6:75d323631dce draft

Uploaded
author bernhardlutz
date Wed, 18 Jun 2014 12:40:28 -0400
parents
children c782e0edc4f1
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bamToFastq.xml	Wed Jun 18 12:40:28 2014 -0400
@@ -0,0 +1,32 @@
+<tool id="bedtools_bamtofastq" name="Convert from BAM to FastQ" version="0.2.0">
+    <description></description>
+    <macros>
+        <import>macros.xml</import>
+    </macros>
+    <expand macro="requirements" />
+    <expand macro="stdio" />
+    <command>
+        bedtools bamtofastq 
+        $tags
+        $fq2
+        -i '$input'
+        -fq '$output'
+    </command>
+    <inputs>
+        <param format="bam" name="input" type="data" label="Convert the following BAM file to FASTQ"/>
+        <param name="tags" type="boolean" truevalue="-tags" falsevalue="" selected="False" label="Create FASTQ based on the mate info in the BAM R2 and Q2 tags."/>
+        <param name="fq2" type="boolean" truevalue="-fq2" falsevalue="" selected="False" label="ASTQ for second end. Used if BAM contains paired-end data. BAM should be sorted by query name if creating paired FASTQ with this option."/>
+    </inputs>
+    <outputs>
+        <data format="fastq" name="output" metadata_source="input" label="${input.name} (as FASTQ)"/>
+    </outputs>
+<help>
+
+**What it does**
+
+bedtools bamtofastq is a conversion utility for extracting FASTQ records from sequence alignments in BAM format.
+
+@REFERENCES@
+
+    </help>
+</tool>