annotate bamPEFragmentSize.xml @ 30:5231f398d784 draft

planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
author bgruening
date Tue, 20 Oct 2015 14:43:12 -0400
parents 3a2aab18a217
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
1 <tool id="deeptools_bamPEFragmentSize" name="bamPEFragmentSize" version="@WRAPPER_VERSION@.0">
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
2 <description>Given a BAM file it samples several regions to estimate the paired-end fragment length</description>
29
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
3 <macros>
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
4 <token name="@BINARY@">bamPEFragmentSize</token>
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
5 <import>deepTools_macros.xml</import>
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
6 </macros>
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
7 <expand macro="requirements" />
29
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
8 <command>
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
9 <![CDATA[
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
10 bamPEFragmentSize
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
11 @THREADS@
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
12 -bai ${bamInput.metadata.bam_index}
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
13 #if $histogram:
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
14 --histogram ./hist.png
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
15 #end if
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
16 '$bamInput'
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
17 > $outfile
29
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
18 ]]>
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
19 </command>
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
20 <inputs>
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
21 <param name="bamInput" format="bam" type="data" label="BAM file"
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
22 help="The BAM file must be sorted."/>
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
23 <param name="histogram" type="boolean" truevalue="--histogram" falsevalue=""
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
24 label="Get the distribion of fragment length as histogram"
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
25 help="(--histogram)"/>
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
26 </inputs>
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
27 <outputs>
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
28 <data name="outfile" format="txt"/>
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
29 <data name="histogram_outfile" from_work_dir="hist.png" format="png">
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
30 <filter>histogram is True</filter>
29
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
31 </data>
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
32 </outputs>
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
33 <tests>
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
34 <test>
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
35 <param name="bamInput" value="bowtie2-test1.bam" ftype="bam" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
36 <param name="histogram" value="True" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
37 <output name="outfile" file="bamPEFragmentSize_result1.txt" ftype="txt" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
38 <output name="histogram_outfile" file="bamPEFragmentSize_histogram_result1.png" ftype="png" compare="sim_size" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
39 </test>
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
40 </tests>
29
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
41 <help>
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
42 <![CDATA[
29
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
43 **What it does**
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
44
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
45 Given a BAM file it samples several regions to estimate the paird-end fragment length.
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
46
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
47 -----
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
48
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
49 @REFERENCES@
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
50 ]]>
29
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
51 </help>
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
52 <expand macro="citations" />
3a2aab18a217 Uploaded
bgruening
parents:
diff changeset
53 </tool>