annotate macs2_filterdup.xml @ 3:6d4babad010f draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
author iuc
date Wed, 27 Jan 2016 15:23:25 -0500
parents bfe57d6e0c4c
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_filterdup" name="MACS2 filterdup" version="@VERSION_STRING@.0">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
2 <description>Remove duplicate reads at the same position</description>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
3 <macros>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
4 <import>macs2_macros.xml</import>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
5 </macros>
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
6 <expand macro="requirements" />
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
7 <expand macro="stdio" />
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
8 <expand macro="version_command" />
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
9 <command>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
10 macs2 filterdup
fe62ba547975 Uploaded
iuc
parents:
diff changeset
11 -i "${ infile }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
12 -o temp_outfile
fe62ba547975 Uploaded
iuc
parents:
diff changeset
13
fe62ba547975 Uploaded
iuc
parents:
diff changeset
14 --format '${ infile.extension.upper() }'
fe62ba547975 Uploaded
iuc
parents:
diff changeset
15 @effective_genome_size@
fe62ba547975 Uploaded
iuc
parents:
diff changeset
16 @tag_size@
fe62ba547975 Uploaded
iuc
parents:
diff changeset
17 --pvalue "${ pvalue }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
18 #if str( $keep_dup_options.keep_dup_options_selector ) == "user":
fe62ba547975 Uploaded
iuc
parents:
diff changeset
19 --keep-dup "${ keep_dup_options.user_keepdup }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
20 #else
fe62ba547975 Uploaded
iuc
parents:
diff changeset
21 --keep-dup "${ keep_dup_options.keep_dup_options_selector }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
22 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
23 ;
fe62ba547975 Uploaded
iuc
parents:
diff changeset
24 mv temp_outfile "${ outfile }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
25 </command>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
26 <inputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
27 <param name="infile" type="data" format="sam,bam,bed" label="Sequencing alignment file" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
28 <expand macro="conditional_effective_genome_size" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
29 <expand macro="tag_size" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
30 <param name="pvalue" type="text" value="1e-5" label="Pvalue cutoff for binomial distribution test" help="default: 1e-5 (--pvalue)" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
31
fe62ba547975 Uploaded
iuc
parents:
diff changeset
32 <expand macro="keep_duplicates" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
33
fe62ba547975 Uploaded
iuc
parents:
diff changeset
34 </inputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
35 <outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
36 <data name="outfile" format="bed" label="${tool.name} on ${on_string}" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
37 </outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
38 <tests>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
39 <test>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
40 <param name="infile" value="ChIP_200K_w_dups.bed" ftype="bed"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
41 <param name="pvalue" value="1e-5"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
42 <param name="keep_dup_options_selector" value="auto"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
43 <param name="effective_genome_size_options_selector" value="user_defined" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
44 <param name="gsize" value="3300000000" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
45 <output name="outfile" file="filterdup_on_ChIP_200K_w_dups.bed"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
46 </test>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
47 </tests>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
48 <help>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
49 **What it does**
fe62ba547975 Uploaded
iuc
parents:
diff changeset
50
fe62ba547975 Uploaded
iuc
parents:
diff changeset
51 Remove duplicate reads at the same position, then convert acceptable format to BED format.
fe62ba547975 Uploaded
iuc
parents:
diff changeset
52 filterdup tool from macs2
fe62ba547975 Uploaded
iuc
parents:
diff changeset
53
fe62ba547975 Uploaded
iuc
parents:
diff changeset
54 @citation@
fe62ba547975 Uploaded
iuc
parents:
diff changeset
55 </help>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
56 <expand macro="citations" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
57 </tool>