comparison macs2_bdgcmp.xml @ 5:beb902da6e5f draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
author iuc
date Sat, 08 Apr 2017 08:28:57 -0400
parents bfe57d6e0c4c
children acbd3fb47f90
comparison
equal deleted inserted replaced
4:56e104999978 5:beb902da6e5f
5 </macros> 5 </macros>
6 <expand macro="requirements" /> 6 <expand macro="requirements" />
7 <expand macro="stdio" /> 7 <expand macro="stdio" />
8 <expand macro="version_command" /> 8 <expand macro="version_command" />
9 <command> 9 <command>
10 <![CDATA[
10 macs2 bdgcmp 11 macs2 bdgcmp
11 -t "${ infile_treatment }" 12 -t '${ infile_treatment }'
12 -c "${ infile_control }" 13 -c '${ infile_control }'
13 14
14 -m "${ bdgcmp_options.bdgcmp_options_selector }" 15 -m '${ bdgcmp_options.bdgcmp_options_selector }'
15 #if str($bdgcmp_options.bdgcmp_options_selector) in ['FE', 'logFE', 'logLR']: 16 #if str($bdgcmp_options.bdgcmp_options_selector) in ['FE', 'logFE', 'logLR']:
16 -p "${ bdgcmp_options.pseudocount }" 17 -p '${ bdgcmp_options.pseudocount }'
17 #end if 18 #end if
18 -o "${ outfile }" 19 -o '${ outfile }'
19 20 ]]>
20 </command> 21 </command>
21 <inputs> 22 <inputs>
22 <param name="infile_treatment" type="data" format="bedgraph" label="Treatment bedGraph file" /> 23 <param name="infile_treatment" type="data" format="bedgraph" label="Treatment bedGraph file" />
23 <param name="infile_control" type="data" format="bedgraph" label="Control bedGraph file" /> 24 <param name="infile_control" type="data" format="bedgraph" label="Control bedGraph file" />
24 25
25 <conditional name="bdgcmp_options"> 26 <conditional name="bdgcmp_options">
26 <param name="bdgcmp_options_selector" type="select" label="Method to use while calculating a score in any bin by comparing treatment value and control value"> 27 <param name="bdgcmp_options_selector" type="select" label="Method to use while calculating a score in any bin by comparing treatment value and control value" help="Available choices are: ppois, qpois, subtract, logFE, logLR, and slogLR. They represent Poisson Pvalue (-log10(pvalue) form) using control as lambda and treatment as observation, q-value through a BH process for poisson pvalues, subtraction from treatment, linear scale fold enrichment, log10 fold enrichment(need to set pseudocount), log10 likelihood between ChIP-enriched model and open chromatin model(need to set pseudocount), symmetric log10 likelihood between two ChIP-enrichment models, or maximum value between the two tracks. Default=ppois (--method).">
27 <option value="ppois" selected="true">Poisson pvalue (-log10) using control as lambda and treatment as observation (ppois)</option> 28 <option value="ppois" selected="true">Poisson pvalue (-log10) using control as lambda and treatment as observation (ppois)</option>
28 <option value="qpois">q-value through a BH process for poisson pvalues (qpois)</option> 29 <option value="qpois">q-value through a BH process for poisson pvalues (qpois)</option>
29 <option value="subtract">subtraction from treatment (subtract)</option> 30 <option value="subtract">subtraction from treatment (subtract)</option>
30 <option value="logFE">log10 fold enrichment (logFE)</option> 31 <option value="logFE">log10 fold enrichment (logFE)</option>
31 <option value="FE">linear scale fold enrichment (FE)</option> 32 <option value="FE">linear scale fold enrichment (FE)</option>
32 <option value="logLR">log10 likelihood between ChIP-enriched model and open chromatin model (logLR)</option> 33 <option value="logLR">log10 likelihood between ChIP-enriched model and open chromatin model (logLR)</option>
33 <option value="slogLR">symmetric log10 likelihood between two ChIP-enrichment models (slogLR)</option> 34 <option value="slogLR">symmetric log10 likelihood between two ChIP-enrichment models (slogLR)</option>
34 </param> 35 </param>
35 <when value="FE"> 36 <when value="FE">
36 <param name="pseudocount" type="float" label="Set pseudocount" value="0.0" help="The count will be applied after normalization of sequencing depth. default: 0.0, no pseudocount is applied."/> 37 <param name="pseudocount" type="float" label="Set pseudocount" value="0.0" help="The count will be applied after normalization of sequencing depth. Default=0.0 (no pseudocount is applied)."/>
37 </when> 38 </when>
38 <when value="logLR"> 39 <when value="logLR">
39 <param name="pseudocount" type="float" label="Set pseudocount" value="0.0" help="The count will be applied after normalization of sequencing depth. default: 0.0, no pseudocount is applied."/> 40 <param name="pseudocount" type="float" label="Set pseudocount" value="0.0" help="The count will be applied after normalization of sequencing depth. Default=0.0 (no pseudocount is applied)."/>
40 </when> 41 </when>
41 <when value="logFE"> 42 <when value="logFE">
42 <param name="pseudocount" type="float" label="Set pseudocount" value="0.0" help="The count will be applied after normalization of sequencing depth. default: 0.0, no pseudocount is applied."/> 43 <param name="pseudocount" type="float" label="Set pseudocount" value="0.0" help="The count will be applied after normalization of sequencing depth. Default=0.0 (no pseudocount is applied)."/>
43 </when> 44 </when>
44 <when value="ppois"/> 45 <when value="ppois"/>
45 <when value="qpois"/> 46 <when value="qpois"/>
46 <when value="subtract"/> 47 <when value="subtract"/>
47 <when value="slogLR"/> 48 <when value="slogLR"/>
50 <outputs> 51 <outputs>
51 <data name="outfile" format="bedgraph" label="${tool.name} on ${on_string}" /> 52 <data name="outfile" format="bedgraph" label="${tool.name} on ${on_string}" />
52 </outputs> 53 </outputs>
53 <tests> 54 <tests>
54 <test> 55 <test>
55 <param name="infile_control" value="callpeak_control_part.bdg" ftype="bedgraph"/> 56 <param name="infile_control" value="bdgcmp_input_control.bdg" ftype="bedgraph"/>
56 <param name="infile_treatment" value="callpeak_treatment_part.bdg" ftype="bedgraph"/> 57 <param name="infile_treatment" value="bdgcmp_input_treatment.bdg" ftype="bedgraph"/>
57 <param name="bdgcmp_options_selector" value="slogLR"/> 58 <param name="bdgcmp_options_selector" value="ppois"/>
58 <output name="outfile" file="bdgcmp_on_Control_and_ChIP_slogLR.bdg"/> 59 <output name="outfile" file="bdgcmp_output.bdg"/>
59 </test> 60 </test>
60 </tests> 61 </tests>
61 <help> 62 <help>
63 <![CDATA[
62 **What it does** 64 **What it does**
63 65
64 With the improvement of sequencing techniques, chromatin immunoprecipitation followed by high throughput sequencing (ChIP-Seq) 66 This is **bdgcmp** utility from the MACS2_ Package. It is designed to deduct noise by comparing two signal tracks in bedGraph.
65 is getting popular to study genome-wide protein-DNA interactions. To address the lack of powerful ChIP-Seq analysis method, we present a novel algorithm, named Model-based Analysis of ChIP-Seq (MACS), for
66 identifying transcript factor binding sites. MACS captures the influence of genome complexity to evaluate the significance of enriched ChIP regions, and MACS improves the spatial resolution of
67 binding sites through combining the information of both sequencing tag position and orientation. MACS can be easily used for ChIP-Seq data alone, or with control sample with the increase of specificity.
68 67
69 View the original MACS2 documentation: https://github.com/taoliu/MACS/blob/master/README 68 .. _MACS2: https://github.com/taoliu/MACS
70
71 ------
72
73 **Usage**
74
75 **Compare .bdg files**: Deduct noise by comparing two signal tracks in bedGraph.
76
77 69
78 @citation@ 70 @citation@
71 ]]>
79 </help> 72 </help>
80 <expand macro="citations" /> 73 <expand macro="citations" />
81 </tool> 74 </tool>