Mercurial > repos > devteam > picard1106
diff picard_SortSam.xml @ 39:70c2d93ea217 draft
Uploaded
author | devteam |
---|---|
date | Thu, 13 Feb 2014 21:23:28 -0500 |
parents | |
children | c810e9bc55af |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/picard_SortSam.xml Thu Feb 13 21:23:28 2014 -0500 @@ -0,0 +1,48 @@ +<tool name="Sort Sam" id="picard_SortSam" version="1.106.0"> +<!-- adapted from https://github.com/najoshi/ucd-biocore-galaxy/blob/master/tools/picard/picard_SortSam.xml --> + <requirements><requirement type="package">picard</requirement></requirements> + <command interpreter="python"> + picard_wrapper.py + --input "$inputFile" + -s "$sort_order" + -o "$outFile" + --output-format $outputFormat + -j "${GALAXY_DATA_INDEX_DIR}/shared/jars/picard/SortSam.jar" + </command> + <inputs> + <param format="bam,sam" name="inputFile" type="data" label="SAM/BAM dataset to be sorted" + help="If empty, upload or import a SAM/BAM dataset." /> + <param name="sort_order" type="select" label="Sort order"> + <option value="coordinate" selected="True">coordinate</option> + <option value="queryname">queryname</option> + <option value="unsorted">unsorted</option> + </param> + <param name="outputFormat" type="boolean" checked="True" truevalue="bam" falsevalue="sam" label="Output BAM instead of SAM" help="Uncheck for SAM output" /> + </inputs> + <outputs> + <data name="outFile" format="bam" label="${tool.name} on ${on_string}: ${outputFormat}" /> + <change_format> + <when input="outputFormat" value="sam" format="sam" /> + </change_format> + </outputs> + <help> + +SortSam + +USAGE: SortSam [options] + +Documentation: http://picard.sourceforge.net/command-line-overview.shtml#SortSam + +Sorts the input SAM or BAM. + +Input and output formats are determined by file extension. +Option Description +INPUT=File The BAM or SAM file to sort. Required. +OUTPUT=File The sorted BAM or SAM output file. Required. +SORT_ORDER=SortOrder Sort order of output file Required. Possible values: {unsorted, queryname, coordinate} + </help> +</tool> + + + +