annotate macs2_predictd.xml @ 4:56e104999978 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
author iuc
date Mon, 06 Feb 2017 02:30:37 -0500
parents 6d4babad010f
children beb902da6e5f
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>
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
3 <macros>
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
4 <import>macs2_macros.xml</import>
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
5 </macros>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
6 <expand macro="requirements">
3
6d4babad010f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents: 2
diff changeset
7 <requirement type="package" version="3.1.2">R</requirement>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
8 <requirement type="package" version="4.1.0">gnu_awk</requirement>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
9 </expand>
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
10 <expand macro="stdio" />
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
11 <expand macro="version_command" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
12 <command>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
13 macs2 predictd
fe62ba547975 Uploaded
iuc
parents:
diff changeset
14 -i ${ ' '.join( map( lambda x:'"%s"' % ( x ), $infiles ) ) }
fe62ba547975 Uploaded
iuc
parents:
diff changeset
15 @tag_size@
fe62ba547975 Uploaded
iuc
parents:
diff changeset
16 @effective_genome_size@
fe62ba547975 Uploaded
iuc
parents:
diff changeset
17 --bw "${ band_width }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
18 --mfold "${ mfoldlo }" "${ mfoldhi }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
19
fe62ba547975 Uploaded
iuc
parents:
diff changeset
20 ## remove the timepoint and strip the output
fe62ba547975 Uploaded
iuc
parents:
diff changeset
21 2>&amp;1 | awk -F: '{print $4}' | awk '{$1=$1}1'
fe62ba547975 Uploaded
iuc
parents:
diff changeset
22
fe62ba547975 Uploaded
iuc
parents:
diff changeset
23 &gt; "${ outfile }"
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
24
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
25 &amp;&amp;
fe62ba547975 Uploaded
iuc
parents:
diff changeset
26
fe62ba547975 Uploaded
iuc
parents:
diff changeset
27 Rscript predictd
fe62ba547975 Uploaded
iuc
parents:
diff changeset
28 </command>
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>