comparison macs2_bdgpeakcall.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
1 <tool id="macs2_bdgpeakcall" name="MACS2 bdgpeakcall" version="@VERSION_STRING@.0"> 1 <tool id="macs2_bdgpeakcall" name="MACS2 bdgpeakcall" version="@VERSION_STRING@.0">
2 <description>Call peaks from bedGraph output</description> 2 <description>Call peaks from bedGraph output</description>
3 <macros> 3 <macros>
4 <import>macs2_macros.xml</import> 4 <import>macs2_macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements"> 6 <expand macro="requirements"/>
7 <requirement type="package" version="4.1.0">gnu_awk</requirement>
8 </expand>
9 <expand macro="stdio" /> 7 <expand macro="stdio" />
10 <expand macro="version_command" /> 8 <expand macro="version_command" />
11 <command> 9 <command>
10 <![CDATA[
11
12 macs2 bdgpeakcall 12 macs2 bdgpeakcall
13 --ifile "${ infile }" 13 --ifile '${ infile }'
14 --cutoff "${ cutoff }" 14 --cutoff '${ cutoff }'
15 --min-length "${ minlen }" 15 --min-length '${ minlen }'
16 --max-gap "${ maxgap }" 16 --max-gap '${ maxgap }'
17 ${ callsummits } 17 ${ cutoff_analysis }
18 ${ notrackline } 18 ${ notrackline }
19 --ofile "macs2_bdgpeakcall.bdg" 19 --ofile '${ outfile }'
20 &amp;&amp; 20
21 awk '!/^track name/' "macs2_bdgpeakcall.bdg" > "${ outfile }" 21 ]]>
22 </command> 22 </command>
23 <inputs> 23 <inputs>
24 <param name="infile" type="data" format="bedgraph" label="MACS score in bedGraph" /> 24 <param name="infile" type="data" format="bedgraph" label="MACS score in bedGraph" />
25
26 <param name="cutoff" type="float" label="Cutoff for peaks" value="5.0" 25 <param name="cutoff" type="float" label="Cutoff for peaks" value="5.0"
27 help="Cutoff depends on which method you used for score track. If the file contains pvalue scores from MACS2, score 5 means pvalue 1e-5. DEFAULT: 5.0 (--cutoff)"/> 26 help="Cutoff depends on which method you used for score track. If the file contains pvalue scores from MACS2, score 5 means pvalue 1e-5. Default=5.0 (--cutoff)"/>
28 <param name="minlen" type="integer" value="200" label="Minimum length of peak" help="better to set it as d value (--min-length)"/> 27 <param name="minlen" type="integer" value="200" label="Minimum length of peak" help="better to set it as d value. Default=200 (--min-length)"/>
29 <param name="maxgap" type="integer" value="30" label="Maximum gap between significant points in a peak" help="better to set it as tag size DEFAULT: 30 (--max-gap)"/> 28 <param name="maxgap" type="integer" value="30" label="Maximum gap between significant points in a peak" help="better to set it as tag size Default=30 (--max-gap)"/>
30 29 <param name="cutoff_analysis" type="boolean" truevalue="--cutoff-analysis" falsevalue="" checked="False" label="Perform cutoff analysis" help="While set, bdgpeakcall will analyze number or total length of peaks that can be called by different cutoff then output a summary table to help user decide a better cutoff. Note, --min-len and --max-gap may affect the results. Default=False (--cutoff-analysis)"/>
31 <param name="callsummits" type="boolean" truevalue="--call-summits" falsevalue="" checked="False" 30 <param name="notrackline" type="boolean" truevalue="" falsevalue="--no-trackline" checked="False" label="Include trackline into bedGraph output" help="required by UCSC Genome Browser (--no-trackline)"/>
32 label="If set, MACS will use a more sophisticated approach to find all summits in each enriched peak region."
33 help="(-call-summits)"/>
34 <param name="notrackline" type="boolean" truevalue="" falsevalue="--no-trackline" checked="False"
35 label="Include trackline into bedGraph output"
36 help="required by USCS (--no-trackline)"/>
37 </inputs> 31 </inputs>
38 <outputs> 32 <outputs>
39 <data name="outfile" format="tabular" label="${tool.name} on ${on_string}" /> 33 <data name="outfile" format="bedgraph" label="${tool.name} on ${on_string}" />
40 </outputs> 34 </outputs>
41 <tests> 35 <tests>
42 <test> 36 <test>
43 <param name="infile" value="callpeak_treatment_part.bdg" ftype="bedgraph" /> 37 <param name="infile" value="bdgpeakcall_input.bdg" ftype="bedgraph" />
44 <param name="cutoff" value="5.0"/> 38 <param name="cutoff" value="5.0"/>
45 <param name="minlen" value="200"/> 39 <param name="minlen" value="200"/>
46 <param name="maxgap" value="30"/> 40 <param name="maxgap" value="30"/>
47 <output name="outfile" file="bdgpeakcall_on_callpeak_treatment.tabular"/> 41 <output name="outfile">
42 <assert_contents>
43 <has_text text="chrV" />
44 </assert_contents>
45 </output>
46 </test>
47 <test>
48 <param name="infile" value="bdgpeakcall_input.bdg" ftype="bedgraph" />
49 <param name="cutoff" value="5.0"/>
50 <param name="minlen" value="200"/>
51 <param name="maxgap" value="30"/>
52 <param name="cutoff_analysis" value="true" />
53 <output name="outfile" file="bdgpeakcall_output_cutoff.bdg"/>
48 </test> 54 </test>
49 </tests> 55 </tests>
50 <help> 56 <help>
57 <![CDATA[
51 **What it does** 58 **What it does**
52 59
53 Call peaks from bedGraph output. 60 This is **bdgpeakcall** utility from the MACS2_ Package. It calls peaks from bedGraph output.
54 bdgpeakcall from macs2 61
62 .. _MACS2: https://github.com/taoliu/MACS
55 63
56 64
57 @citation@ 65 @citation@
66 ]]>
58 </help> 67 </help>
59 <expand macro="citations" /> 68 <expand macro="citations" />
60 </tool> 69 </tool>