comparison defuse_bamfastq.xml @ 0:63f23d5db27c draft

planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/defuse commit 2c2fd38cb761ec57bac7a0bd376e6aa2b88265d0-dirty
author jjohnson
date Mon, 20 May 2019 15:25:03 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:63f23d5db27c
1 <?xml version="1.0"?>
2 <tool id="defuse_bamfastq" name="Defuse BamFastq" version="@DEFUSE_VERSION@.1">
3 <description>converts a bam file to fastq files.</description>
4 <macros>
5 <import>macros.xml</import>
6 </macros>
7 <requirements>
8 <expand macro="defuse_requirement" />
9 </requirements>
10 <command detect_errors="default">bamfastq
11 #if $pair == True :
12 $pair
13 #end if
14 #if $multiple == True :
15 $multiple
16 #end if
17 #if $rename == True :
18 $rename
19 #end if
20 -b $bamfile
21 -1 $fastq1
22 -2 $fastq2
23 </command>
24 <inputs>
25 <param name="bamfile" type="data" format="bam" label="Bam file"/>
26 <param name="pair" type="boolean" truevalue="-p" falsevalue="" checked="true" label="Name contains pair info as /1 /2."/>
27 <param name="multiple" type="boolean" truevalue="-m" falsevalue="" checked="true" label="Bam contains multiple mappings per read."/>
28 <param name="rename" type="boolean" truevalue="-r" falsevalue="" checked="true" label="Rename with integer IDs."/>
29 </inputs>
30 <outputs>
31 <data format="fastqsanger" name="fastq1" label="fastq1" />
32 <data format="fastqsanger" name="fastq2" label="fastq2" />
33 </outputs>
34 <tests>
35 <test>
36 <param name="bamfile" ftype="bam" value="tophat_out2h.bam" />
37 <param name="pair" value="True" />
38 <param name="multiple" value="True" />
39 <param name="rename" value="True" />
40 <output name="fastq1">
41 <assert_contents>
42 <has_text text="@test_mRNA_36_146_27/1" />
43 <not_has_text text="@test_mRNA_36_146_27/2" />
44 <not_has_text text="test_mRNA_150_290_0" />
45 </assert_contents>
46 </output>
47 <output name="fastq2">
48 <assert_contents>
49 <has_text text="@test_mRNA_36_146_27/2" />
50 <not_has_text text="@test_mRNA_36_146_27/1" />
51 <not_has_text text="test_mRNA_150_290_0" />
52 </assert_contents>
53 </output>
54 </test>
55 </tests>
56 <help>
57 bamfastq converts a bam file input into a pair of fastq files that can be used as input to deFuse.
58 </help>
59 <expand macro="citations"/>
60 </tool>