comparison correctGCBias.xml @ 44:894ba1eba734

Uploaded
author bgruening
date Fri, 02 Aug 2013 12:39:14 -0400
parents
children ef436465bf16
comparison
equal deleted inserted replaced
43:975312d6c591 44:894ba1eba734
1 <tool id="correctGCBias" name="correctGCBias" version="1.0">
2 <description>
3 </description>
4 <command>
5 correctGCBias
6 --bamfile '$bamInput'
7 --species '$species'
8 --GCbiasFrequenciesFile $GCbiasFrequenciesFile
9
10 #if $source.ref_source=="history":
11 --genome $source.input1
12 #else:
13 --genome "${source.input1_2bit.fields.path}"
14 #end if
15
16 #if $advancedOpt.showAdvancedOpt == "yes":
17 #if str($advancedOpt.region.value) != '':
18 --region '$advancedOpt.region'
19 #end if
20
21 --binSize '$advancedOpt.binSize'
22 #end if
23
24 #set newoutFileName="corrected."+str($outFileFormat)
25
26 --correctedFile $newoutFileName; mv $newoutFileName $outFileName
27
28 </command>
29
30 <inputs>
31
32 <param name="GCbiasFrequenciesFile" type="data" format="tabular" label="Output of computeGCBias" />
33
34 <param name="bamInput" format="bam" type="data" label="Input BAM file" help="The BAM file must be sorted and indexed."/>
35
36 <param name="species" type="text" value="" label="Species name abbreviation" />
37
38 <conditional name="source">
39 <param name="ref_source" type="select" label="Reference genome">
40 <option value="cached">locally cached</option>
41 <option value="history">in your history</option>
42 </param>
43 <when value="cached">
44 <param name="input1_2bit" type="select" label="Using reference genome" help="If your genome of interest is not listed, contact your Galaxy team">
45 <options from_data_table="lastz_seqs" />
46 </param>
47 </when>
48 <when value="history">
49 <param name="input1" type="data" format="bam" label="Select a reference dataset in 2bit format" />
50 </when>
51 </conditional>
52
53 <param name="outFileFormat" type="select" label="File format of the output">
54 <option value="bam">bam</option>
55 <option value="bw">bigwig</option>
56 <option value="bg">bedgraph</option>
57 </param>
58
59 <conditional name="advancedOpt">
60 <param name="showAdvancedOpt" type="select" label="Show advanced options" >
61 <option value="no" selected="true">no</option>
62 <option value="yes">yes</option>
63 </param>
64 <when value="no" />
65 <when value="yes">
66 <param name="region" type="text" value=""
67 label="Region of the genome to limit the operation to"
68 help="This is useful when testing parameters to reduce the computing time. The format is chr:start:end, for example &quot;chr10&quot; or &quot;chr10:456700:891000&quot;" />
69
70 <param name="binSize" type="integer" value="50" min="1"
71 label="Bin size in bp"
72 help="Size of the bins in bp for the ouput of the bigwig/bedgraph file."/>
73 </when>
74 </conditional>
75 </inputs>
76
77 <outputs>
78 <data format="bam" name="outFileName">
79 <change_format>
80 <when input="outFileFormat" value="bw" format="bigwig" />
81 <when input="outFileFormat" value="bam" format="bam" />
82 <when input="outFileFormat" value="bg" format="bedgraph" />
83 </change_format>
84 </data>
85 </outputs>
86 <help>
87
88 **What it does**
89
90 Computes the GC bias ussing Benjamini's method [citation]. The resulting GC
91 bias can later be used to plot the bias or to correct the bias.
92
93 -----
94
95 .. class:: infomark
96
97 Please acknowledge that this tool **is still in development** and we will be very happy to receive feedback from the users. If you run into any trouble please sent an email to `Fidel Ramirez`_.
98
99 This tool is developed by the `Bioinformatics and Deep-Sequencing Unit`_ at the `Max Planck Institute for Immunobiology and Epigenetics`_.
100
101
102 .. _Bioinformatics and Deep-Sequencing Unit: http://www3.ie-freiburg.mpg.de/facilities/research-facilities/bioinformatics-and-deep-sequencing-unit/
103 .. _Max Planck Institute for Immunobiology and Epigenetics: http://www3.ie-freiburg.mpg.de
104 .. _Fidel Ramirez: ramirez@ie-freiburg.mpg.de
105
106 </help>
107
108 </tool>