comparison correctGCBias.xml @ 0:748076af9837 draft

planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
author bgruening
date Mon, 25 Jan 2016 20:23:49 -0500
parents
children 4930eb430843
comparison
equal deleted inserted replaced
-1:000000000000 0:748076af9837
1 <tool id="deeptools_correct_gc_bias" name="correctGCBias" version="@WRAPPER_VERSION@.0">
2 <description>uses the output from computeGCBias to generate GC-corrected BAM files</description>
3 <macros>
4 <token name="@BINARY@">correctGCBias</token>
5 <import>deepTools_macros.xml</import>
6 </macros>
7 <expand macro="requirements" />
8 <command>
9 <![CDATA[
10 ln -s "$bamInput" "local_bamInput.bam" &&
11 ln -s "$bamInput.metadata.bam_index" local_bamInput.bam.bai &&
12
13 @BINARY@
14 @THREADS@
15 --bamfile local_bamInput.bam
16 --GCbiasFrequenciesFile "$GCbiasFrequenciesFile"
17
18 @reference_genome_source@
19
20 #if $effectiveGenomeSize.effectiveGenomeSize_opt == "specific":
21 --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize
22 #else:
23 --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize_opt
24 #end if
25
26 #if str($region).strip() != '':
27 --region '$region'
28 #end if
29 --correctedFile corrected.bam
30 ]]>
31 </command>
32 <inputs>
33 <param argument="--GCbiasFrequenciesFile" type="data" format="tabular" label="Output of computeGCBias" help="" />
34 <param argument="--bamInput" format="bam" type="data"
35 label="BAM file" help="This should be same file that was used for computeGCbias. The BAM file must be sorted." />
36 <expand macro="reference_genome_source" />
37 <expand macro="effectiveGenomeSize" />
38 <expand macro="region_limit_operation" />
39 </inputs>
40 <outputs>
41 <data format="bam" from_work_dir="corrected.bam" name="outFileName" />
42 </outputs>
43 <tests>
44 <test>
45 <param name="GCbiasFrequenciesFile" value="computeGCBias_result1.tabular" ftype="tabular" />
46 <param name="bamInput" value="paired_chr2L.bam" ftype="bam" />
47 <param name="ref_source" value="history" />
48 <param name="input1" value="sequence.2bit" />
49 <param name="effectiveGenomeSize_opt" value="specific" />
50 <param name="effectiveGenomeSize" value="23011544" />
51 <output name="outFileName" file="correctGCBias_result1.bam" ftype="bam" />
52 </test>
53 </tests>
54 <help>
55 <![CDATA[
56 **What it does**
57
58 This tool requires the output from computeGCBias to correct a given BAM file according to the method proposed in
59 Benjamini and Speed (2012) Nucleic Acids Res.
60 The resulting BAM file can be used in any downstream analyses, but be aware that you should not filter out duplicates from here on.
61
62 You can find more details on the correctGCBias doc page: https://deeptools.readthedocs.org/en/master/content/tools/correctGCBias.html
63
64
65 **Output files**:
66
67 - GC-normalized BAM file
68
69 -----
70
71 @REFERENCES@
72 ]]>
73 </help>
74 <expand macro="citations" />
75 </tool>