annotate picard_SortSam.xml @ 0:5166ed57b1c4 draft

Uploaded version 1.135
author avowinkel
date Mon, 06 Jul 2015 14:46:32 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
1 <tool id="picard_SortSam" name="SortSam" version="1.135">
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
2 <description>sort SAM/BAM dataset</description>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
3 <macros>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
4 <import>picard_macros.xml</import>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
5 </macros>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
6 <expand macro="requirements" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
7 <command>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
8 @java_options@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
9 java -jar \$JAVA_JAR_PATH/picard.jar
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
10 SortSam
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
11 INPUT="${inputFile}"
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
12 OUTPUT="${outFile}"
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
13 SORT_ORDER="${sort_order}"
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
14 QUIET=true
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
15 VERBOSITY=ERROR
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
16 VALIDATION_STRINGENCY=${validation_stringency}
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
17 </command>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
18
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
19 <inputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
20 <param name="inputFile" type="data" format="sam,bam" label="Select SAM/BAM dataset or dataset collection" help="If empty, upload or import a SAM/BAM dataset"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
21 <param name="sort_order" type="select" display="radio" label="Sort order" help="SORT_ORDER; default=coordinate">
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
22 <option value="coordinate" selected="True">Coordinate</option>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
23 <option value="queryname">Queryname</option>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
24 <option value="unsorted">Unsorted</option>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
25 </param>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
26 <expand macro="VS" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
27 </inputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
28
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
29 <outputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
30 <data name="outFile" format="bam" label="${tool.name} on ${on_string}: BAM sorted in ${sort_order} order">
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
31 </data>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
32 </outputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
33
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
34 <stdio>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
35 <exit_code range="1:" level="fatal"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
36 </stdio>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
37
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
38 <tests>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
39 <test>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
40 <param name="inputFile" ftype="bam" value="picard_SortSam.bam" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
41 <param name="sort_order" value="queryname"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
42 <output name="outFile" file="picard_SortSam_test1.bam" ftype="bam" lines_diff="2"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
43 </test>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
44 </tests>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
45
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
46 <help>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
47
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
48 .. class:: infomark
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
49
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
50 **Purpose**
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
51
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
52 Sorts the input SAM or BAM.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
53
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
54 @dataset_collections@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
55
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
56 @description@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
57
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
58 SORT_ORDER=SortOrder
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
59 SO=SortOrder Sort order of output file Required. Possible values: {unsorted, queryname, coordinate}
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
60
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
61 @more_info@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
62
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
63 </help>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
64 </tool>