Mercurial > repos > bgruening > deeptools
annotate correctGCBias.xml @ 65:9bee2c86eeb1 draft
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit ab1ab06323702186cf0c883d5774720cbb822cb5-dirty
author | iuc |
---|---|
date | Mon, 25 May 2015 05:16:10 -0400 |
parents | f3140d17939e |
children | 1dbd76a58d8b |
rev | line source |
---|---|
61 | 1 <tool id="deeptools_correctGCBias" name="correctGCBias" version="@WRAPPER_VERSION@.0"> |
2 <description>uses the output from computeGCBias to generate corrected BAM files</description> | |
3 <macros> | |
4 <token name="@BINARY@">correctGCBias</token> | |
5 <import>deepTools_macros.xml</import> | |
6 </macros> | |
65
9bee2c86eeb1
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit ab1ab06323702186cf0c883d5774720cbb822cb5-dirty
iuc
parents:
61
diff
changeset
|
7 <expand macro="requirements" /> |
61 | 8 <command> |
9 <![CDATA[ | |
10 ln -s $bamInput local_bamInput.bam; | |
11 ln -s $bamInput.metadata.bam_index local_bamInput.bam.bai; | |
12 | |
13 correctGCBias | |
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 $outFileName | |
30 ]]> | |
31 </command> | |
32 <inputs> | |
33 <param name="GCbiasFrequenciesFile" type="data" format="tabular" label="Output of computeGCBias" /> | |
34 <param name="bamInput" format="bam" type="data" | |
65
9bee2c86eeb1
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit ab1ab06323702186cf0c883d5774720cbb822cb5-dirty
iuc
parents:
61
diff
changeset
|
35 label="BAM file" help="This should be same file that was used for computeGCbias. The BAM file must be sorted. (--bamfile)" /> |
61 | 36 <expand macro="reference_genome_source" /> |
37 <expand macro="effectiveGenomeSize" /> | |
38 <expand macro="region_limit_operation" /> | |
39 </inputs> | |
40 <outputs> | |
41 <data format="bam" name="outFileName" /> | |
42 </outputs> | |
43 <tests> | |
44 <test> | |
45 <param name="GCbiasFrequenciesFile" value="computeGCBias_result1.tabular" ftype="tabular" /> | |
46 <param name="bamInput" value="phiX.bam" ftype="bam" /> | |
47 <param name="ref_source" value="history" /> | |
48 <param name="input1" value="phiX.2bit" /> | |
49 <param name="effectiveGenomeSize_opt" value="specific" /> | |
50 <param name="effectiveGenomeSize" value="5386" /> | |
51 <output name="outFileName" file="correctGCBias_result1.bam" ftype="bam" compare="sim_size" /> | |
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 by | |
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 wiki page: https://github.com/fidelram/deepTools/wiki/QC#wiki-correctGCbias | |
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> |