annotate picard_SortSam.xml @ 63:23873e28d370 draft

Uploaded
author devteam
date Tue, 18 Feb 2014 16:34:54 -0500
parents c810e9bc55af
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
39
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
1 <tool name="Sort Sam" id="picard_SortSam" version="1.106.0">
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
2 <!-- adapted from https://github.com/najoshi/ucd-biocore-galaxy/blob/master/tools/picard/picard_SortSam.xml -->
43
c810e9bc55af Uploaded
devteam
parents: 39
diff changeset
3 <requirements><requirement type="package" version="1.106.0">picard</requirement></requirements>
39
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
4 <command interpreter="python">
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
5 picard_wrapper.py
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
6 --input "$inputFile"
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
7 -s "$sort_order"
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
8 -o "$outFile"
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
9 --output-format $outputFormat
43
c810e9bc55af Uploaded
devteam
parents: 39
diff changeset
10 -j "\$JAVA_JAR_PATH/SortSam.jar"
39
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
11 </command>
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
12 <inputs>
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
13 <param format="bam,sam" name="inputFile" type="data" label="SAM/BAM dataset to be sorted"
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
14 help="If empty, upload or import a SAM/BAM dataset." />
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
15 <param name="sort_order" type="select" label="Sort order">
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
16 <option value="coordinate" selected="True">coordinate</option>
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
17 <option value="queryname">queryname</option>
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
18 <option value="unsorted">unsorted</option>
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
19 </param>
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
20 <param name="outputFormat" type="boolean" checked="True" truevalue="bam" falsevalue="sam" label="Output BAM instead of SAM" help="Uncheck for SAM output" />
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
21 </inputs>
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
22 <outputs>
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
23 <data name="outFile" format="bam" label="${tool.name} on ${on_string}: ${outputFormat}" />
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
24 <change_format>
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
25 <when input="outputFormat" value="sam" format="sam" />
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
26 </change_format>
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
27 </outputs>
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
28 <help>
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
29
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
30 SortSam
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
31
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
32 USAGE: SortSam [options]
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
33
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
34 Documentation: http://picard.sourceforge.net/command-line-overview.shtml#SortSam
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
35
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
36 Sorts the input SAM or BAM.
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
37
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
38 Input and output formats are determined by file extension.
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
39 Option Description
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
40 INPUT=File The BAM or SAM file to sort. Required.
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
41 OUTPUT=File The sorted BAM or SAM output file. Required.
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
42 SORT_ORDER=SortOrder Sort order of output file Required. Possible values: {unsorted, queryname, coordinate}
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
43 </help>
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
44 </tool>
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
45
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
46
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
47
70c2d93ea217 Uploaded
devteam
parents:
diff changeset
48