annotate windowmasker_ustat.xml @ 0:f80c9e6700ba draft default tip

planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
author yating-l
date Tue, 16 May 2017 13:18:12 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
1 <?xml version="1.0"?>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
2 <tool id="windowmasker_ustat" name="WindowMasker_ustat" version="1.0">
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
3 <description>Mask sequences using a WindowMasker unit counts table</description>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
4
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
5 <macros>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
6 <import>windowmasker_macros.xml</import>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
7 </macros>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
8
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
9 <expand macro="requirements" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
10
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
11 <command detect_errors="exit_code">
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
12 <![CDATA[
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
13 @OPTIONAL_PARAM_FUNC@
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
14
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
15 windowmasker -ustat "${mkcount_input}"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
16 -infmt fasta
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
17 -in "${fasta_input}"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
18 -outfmt "${output_format}"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
19 ${parse_seqids}
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
20
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
21 #if str($use_dust.use_dust_selector) == "yes":
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
22 -dust true -dust_level ${use_dust.dust_level}
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
23 #end if
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
24
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
25 $optional_param("-set_t_high", $adv.set_t_high)
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
26 $optional_param("-set_t_low", $adv.set_t_low)
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
27 $optional_param("-t_extend", $adv.t_extend)
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
28 $optional_param("-t_low", $adv.t_low)
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
29 $optional_param("-t_high", $adv.t_high)
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
30 $optional_param("-t_thres", $adv.t_thres)
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
31 $optional_param("-window", $adv.window)
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
32
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
33 ## Convert WindowMasker interval output to BED format
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
34 #if str($output_format) == "interval":
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
35 | ${__tool_directory__}/windowmasker_to_bed.pl > "${mask_output}"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
36 #else
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
37 -out "${mask_output}"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
38 #end if
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
39 ]]>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
40 </command>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
41 <inputs>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
42 <param name="fasta_input" type="data" format="fasta"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
43 label="FASTA sequence file" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
44
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
45 <param name="mkcount_input" type="data" format="txt"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
46 label="Unit counts produced by WindowMasker mkcount" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
47
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
48 <param name="parse_seqids" type="boolean" checked="false"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
49 truevalue="-parse_seqids" falsevalue=""
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
50 label="Parse Seq-ids in FASTA input"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
51 help="-parse_seqids" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
52
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
53 <conditional name="use_dust">
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
54 <param name="use_dust_selector" type="select"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
55 label="Use DUST to mask low complexity sequences?"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
56 help="-dust">
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
57 <option value="yes">Yes</option>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
58 <option value="no">No</option>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
59 </param>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
60
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
61 <when value="yes">
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
62 <param name="dust_level" type="integer"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
63 min="1" value="20"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
64 label="DUST level"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
65 help="Score threshold for subwindows" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
66 </when>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
67
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
68 <when value="no"></when>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
69 </conditional>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
70
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
71 <param name="output_format" type="select" label="Output format">
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
72 <option value="fasta">FASTA</option>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
73 <option value="interval" selected="true">BED</option>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
74 <option value="maskinfo_asn1_bin">maskinfo ASN.1 binary</option>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
75 <option value="maskinfo_asn1_text">maskinfo ASN.1 text</option>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
76 <option value="maskinfo_xml">maskinfo XML</option>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
77 </param>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
78
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
79 <section name="adv" title="Advanced options" expanded="false">
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
80
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
81 <param name="set_t_high" type="integer" label="set_t_high"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
82 min="0" optional="true"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
83 help="Score for units with unit count greater than T_high" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
84
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
85 <param name="set_t_low" type="integer" label="set_t_low"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
86 min="0" optional="true"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
87 help="Score for units with unit count less than T_low" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
88
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
89 <param name="t_extend" type="integer" label="t_extend"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
90 min="0" optional="true"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
91 help="Override the t_extend value in the unit counts file" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
92
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
93 <param name="t_low" type="integer" label="t_low"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
94 min="0" optional="true"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
95 help="Override the t_low value in the unit counts file" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
96
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
97 <param name="t_high" type="integer" label="t_high"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
98 min="0" optional="true"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
99 help="Override the t_high value in the unit counts file" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
100
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
101 <param name="t_thres" type="integer" label="t_threshold"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
102 min="0" optional="true"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
103 help="Override the score threshold value in the unit counts file" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
104
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
105 <param name="window" type="integer" label="window"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
106 min="0" optional="true"
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
107 help="Size of the sliding window (default = unit_size + 4)" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
108 </section>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
109 </inputs>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
110 <outputs>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
111 <data name="mask_output" format="bed">
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
112 <change_format>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
113 <when input="output_format" value="fasta" format="fasta" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
114 <when input="output_format" value="maskinfo_asn1_bin" format="maskinfo-asn1-binary" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
115 <when input="output_format" value="maskinfo_asn1_text" format="maskinfo-asn1" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
116 <when input="output_format" value="maskinfo_xml" format="xml" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
117 </change_format>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
118 </data>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
119 </outputs>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
120 <tests>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
121 <test>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
122 <!-- Test WindowMasker ustat with fasta output -->
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
123 <param name="fasta_input" value="contigs.fa" ftype="fasta" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
124 <param name="mkcount_input" value="chr4_part.oascii.counts" ftype="txt" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
125 <param name="output_format" value="fasta" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
126 <output name="mask_output" file="contigs.wm.fa" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
127 </test>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
128 <test>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
129 <!-- Test WindowMasker ustat with ASN.1 text output -->
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
130 <param name="fasta_input" value="contigs.fa" ftype="fasta" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
131 <param name="mkcount_input" value="chr4_part.oascii.counts" ftype="txt" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
132 <param name="output_format" value="maskinfo_asn1_text" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
133 <output name="mask_output" file="contigs.wm.asn1" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
134 </test>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
135 <test>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
136 <!-- Test WindowMasker ustat with ASN.1 binary output -->
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
137 <param name="fasta_input" value="contigs.fa" ftype="fasta" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
138 <param name="mkcount_input" value="chr4_part.oascii.counts" ftype="txt" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
139 <param name="output_format" value="maskinfo_asn1_bin" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
140 <output name="mask_output" file="contigs.wm.asnb" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
141 </test>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
142 <test>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
143 <!-- Test WindowMasker ustat with XML output -->
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
144 <param name="fasta_input" value="contigs.fa" ftype="fasta" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
145 <param name="mkcount_input" value="chr4_part.oascii.counts" ftype="txt" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
146 <param name="output_format" value="maskinfo_xml" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
147 <output name="mask_output" file="contigs.wm.xml" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
148 </test>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
149 <test>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
150 <!-- Test WindowMasker ustat with advanced settings -->
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
151 <param name="fasta_input" value="contigs.fa" ftype="fasta" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
152 <param name="mkcount_input" value="chr4_part.oascii.counts" ftype="txt" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
153 <param name="set_t_high" value="10" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
154 <param name="set_t_low" value="9" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
155 <param name="t_extend" value="5" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
156 <param name="t_low" value="9" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
157 <param name="t_high" value="10" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
158 <param name="t_thres" value="20" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
159 <param name="window" value="50" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
160 <output name="mask_output" file="contigs.advanced_wm.bed" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
161 </test>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
162 <test>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
163 <!-- Test WindowMasker ustat without dust -->
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
164 <param name="fasta_input" value="contigs.fa" ftype="fasta" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
165 <param name="mkcount_input" value="chr4_part.oascii.counts" ftype="txt" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
166 <param name="use_dust_selector" value="no" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
167 <output name="mask_output" file="contigs.nodust_wm.bed" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
168 </test>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
169 <test>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
170 <!-- Test WindowMasker ustat with parse Seq-ids -->
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
171 <param name="fasta_input" value="contigs.fa" ftype="fasta" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
172 <param name="mkcount_input" value="chr4_part.oascii.counts" ftype="txt" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
173 <param name="parse_seqids" value="-parse_seqids" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
174 <output name="mask_output" file="contigs.seqid_wm.bed" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
175 </test>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
176 </tests>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
177 <help>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
178 <![CDATA[
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
179 **What it does**
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
180
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
181 This tool runs `stage 2 <https://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/lxr/source/src/app/winmasker/>`_
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
182 of the WindowMasker analysis to identify repeats within the input sequences.
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
183
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
184 .. class:: infomark
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
185
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
186 **Output formats:**
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
187
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
188 * Use the **binary or text maskinfo ASN.1** output formats to generate the mask file for
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
189 the `NCBI BLAST+ makeblastdb tool <https://www.ncbi.nlm.nih.gov/books/NBK279681/#_cookbook_Create_BLAST_database_with_the_>`_
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
190 * Use the BED output format to generate a list of masked regions
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
191
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
192
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
193 .. class:: infomark
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
194
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
195 **Advanced options:**
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
196
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
197 * See the `WindowMasker README file <https://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/lxr/source/src/app/winmasker/README>`_
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
198 for additional details on the WindowMasker repeat masking options
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
199
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
200 ]]></help>
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
201
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
202 <expand macro="citations" />
f80c9e6700ba planemo upload commit 91a780909d1eda07d17f6aebf7f08f0c024b6a25
yating-l
parents:
diff changeset
203 </tool>