annotate macs2_predictd.xml @ 0:fe62ba547975 draft

Uploaded
author iuc
date Wed, 11 Feb 2015 10:18:02 -0500
parents
children bfe57d6e0c4c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
1 <tool id="macs2_predictd" name="MACS2 predictd" version="@VERSION_STRING@.0">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
2 <description>Predict 'd' or fragment size from alignment results</description>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
3 <expand macro="requirements">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
4 <requirement type="package" version="3.0.1">R_3_0_1</requirement>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
5 <requirement type="package" version="4.1.0">gnu_awk</requirement>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
6 </expand>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
7 <expand macro="version_command" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
8 <macros>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
9 <import>macs2_macros.xml</import>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
10 </macros>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
11 <command>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
12 macs2 predictd
fe62ba547975 Uploaded
iuc
parents:
diff changeset
13 -i ${ ' '.join( map( lambda x:'"%s"' % ( x ), $infiles ) ) }
fe62ba547975 Uploaded
iuc
parents:
diff changeset
14 @tag_size@
fe62ba547975 Uploaded
iuc
parents:
diff changeset
15 @effective_genome_size@
fe62ba547975 Uploaded
iuc
parents:
diff changeset
16 --bw "${ band_width }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
17 --mfold "${ mfoldlo }" "${ mfoldhi }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
18
fe62ba547975 Uploaded
iuc
parents:
diff changeset
19 ## remove the timepoint and strip the output
fe62ba547975 Uploaded
iuc
parents:
diff changeset
20 2>&amp;1 | awk -F: '{print $4}' | awk '{$1=$1}1'
fe62ba547975 Uploaded
iuc
parents:
diff changeset
21
fe62ba547975 Uploaded
iuc
parents:
diff changeset
22 &gt; "${ outfile }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
23
fe62ba547975 Uploaded
iuc
parents:
diff changeset
24 &amp;&amp;
fe62ba547975 Uploaded
iuc
parents:
diff changeset
25
fe62ba547975 Uploaded
iuc
parents:
diff changeset
26 Rscript predictd
fe62ba547975 Uploaded
iuc
parents:
diff changeset
27 </command>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
28 <expand macro="stdio" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
29 <inputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
30 <param name="infiles" type="data" format="bam,sam,bed" multiple="True" label="ChIP-seq alignment file" help="If multiple files are given, then they will all be read and combined. Note that pair-end data is not supposed to work with this command. (-i)" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
31 <expand macro="conditional_effective_genome_size" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
32 <expand macro="tag_size" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
33 <expand macro="band_width" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
34
fe62ba547975 Uploaded
iuc
parents:
diff changeset
35 <param name="mfoldlo" type="integer" label="Fold-enrichment lower limit" value="5"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
36 help="Select the regions with MFOLD high-confidence enrichment ratio against background to build model (--mfold)"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
37 <param name="mfoldhi" type="integer" label="Fold-enrichment upper-limit" value="50"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
38 help="Select the regions with MFOLD high-confidence enrichment ratio against background to build model (--mfold)"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
39
fe62ba547975 Uploaded
iuc
parents:
diff changeset
40 </inputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
41
fe62ba547975 Uploaded
iuc
parents:
diff changeset
42 <outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
43 <data name="outfile" format="txt" label="${tool.name} on ${on_string} - d value" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
44 <data name="outfile_image" from_work_dir="predictd_model.pdf" format="pdf" label="${tool.name} on ${on_string} - X-correlation image" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
45 </outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
46 <tests>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
47 <test>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
48 <param name="infiles" value="Control_200K.bed,ChIP_200K.bed" ftype="bed" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
49 <param name="effective_genome_size_options_selector" value="user_defined" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
50 <param name="gsize" value="3300000000" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
51 <param name="tsize" value="-1.0"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
52 <param name="band_width" value="300"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
53 <param name="mfoldlo" value="5"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
54 <param name="mfoldhi" value="50"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
55 <output name="outfile" file="predictd_on_ChIP_200K_and_Control_200K.txt"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
56 <output name="outfile_image" file="predictd_on_ChIP_200K_and_Control_200K.pdf" compare="sim_size"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
57 </test>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
58 </tests>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
59 <help>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
60 **What it does**
fe62ba547975 Uploaded
iuc
parents:
diff changeset
61
fe62ba547975 Uploaded
iuc
parents:
diff changeset
62 predictd from macs2
fe62ba547975 Uploaded
iuc
parents:
diff changeset
63
fe62ba547975 Uploaded
iuc
parents:
diff changeset
64
fe62ba547975 Uploaded
iuc
parents:
diff changeset
65 Note that pair-end data is not supposed to work with this command.
fe62ba547975 Uploaded
iuc
parents:
diff changeset
66
fe62ba547975 Uploaded
iuc
parents:
diff changeset
67
fe62ba547975 Uploaded
iuc
parents:
diff changeset
68 @citation@
fe62ba547975 Uploaded
iuc
parents:
diff changeset
69 </help>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
70 <expand macro="citations" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
71 </tool>