annotate picard_CollectWgsMetrics.xml @ 2:4aa5b444fd42 draft default tip

Deleted selected files
author devteam
date Tue, 16 Dec 2014 16:50:01 -0500
parents 4419e9980172
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4419e9980172 Uploaded
devteam
parents:
diff changeset
1 <tool name="CollectWgsMetrics" id="picard_CollectWgsMetrics" version="1.121.0">
4419e9980172 Uploaded
devteam
parents:
diff changeset
2 <description>compute metrics for evaluating of whole genome sequencing experiments</description>
4419e9980172 Uploaded
devteam
parents:
diff changeset
3 <requirements>
4419e9980172 Uploaded
devteam
parents:
diff changeset
4 <requirement type="package" version="1.121.0">picard</requirement>
4419e9980172 Uploaded
devteam
parents:
diff changeset
5 </requirements>
4419e9980172 Uploaded
devteam
parents:
diff changeset
6
4419e9980172 Uploaded
devteam
parents:
diff changeset
7 <macros>
4419e9980172 Uploaded
devteam
parents:
diff changeset
8 <import>picard_macros.xml</import>
4419e9980172 Uploaded
devteam
parents:
diff changeset
9 </macros>
4419e9980172 Uploaded
devteam
parents:
diff changeset
10
4419e9980172 Uploaded
devteam
parents:
diff changeset
11 <command>
4419e9980172 Uploaded
devteam
parents:
diff changeset
12 @java_options@
4419e9980172 Uploaded
devteam
parents:
diff changeset
13 ##set up input files
4419e9980172 Uploaded
devteam
parents:
diff changeset
14
4419e9980172 Uploaded
devteam
parents:
diff changeset
15 #set $reference_fasta_filename = "localref.fa"
4419e9980172 Uploaded
devteam
parents:
diff changeset
16
4419e9980172 Uploaded
devteam
parents:
diff changeset
17 #if str( $reference_source.reference_source_selector ) == "history":
4419e9980172 Uploaded
devteam
parents:
diff changeset
18 ln -s "${reference_source.ref_file}" "${reference_fasta_filename}" &amp;&amp;
4419e9980172 Uploaded
devteam
parents:
diff changeset
19 #else:
4419e9980172 Uploaded
devteam
parents:
diff changeset
20 #set $reference_fasta_filename = str( $reference_source.ref_file.fields.path )
4419e9980172 Uploaded
devteam
parents:
diff changeset
21 #end if
4419e9980172 Uploaded
devteam
parents:
diff changeset
22
4419e9980172 Uploaded
devteam
parents:
diff changeset
23 java -jar \$JAVA_JAR_PATH/CollectWgsMetrics.jar
4419e9980172 Uploaded
devteam
parents:
diff changeset
24 INPUT="${inputFile}"
4419e9980172 Uploaded
devteam
parents:
diff changeset
25 OUTPUT="${outFile}"
4419e9980172 Uploaded
devteam
parents:
diff changeset
26 REFERENCE_SEQUENCE="${reference_fasta_filename}"
4419e9980172 Uploaded
devteam
parents:
diff changeset
27 MINIMUM_MAPPING_QUALITY="${minimum_mapping_quality}"
4419e9980172 Uploaded
devteam
parents:
diff changeset
28 MINIMUM_BASE_QUALITY="${minimum_base_quality}"
4419e9980172 Uploaded
devteam
parents:
diff changeset
29 COVERAGE_CAP="${coverage_cap}"
4419e9980172 Uploaded
devteam
parents:
diff changeset
30
4419e9980172 Uploaded
devteam
parents:
diff changeset
31 VALIDATION_STRINGENCY="${validation_stringency}"
4419e9980172 Uploaded
devteam
parents:
diff changeset
32 QUIET=true
4419e9980172 Uploaded
devteam
parents:
diff changeset
33 VERBOSITY=ERROR
4419e9980172 Uploaded
devteam
parents:
diff changeset
34
4419e9980172 Uploaded
devteam
parents:
diff changeset
35 </command>
4419e9980172 Uploaded
devteam
parents:
diff changeset
36 <inputs>
4419e9980172 Uploaded
devteam
parents:
diff changeset
37 <param format="sam,bam" name="inputFile" type="data" label="Select SAM/BAM dataset or dataset collection" help="If empty, upload or import a SAM/BAM dataset"/>
4419e9980172 Uploaded
devteam
parents:
diff changeset
38 <conditional name="reference_source">
4419e9980172 Uploaded
devteam
parents:
diff changeset
39 <param name="reference_source_selector" type="select" label="Load reference genome from">
4419e9980172 Uploaded
devteam
parents:
diff changeset
40 <option value="cached">Local cache</option>
4419e9980172 Uploaded
devteam
parents:
diff changeset
41 <option value="history">History</option>
4419e9980172 Uploaded
devteam
parents:
diff changeset
42 </param>
4419e9980172 Uploaded
devteam
parents:
diff changeset
43 <when value="cached">
4419e9980172 Uploaded
devteam
parents:
diff changeset
44 <param name="ref_file" type="select" label="Using reference genome" help="REFERENCE_SEQUENCE">
4419e9980172 Uploaded
devteam
parents:
diff changeset
45 <options from_data_table="all_fasta">
4419e9980172 Uploaded
devteam
parents:
diff changeset
46 </options>
4419e9980172 Uploaded
devteam
parents:
diff changeset
47 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
4419e9980172 Uploaded
devteam
parents:
diff changeset
48 </param>
4419e9980172 Uploaded
devteam
parents:
diff changeset
49 </when>
4419e9980172 Uploaded
devteam
parents:
diff changeset
50 <when value="history">
4419e9980172 Uploaded
devteam
parents:
diff changeset
51 <param name="ref_file" type="data" format="fasta" label="Use the folloing dataset as the reference sequence" help="REFERENCE_SEQUENCE; You can upload a FASTA sequence to the history and use it as reference" />
4419e9980172 Uploaded
devteam
parents:
diff changeset
52 </when>
4419e9980172 Uploaded
devteam
parents:
diff changeset
53 </conditional>
4419e9980172 Uploaded
devteam
parents:
diff changeset
54 <param name="minimum_mapping_quality" type="integer" value="20" label="Minimum mapping quality for a read to contribute coverage" help="MINIMUM_MAPPING_QUALITY; default=20"/>
4419e9980172 Uploaded
devteam
parents:
diff changeset
55 <param name="minimum_base_quality" type="integer" value="20" label="Minimum base quality for a base to contribute coverage" help="MINIMUM_BASE_QUALITY; default=20"/>
4419e9980172 Uploaded
devteam
parents:
diff changeset
56 <param name="coverage_cap" type="integer" value="250" label="Treat bases with coverage exceeding this value as if they had coverage at this value" help="COVERAGE_CAP; default=250"/>
4419e9980172 Uploaded
devteam
parents:
diff changeset
57
4419e9980172 Uploaded
devteam
parents:
diff changeset
58
4419e9980172 Uploaded
devteam
parents:
diff changeset
59 <expand macro="VS" />
4419e9980172 Uploaded
devteam
parents:
diff changeset
60
4419e9980172 Uploaded
devteam
parents:
diff changeset
61 </inputs>
4419e9980172 Uploaded
devteam
parents:
diff changeset
62
4419e9980172 Uploaded
devteam
parents:
diff changeset
63 <outputs>
4419e9980172 Uploaded
devteam
parents:
diff changeset
64 <data format="tabular" name="outFile" label="${tool.name} on ${on_string}: Summary data"/>
4419e9980172 Uploaded
devteam
parents:
diff changeset
65 </outputs>
4419e9980172 Uploaded
devteam
parents:
diff changeset
66
4419e9980172 Uploaded
devteam
parents:
diff changeset
67 <tests>
4419e9980172 Uploaded
devteam
parents:
diff changeset
68 <test>
4419e9980172 Uploaded
devteam
parents:
diff changeset
69 <param name="reference_source_selector" value="history" />
4419e9980172 Uploaded
devteam
parents:
diff changeset
70 <param name="minimum_mapping_quality" value="20" />
4419e9980172 Uploaded
devteam
parents:
diff changeset
71 <param name="minimum_base_quality" value="20" />
4419e9980172 Uploaded
devteam
parents:
diff changeset
72 <param name="coverage_cap" value="250" />
4419e9980172 Uploaded
devteam
parents:
diff changeset
73 <param name="ref_file" value="picard_CollectWgsMetrics_ref.fa" />
4419e9980172 Uploaded
devteam
parents:
diff changeset
74 <param name="inputFile" value="picard_CollectWgsMetrics.bam" ftype="bam" />
4419e9980172 Uploaded
devteam
parents:
diff changeset
75 <output name="outFile" file="picard_CollectWgsMetrics_test1.tab" ftype="tabular" lines_diff="4"/>
4419e9980172 Uploaded
devteam
parents:
diff changeset
76 </test>
4419e9980172 Uploaded
devteam
parents:
diff changeset
77 </tests>
4419e9980172 Uploaded
devteam
parents:
diff changeset
78
4419e9980172 Uploaded
devteam
parents:
diff changeset
79 <stdio>
4419e9980172 Uploaded
devteam
parents:
diff changeset
80 <exit_code range="1:" level="fatal"/>
4419e9980172 Uploaded
devteam
parents:
diff changeset
81 </stdio>
4419e9980172 Uploaded
devteam
parents:
diff changeset
82
4419e9980172 Uploaded
devteam
parents:
diff changeset
83 <help>
4419e9980172 Uploaded
devteam
parents:
diff changeset
84
4419e9980172 Uploaded
devteam
parents:
diff changeset
85 .. class:: infomark
4419e9980172 Uploaded
devteam
parents:
diff changeset
86
4419e9980172 Uploaded
devteam
parents:
diff changeset
87 **Purpose**
4419e9980172 Uploaded
devteam
parents:
diff changeset
88
4419e9980172 Uploaded
devteam
parents:
diff changeset
89 Computes a number of metrics that are useful for evaluating coverage and performance of whole genome sequencing experiments.
4419e9980172 Uploaded
devteam
parents:
diff changeset
90
4419e9980172 Uploaded
devteam
parents:
diff changeset
91 @dataset_collections@
4419e9980172 Uploaded
devteam
parents:
diff changeset
92
4419e9980172 Uploaded
devteam
parents:
diff changeset
93 @description@
4419e9980172 Uploaded
devteam
parents:
diff changeset
94
4419e9980172 Uploaded
devteam
parents:
diff changeset
95 MINIMUM_MAPPING_QUALITY=Integer
4419e9980172 Uploaded
devteam
parents:
diff changeset
96 MQ=Integer Minimum mapping quality for a read to contribute coverage. Default value: 20.
4419e9980172 Uploaded
devteam
parents:
diff changeset
97
4419e9980172 Uploaded
devteam
parents:
diff changeset
98 MINIMUM_BASE_QUALITY=Integer
4419e9980172 Uploaded
devteam
parents:
diff changeset
99 Q=Integer Minimum base quality for a base to contribute coverage. Default value: 20.
4419e9980172 Uploaded
devteam
parents:
diff changeset
100
4419e9980172 Uploaded
devteam
parents:
diff changeset
101 COVERAGE_CAP=Integer
4419e9980172 Uploaded
devteam
parents:
diff changeset
102 CAP=Integer Treat bases with coverage exceeding this value as if they had coverage at this value.
4419e9980172 Uploaded
devteam
parents:
diff changeset
103 Default value: 250.
4419e9980172 Uploaded
devteam
parents:
diff changeset
104
4419e9980172 Uploaded
devteam
parents:
diff changeset
105 @more_info@
4419e9980172 Uploaded
devteam
parents:
diff changeset
106
4419e9980172 Uploaded
devteam
parents:
diff changeset
107 </help>
4419e9980172 Uploaded
devteam
parents:
diff changeset
108 </tool>
4419e9980172 Uploaded
devteam
parents:
diff changeset
109
4419e9980172 Uploaded
devteam
parents:
diff changeset
110