comparison macros.xml @ 0:462e62be07e1 draft

planemo upload for repository https://github.com/jonas-fuchs/varVAMP commit 7f509fd29e994d1561ff9de14f26cf49f018dd2d
author iuc
date Sat, 27 Jan 2024 12:34:39 +0000
parents
children 80e18c0836e5
comparison
equal deleted inserted replaced
-1:000000000000 0:462e62be07e1
1 <?xml version="1.0"?>
2 <macros>
3 <token name="@TOOL_VERSION@">1.1.1</token>
4 <token name="@VERSION_SUFFIX@">0</token>
5 <xml name="main_parameters">
6 <conditional name="main_params">
7 <param name="specify_how" type="select" label="How to set the main parameters, threshold for consensus nucleotides and max ambiguous nts per primer?">
8 <option value="set_n_ambig">Specify max ambiguous nts, estimate suitable threshold</option>
9 <option value="set_threshold">Specify threshold, estimate max ambiguous nts</option>
10 <option value="set_both">Specify values for both</option>
11 </param>
12 <when value="set_n_ambig">
13 <param argument="--n-ambig" type="integer" min="0" value="2" label="Maximum number of ambiguous nucleotides per primer to be tolerated (default: 2)" />
14 <yield />
15 </when>
16 <when value="set_threshold">
17 <param argument="--threshold" type="float" min="0.0" max="1.0" value="0.8" label="Threshold for consensus nucleotides" />
18 </when>
19 <when value="set_both">
20 <param argument="--threshold" type="float" min="0.0" max="1.0" value="0.8" label="Threshold for consensus nucleotides" />
21 <param argument="--n-ambig" type="integer" min="0" value="2" label="Maximum number of ambiguous nucleotides per primer to be tolerated" />
22 <yield />
23 </when>
24 </conditional>
25 </xml>
26 <xml name="amplicon_length_restrictions">
27 <param argument="--opt-length" type="integer" min="1" value="1000" label="Optimal length of the amplicons" />
28 <param argument="--max-length" type="integer" min="1" value="1500" label="Maximal length of the amplicons" />
29 </xml>
30 <xml name="blast_options">
31 <conditional name="filter_blast_hits">
32 <param name="choice" type="select" label="Avoid amplicons with off-target primer products?" help="This functionality requires a custom BLAST database of off-target sequences to check amplicon primer candidates against." >
33 <option value="no">No, don't consider off-target products</option>
34 <option value="yes">Yes</option>
35 </param>
36 <when value="no" />
37 <when value="yes">
38 <param argument="--database" type="data" format="blastdbn" label="BLAST database" />
39 <conditional name="blast_advanced_cond">
40 <param name="blast_advanced" type="select" label="Customize BLAST Settings?" help="Choosing Yes here, lets you overwrite advanced BLAST-related settings defined in varVAMP's default configuration file." >
41 <option value="no">No, use varVAMP default settings</option>
42 <option value="yes">Yes</option>
43 </param>
44 <when value="no" />
45 <when value="yes">
46 <section name="blast_params" title="BLAST parameters">
47 <param name="evalue" type="integer" min="0" value="5000" label="BLAST expect (E) value"/>
48 <param name="reward" type="integer" min="0" value="1" label="BLAST reward (for a nucleotide match)"/>
49 <param name="penalty" type="integer" max="0" value="-1" label="BLAST penalty (for a mismatch)"/>
50 <param name="gapopen" type="integer" min="0" value="2" label="BLAST gapopen" help="Cost to open a gap"/>
51 <param name="gapextend" type="integer" min="0" value="1" label="BLAST gapextend" help="Cost to extend a gap"/>
52 </section>
53 <section name="blast_hits_usage" title="varVAMP settings for handling BLAST hits">
54 <param name="BLAST_MAX_DIFF" type="float" min="0" max="1" value="0.5" label="BLAST_MAX_DIFF" help="Minimal fraction of identity to primer to consider a BLAST hit an off-target primer binding site" />
55 <param name="BLAST_SIZE_MULTI" type="float" min="1" value="2" label="BLAST_SIZE_MULTI" help="Disregard off-target amplicons with a length greater than the configured maximal length of target amplicons multiplied by this value" />
56 <param name="BLAST_PENALTY" type="integer" min="0" value="50" label="BLAST_PENALTY" help="Extra penalty imposed on amplicons with off-target primer products; the default of 50 should be high enough to consider such amplicons only when no other amplicons without off-target products can be found." />
57 </section>
58 </when>
59 </conditional>
60 </when>
61 </conditional>
62 </xml>
63 <xml name="customize_advanced">
64 <conditional name="advanced_config">
65 <param name="customize" type="select" label="Customize Advanced Settings?" help="Choosing Yes here, lets you overwrite advanced settings defined in varVAMP's default configuration file.">
66 <option value="no">No, use defaults for advanced settings</option>
67 <option value="yes">Yes</option>
68 </param>
69 <when value="no" />
70 <when value="yes">
71 <section name="basic_primer_params" title="Constraints on amplicon primers" expanded="false">
72 <param name="PRIMER_TMP_min" type="integer" min="0" value="56" label="Minimal melting temperature"/>
73 <param name="PRIMER_TMP_max" type="integer" min="0" value="63" label="Maximal melting temperature"/>
74 <param name="PRIMER_TMP_opt" type="integer" min="0" value="60" label="Optimal melting temperature"/>
75 <param name="PRIMER_GC_RANGE_min" type="integer" min="0" max="100" value="35" label="Minimal GC-content" />
76 <param name="PRIMER_GC_RANGE_max" type="integer" min="0" max="100" value="65" label="Maximal GC-content" />
77 <param name="PRIMER_GC_RANGE_opt" type="integer" min="0" max="100" value="50" label="Optimal GC-content" />
78 <param name="PRIMER_SIZES_min" type="integer" min="1" value="18" label="Minimal primer size" />
79 <param name="PRIMER_SIZES_max" type="integer" min="1" value="24" label="Maximal primer size" />
80 <param name="PRIMER_SIZES_opt" type="integer" min="1" value="21" label="Optimal primer size" />
81 <param name="PRIMER_MAX_POLYX" type="integer" min="1" value="4" label="Maximal length of polyX runs in primer" />
82 <param name="PRIMER_MAX_DINUC_REPEATS" type="integer" min="0" value="4" label="Maximal length of dinucleotide repeats in primer" />
83 <param name="PRIMER_GC_END_min" type="integer" min="0" max="5" value="1" label="Minimal number of GCs among the 3'-terminal 5 bases of the primer" />
84 <param name="PRIMER_GC_END_max" type="integer" min="0" max="5" value="3" label="Maximal number of GCs among the 3'-terminal 5 bases of the probe" />
85 <param name="PRIMER_MIN_3_WITHOUT_AMB" type="integer" min="0" value="3" label="Minimal length of 3'-end without ambiguous bases." />
86 <param name="PRIMER_HAIRPIN" type="integer" min="0" value="47" label="Maximal melting temperature for secondary structures (hairpins) in primer" />
87 <param name="PRIMER_MAX_DIMER_TMP" type="integer" min="0" value="47" label="Maximal melting temperature for primer dimers (homo- or heterodimers)" />
88 </section>
89 <yield />
90 <section name="pcr_params" title="PCR Parameters" expanded="false">
91 <param name="PCR_MV_CONC" type="float" min="0" value="100" label="Monovalent cations mM conc." />
92 <param name="PCR_DV_CONC" type="float" min="0" value="2" label="Divalent cations mM conc." />
93 <param name="PCR_DNTP_CONC" type="float" min="0" value="0.8" label="dNTP mM conc." />
94 <param name="PCR_DNA_CONC" type="float" min="0" value="15" label="Primer nM conc." />
95 </section>
96 <section name="penalty_multipliers" title="Primer penalties, multipliers and penalty cutoffs" expanded="false">
97 <param name="PRIMER_TM_PENALTY" type="float" min="0" max="10" value="2" label="Temperature penalty multiplier" help="Each °C deviation of primer melting temperature from the configured optimal melting temperature inflicts a penalty of this size." />
98 <param name="PRIMER_GC_PENALTY" type="float" min="0" value="0.2" label="GC-content penalty multiplier" help="Each % deviation of primer GC-content from the configured optimal GC-content inflicts a penalty of this size." />
99 <param name="PRIMER_SIZE_PENALTY" type="float" min="0" value="0.5" label="Primer size penalty multiplier" help="Each base deviation of primer length from the configured optimal length inflicts a penalty of this size."/>
100 <param name="PRIMER_MAX_BASE_PENALTY" type="integer" min="0" value="10" label="Maximal primer base penalty" help="Primer base penalty is the sum of the primer's temperature, GC-content and size penalties as defined above. If that base penalty exceeds the maximum defined here, the candidate primer gets discarded and is not considered further." />
101 <param name="PRIMER_3_PENALTY" type="text" value="32, 16, 8, 4, 2" optional="false" label="3' mismatch penalties" help="This comma-separated list of integers, defines the extra penalties associated with mismatches at the last, second-last, third-last, etc. base from the 3'-end of the primer. These extra penalties are added after applying the maximal base penalty threshold above.">
102 <validator type="regex" message="Please specify a comma-separated list of integers"> *(\d+, *)*\d+ *$</validator>
103 </param>
104 <param name="PRIMER_PERMUTATION_PENALTY" type="float" min="0" value="0.1" label="Permutations penalty" help="For primers with ambiguous bases, permutations are the number of possible non-ambiguous primer sequences that the ambiguous sequence represents. Each individual permutation inflicts the penalty defined here." />
105 </section>
106 </when>
107 </conditional>
108 </xml>
109 <xml name="primer_scheme_outputs">
110 <param name="scheme_outputs" type="select" display="checkboxes" multiple="true" optional="true" label="Primer scheme outputs">
111 <option value="primer_seqs" selected="true">Sequences of all designed oligos</option>
112 <option value="primer_binding_sites" selected="true">Primer binding sites in BED format; includes primer penalties (lower is better) as the score column</option>
113 <option value="amplicon_sites" selected="true">Amplicon locations in BED format; includes amplicon penalties (lower is better) in the score column</option>
114 <option value="primer_details" selected="true">Primer details in tabular format</option>
115 <yield />
116 </param>
117 </xml>
118 <xml name="consensus_outputs">
119 <param name="aln_cons_outputs" type="select" display="checkboxes" multiple="true" optional="true" label="Consensus sequence and alignment-related outputs">
120 <option value="ambiguous_consensus" selected="true">The consensus sequence containing ambiguous nucleotides; this sequence is what positional information in primer scheme outputs is referring to!</option>
121 <option value="majority_consensus">Consensus sequence without ambiguous nucleotide codes, but with the most prevalent nucleotide at each position instead.</option>
122 <option value="alignment_cleaned">The preprocessed alignment used to build consensus sequences</option>
123 </param>
124 </xml>
125 <xml name="graphical_outputs">
126 <param name="plot_outputs" type="select" display="checkboxes" multiple="true" optional="true" label="Graphical outputs">
127 <option value="amplicon_plot" selected="true">Amplicon design overview</option>
128 <option value="per_base_mismatches" selected="true">Per-primer barplot of mismatches to input sequences</option>
129 </param>
130 </xml>
131 <xml name="miscellaneous_outputs">
132 <param name="misc_outputs" type="select" display="checkboxes" multiple="true" optional="true" label="Other/intermediate outputs" help="These outputs enable more complete tracing of steps performed by varVAMP and serve mostly debug purposes.">
133 <option value="primer_regions">List of all candidate regions of the consensus sequence that were evaluated for primers in BED format</option>
134 <yield />
135 </param>
136 </xml>
137 </macros>
138