annotate generation/gatk.xsl @ 0:b80ff7f43ad1 draft default tip

planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
author avowinkel
date Thu, 24 Sep 2015 12:10:01 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
3 <xsl:output
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
4 method="xml"
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
5 encoding="utf-8"
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
6 indent="yes"
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
7 cdata-section-elements="script style" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
8
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
9 <xsl:template match="/">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
10
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
11 <tool id="gatk" name="GATK" version="@VERSION@.d9">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
12 <description>tool collection Version @VERSION@</description>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
13
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
14 <macros>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
15 <import>gatk_macros.xml</import>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
16 <xsl:for-each select="analyses/analysis">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
17 <import><xsl:value-of select="macro_file" /></import>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
18 </xsl:for-each>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
19 </macros>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
20
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
21 <expand macro="requirements" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
22
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
23 <stdio>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
24 <regex match="^INFO" level="log" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
25 <regex match="^WARN" level="warning" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
26 <regex match="Using .* implementation of PairHMM" level="warning" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
27 <regex match="There is insufficient memory for the Java Runtime Environment to continue" level="fatal" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
28 <regex match="^##### ERROR" level="fatal" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
29 <exit_code range="1:" level="fatal"/>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
30 </stdio>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
31
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
32 <command>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
33 <xsl:text disable-output-escaping="yes">&lt;![CDATA[
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
34 ############################
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
35 ## import analysis specific preprocessings by using cheetahs internal searchList
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
36 ## if not defined, ignore
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
37 ############################
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
38 #if $analysis_type.analysis_type_selector + "Preprocessing" in vars()['SL'][2]
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
39 #set $analysisPreprocessing = vars()['SL'][2][$analysis_type.analysis_type_selector + "Preprocessing"]
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
40 #include source=$analysisPreprocessing
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
41 #end if
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
42
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
43 ############################
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
44 ## GATK tool unspecific options
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
45 ############################
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
46 @GATK_EXEC@
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
47
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
48 --analysis_type ${analysis_type.analysis_type_selector}
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
49 --reference_sequence ${ref_file.fields.path}
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
50
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
51 --log_to_file ${output_log}
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
52
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
53 #if $cond_intervals.cond_intervals_enabled
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
54 #for $interval in $cond_intervals.intervals:
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
55 --intervals ${interval.L}
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
56 #end for
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
57 #end if
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
58
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
59 #if $cond_BQSR.cond_BQSR_enabled
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
60 --BQSR $cond_BQSR.BQSR
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
61 #end if
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
62
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
63 ############################
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
64 ## import analysis specific options by using cheetahs internal searchList
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
65 ## if not defined throw raw python error until better idea
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
66 ############################
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
67 #if $analysis_type.analysis_type_selector + "Options" in vars()['SL'][2]
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
68 #set $analysisOptions = vars()['SL'][2][$analysis_type.analysis_type_selector + "Options"]
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
69 #include source=$analysisOptions
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
70 #else
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
71 #set $analysisOptions = vars()['SL'][2][$analysis_type.analysis_type_selector + "Options"]
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
72 #end if
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
73
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
74 ############################
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
75 ## only put ERROR or FATAL log messages into stderr
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
76 ## but keep full log for printing into log file
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
77 ############################
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
78 2>&amp;1 | awk '\$1 != "INFO" &amp;&amp; \$1 != "WARN"' >&amp;2
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
79 ]]&gt;</xsl:text>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
80 </command>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
81
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
82 <inputs>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
83
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
84 <param name="ref_file" type="select" label="Using reference genome" help="-R,&#8209;&#8209;reference_sequence &amp;lt;reference_sequence&amp;gt;" >
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
85 <options from_data_table="picard_indexes">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
86 <!--filter type="data_meta" key="dbkey" ref="@TAG@_input" column="dbkey" /-->
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
87 </options>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
88 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
89 </param>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
90
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
91 <conditional name="cond_intervals">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
92 <param name="cond_intervals_enabled" type="boolean" label="Select interval subset to operate on?" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
93 <when value="true">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
94 <repeat name="intervals" title="genomic interval over which to operate" help="-L,&#8209;&#8209;intervals &amp;lt;intervals&amp;gt;">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
95 <param name="L" type="text" value="" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
96 </repeat>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
97 </when>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
98 <when value="false" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
99 </conditional>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
100
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
101 <conditional name="cond_BQSR">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
102 <param name="cond_BQSR_enabled" type="boolean" label="Select covariates for on-the-fly recalibration?" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
103 <when value="true">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
104 <param name="BQSR" type="data" format="tabular" label="Input covariates table file for on-the-fly base quality score recalibration" help="-BQSR,&#8209;&#8209;BQSR &amp;lt;BQSR&amp;gt; intended primarily for use with BaseRecalibrator and PrintReads" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
105 </when>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
106 <when value="false" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
107 </conditional>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
108
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
109 <conditional name="cond_threads">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
110 <param name="cond_threads_enabled" type="boolean" label="Set computational options (cpu, mem)?" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
111 <when value="true">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
112 <param name="nt" type="integer" value="1" label="Number of data threads to allocate to this analysis" help="make sure, the option is available for the chosen tool" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
113 <param name="nct" type="integer" value="1" label="Number of CPU threads to allocate per data thread" help="make sure, the option is available for the chosen tool" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
114 <param name="mem" type="integer" value="0" label="Overwrite Memory in MB (0 = don't overwrite)" help="Overwrites all other defaults and might lead to crash the run. States mem per data thread" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
115 </when>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
116 <when value="false" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
117 </conditional>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
118
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
119 <conditional name="analysis_type">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
120 <param name="analysis_type_selector" type="select" label="Analysis Type">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
121 <xsl:for-each select="analyses/analysis">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
122 <option value="{name}"><xsl:value-of select="name" /></option>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
123 </xsl:for-each>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
124 </param>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
125 <xsl:for-each select="analyses/analysis">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
126 <when value="{name}">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
127 <!--xsl:choose>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
128 <xsl:when test="input_type = 'bam'">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
129 <expand macro="macro_bam_input" tag="{tag}" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
130 </xsl:when>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
131 <xsl:when test="input_type = 'gvcf'">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
132 <expand macro="macro_gvcf_input" tag="{tag}" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
133 </xsl:when>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
134 </xsl:choose-->
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
135 <expand macro="{name}Parameters" tag="{tag}" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
136 </when>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
137 </xsl:for-each>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
138 </conditional>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
139 </inputs>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
140
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
141 <outputs>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
142 <xsl:for-each select="analyses/analysis">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
143 <expand macro="{name}Output" tag="{tag}">
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
144 <filter>analysis_type['analysis_type_selector'] == '<xsl:value-of select="name" />'</filter>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
145 </expand>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
146 </xsl:for-each>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
147 <data format="txt" name="output_log" label="${{tool.name}} - ${{analysis_type.analysis_type_selector}} on ${{on_string}} (log)" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
148 </outputs>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
149
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
150 <expand macro="macro_tests" />
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
151
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
152 <citations>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
153 <citation type="doi">10.1101/gr.107524.110</citation>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
154 <citation type="doi">10.1038/ng.806</citation>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
155 <citation type="doi">10.1002/0471250953.bi1110s43</citation>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
156 </citations>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
157 </tool>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
158
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
159 </xsl:template>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
160 </xsl:stylesheet>
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
161
b80ff7f43ad1 planemo upload for repository https://github.com/kaktus42/galaxytools/tree/master/tools/gatk commit 8764cef47529f6285678af4ca24b66d0fe516b88-dirty
avowinkel
parents:
diff changeset
162