comparison cmsearch.xml @ 6:c650ee099c51 draft

Uploaded
author bgruening
date Sat, 31 Aug 2013 15:00:05 -0400
parents 2b3adbe83979
children 46128c3865b8
comparison
equal deleted inserted replaced
5:2b3adbe83979 6:c650ee099c51
3 <parallelism method="multi" split_inputs="seqdb" split_mode="to_size" split_size="100" shared_inputs="" merge_outputs="outfile,multiple_alignment_output"></parallelism> 3 <parallelism method="multi" split_inputs="seqdb" split_mode="to_size" split_size="100" shared_inputs="" merge_outputs="outfile,multiple_alignment_output"></parallelism>
4 <requirements> 4 <requirements>
5 <requirement type="package" version="1.1rc4">infernal</requirement> 5 <requirement type="package" version="1.1rc4">infernal</requirement>
6 </requirements> 6 </requirements>
7 <command> 7 <command>
8 ##TODO reformat the tabular-output: 8 temp_tabular_output=$(mktemp);
9 ## -"Each line consists of 18 space-delimited fields followed by a free text target sequence description, as follows:"
10 ## remove line that starts with #
11 9
12 cmsearch 10 cmsearch
13 --cpu 12 11 --cpu 12
14 -o /dev/null 12 -o /dev/null
15 --tformat $seqdb.ext ##target format: fasta, embl, genbank, ddbj, stockholm, pfam, a2m, afa, clustal, and phylip 13 --tformat $seqdb.ext ##target format: fasta, embl, genbank, ddbj, stockholm, pfam, a2m, afa, clustal, and phylip
19 $notrunc 17 $notrunc
20 $max 18 $max
21 $nohmm 19 $nohmm
22 $mid 20 $mid
23 $bitscore_thresholds 21 $bitscore_thresholds
24 --tblout $outfile 22 --tblout $temp_tabular_output
25 $g 23 $g
26 #if $A: 24 #if $A:
27 $A $multiple_alignment_output 25 $A $multiple_alignment_output
28 #end if 26 #end if
29 27
30 #if $inclusion_thresholds_opts.inclusion_thresholds_selector == "--incE": 28 #if $inclusion_thresholds_opts.inclusion_thresholds_selector == "--incE":
31 --incE $inclusion_thresholds_opts.incE 29 --incE $inclusion_thresholds_opts.incE
32 #else: 30 #elif $inclusion_thresholds_opts.inclusion_thresholds_selector == "--incT":
33 --incT $inclusion_thresholds_opts.incT 31 --incT $inclusion_thresholds_opts.incT
34 #end if 32 #end if
35 33
36 #if $reporting_thresholds_opts.reporting_thresholds_selector == "-E": 34 #if $reporting_thresholds_opts.reporting_thresholds_selector == "-E":
37 -E $reporting_thresholds_opts.E 35 -E $reporting_thresholds_opts.E
38 #else: 36 #elif $reporting_thresholds_opts.reporting_thresholds_selector == "-T":
39 -T $reporting_thresholds_opts.T 37 -T $reporting_thresholds_opts.T
40 #end if 38 #end if
41 39
42 #if $cm_opts.cm_opts_selector == "db": 40 #if $cm_opts.cm_opts_selector == "db":
43 $cm_opts.database.fields.path 41 $cm_opts.database.fields.path
44 #else: 42 #else:
45 $cm_opts.cmfile 43 $cm_opts.cmfile
46 #end if 44 #end if
47 45
48 $seqdb 46 $seqdb
49
50
51 2>&#38;1 47 2>&#38;1
48 ;
49
50 sed -e 's/#.*$//' -e '/^$/d' -e 's/ /\t/g' -e 's/\t/ /18g' $temp_tabular_output > $outfile
51
52 </command> 52 </command>
53 <inputs> 53 <inputs>
54 54
55 <param name="seqdb" type="data" format="fasta" label="Sequence database"/> 55 <param name="seqdb" type="data" format="fasta" label="Sequence database"/>
56 56
115 115
116 116
117 <conditional name="inclusion_thresholds_opts"> 117 <conditional name="inclusion_thresholds_opts">
118 <param name="inclusion_thresholds_selector" type="select" label="Inclusion thresholds" 118 <param name="inclusion_thresholds_selector" type="select" label="Inclusion thresholds"
119 help="Inclusion thresholds are stricter than reporting thresholds. Inclusion thresholds control which hits are considered to be reliable enough to be included in an output alignment or in a possible subsequent search round, or marked as significant (”!”) as opposed to questionable (”?”) in hit output."> 119 help="Inclusion thresholds are stricter than reporting thresholds. Inclusion thresholds control which hits are considered to be reliable enough to be included in an output alignment or in a possible subsequent search round, or marked as significant (”!”) as opposed to questionable (”?”) in hit output.">
120 <option value="--incE" selected="true">Use E-value</option> 120 <option value="" selected="true">default</option>
121 <option value="--incE">Use E-value</option>
121 <option value="--incT">Use bit score</option> 122 <option value="--incT">Use bit score</option>
122 </param> 123 </param>
124 <when />
123 <when value="--incE"> 125 <when value="--incE">
124 <param name="incE" type="float" value="0.01" size="5" label="Use E-value" help="of &lt;= X as the hit inclusion threshold."> 126 <param name="incE" type="float" value="0.01" size="5" label="Use E-value" help="of &lt;= X as the hit inclusion threshold.">
125 <sanitizer> 127 <sanitizer>
126 <valid initial="string.printable"> 128 <valid initial="string.printable">
127 <remove value="&apos;"/> 129 <remove value="&apos;"/>
137 </valid> 139 </valid>
138 </sanitizer> 140 </sanitizer>
139 </param> 141 </param>
140 </when> 142 </when>
141 </conditional> 143 </conditional>
142
143 144
144 <!-- Options controlling reporting thresholds --> 145 <!-- Options controlling reporting thresholds -->
145 146
146 <conditional name="reporting_thresholds_opts"> 147 <conditional name="reporting_thresholds_opts">
147 <param name="reporting_thresholds_selector" type="select" label="reporting thresholds" 148 <param name="reporting_thresholds_selector" type="select" label="reporting thresholds"
148 help="Reporting thresholds control which hits are reported in output files"> 149 help="Reporting thresholds control which hits are reported in output files">
149 <option value="-E" selected="true">Use E-value</option> 150 <option value="" selected="true">default</option>
151 <option value="-E">Use E-value</option>
150 <option value="-T">Use bit score</option> 152 <option value="-T">Use bit score</option>
151 </param> 153 </param>
154 <when />
152 <when value="-E"> 155 <when value="-E">
153 <param name="E" type="float" value="10.0" size="5" label="Use E-value" help="of &lt;= X as the hit reporting threshold. The default is 10.0, meaning that on average, about 10 false positives will be reported per query, so you can see the top of the noise and decide for yourself if it’s really noise."> 156 <param name="E" type="float" value="10.0" size="5" label="Use E-value" help="of &lt;= X as the hit reporting threshold. The default is 10.0, meaning that on average, about 10 false positives will be reported per query, so you can see the top of the noise and decide for yourself if it’s really noise.">
154 <sanitizer> 157 <sanitizer>
155 <valid initial="string.printable"> 158 <valid initial="string.printable">
156 <remove value="&apos;"/> 159 <remove value="&apos;"/>
169 </when> 172 </when>
170 </conditional> 173 </conditional>
171 174
172 <param name="A" truevalue="-A" falsevalue="" checked="False" type="boolean" 175 <param name="A" truevalue="-A" falsevalue="" checked="False" type="boolean"
173 label="Save a multiple alignment of all significant hits" help="... those satisfying inclusion thresholds"/> 176 label="Save a multiple alignment of all significant hits" help="... those satisfying inclusion thresholds"/>
174
175 177
176 </inputs> 178 </inputs>
177 <outputs> 179 <outputs>
178 180
179 <data format="tabular" name="outfile" label="cmsearch on ${on_string}"/> 181 <data format="tabular" name="outfile" label="cmsearch on ${on_string}"/>