# HG changeset patch # User martenson # Date 1410404775 14400 # Node ID 4cafbe1d2ea6533c73661ffb42e0be9e88ed8933 initial commit diff -r 000000000000 -r 4cafbe1d2ea6 samtools_sort.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/samtools_sort.xml Wed Sep 10 23:06:15 2014 -0400 @@ -0,0 +1,899 @@ + + + + + + + + + + + + + galaxytools/samtools_sort.xml at master · bgruening/galaxytools + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content +
+ + + + + + +
+
+ + + + + + + + + + + + + + +
+
+ + + + + + +
+
+
+ +
+
+
+ +
    + +
  • +
    + +
    + + + + + Watch + + + +
    + +
    +
    + +
    +
  • + +
  • + +
    + +
    + + +
    +
    + + +
    + +
  • + + +
  • + + + Fork + + +
  • + +
+ +

+ + /galaxytools + + + + + +

+
+
+ +
+
+
+ +
+ +
+ +
+ + +
+

HTTPS clone URL

+
+ + + + +
+
+ + +
+

SSH clone URL

+
+ + + + +
+
+ + +
+

Subversion checkout URL

+
+ + + + +
+
+ + +

You can clone with + HTTPS, + SSH, + or Subversion. + + + +

+ + + + Clone in Desktop + + + + + + Download ZIP + +
+
+ +
+ + + + + + +
+ +
+ + + branch: + master + + + +
+ +
+ + + + +
+ + +
+ + +
+
+ Björn Grüning + + + +
+ + + +
+ +
+
+
+
+ 48 lines (39 sloc) + + 1.653 kb +
+
+
+ Raw + Blame + History +
+ + + + + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
<tool id="samtools_sort" name="sort" version="1.0.2">
<requirements>
<requirement type="package" version="0.1.19">samtools</requirement>
</requirements>
<description>a BAM file</description>
<command>
samtools sort
$sort_mode
"${input1}" foo
2&gt;&amp;1 || echo "Error running samtools sort." &gt;&amp;2
;
mv foo.bam "${output1}"
</command>
<inputs>
<param name="input1" type="data" format="bam" label="BAM File" />
<param name="sort_mode" type="select" label="Sort by ">
<option value="" selected="True">Chromosomal coordinates</option>
<option value="-n">Read names</option>
</param>
</inputs>
<outputs>
<data name="output1" format="bam" />
</outputs>
<tests>
<test>
<param name="input1" value="1.bam" ftype="bam" />
<output name="output1" file="1_sort.bam" ftype="bam" sort="True"/>
</test>
</tests>
<help>
+
**What it does**
+
This tool uses the SAMTools_ toolkit to sort alignments by leftmost coordinates or read names.
+
.. _SAMTools: http://samtools.sourceforge.net/samtools.shtml
+
------
+
**Citation**
+
For the underlying tool, please cite `Li H, Handsaker B, Wysoker A, Fennell T, Ruan J, Homer N, Marth G, Abecasis G, Durbin R; 1000 Genome Project Data Processing Subgroup. The Sequence Alignment/Map format and SAMtools. Bioinformatics. 2009 Aug 15;25(16):2078-9. &lt;http://www.ncbi.nlm.nih.gov/pubmed/19505943&gt;`_
+
If you use this tool in Galaxy, please cite Blankenberg D, et al. *In preparation.*
+
</help>
</tool>
+ +
+ +
+
+ +Jump to Line + + +
+ +
+ +
+
+ + +
+ +
+ +
+ + +
+
+
+ +
+
+ +
+ + + +
+ + + Something went wrong with that request. Please try again. +
+ + + + + + + + + + diff -r 000000000000 -r 4cafbe1d2ea6 test-data/1.bam --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/1.bam Wed Sep 10 23:06:15 2014 -0400 @@ -0,0 +1,677 @@ + + + + + + + + + + + + + galaxytools/1.bam at master · bgruening/galaxytools + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content +
+ + + + + + +
+
+ + + + + + + + + + + + + + +
+
+ + + + + + +
+
+
+ +
+
+
+ +
    + +
  • +
    + +
    + + + + + Watch + + + +
    + +
    +
    + +
    +
  • + +
  • + +
    + +
    + + +
    +
    + + +
    + +
  • + + +
  • + + + Fork + + +
  • + +
+ +

+ + /galaxytools + + + + + +

+
+
+ +
+
+
+ +
+ +
+ +
+ + +
+

HTTPS clone URL

+
+ + + + +
+
+ + +
+

SSH clone URL

+
+ + + + +
+
+ + +
+

Subversion checkout URL

+
+ + + + +
+
+ + +

You can clone with + HTTPS, + SSH, + or Subversion. + + + +

+ + + + Clone in Desktop + + + + + + Download ZIP + +
+
+ +
+ + + + + + +
+ +
+ + + branch: + master + + + +
+ +
+ + + + +
+ + +
+ + +
+
+ Fetching contributors… +
+ +
+

+

Cannot retrieve contributors at this time

+
+
+ +
+
+
+
+ 3.592 kb +
+
+
+ Raw + History +
+ + + + + + + + + +
+
+ +
+
+ View Raw +
+
+ +
+
+ +Jump to Line + + +
+ +
+ +
+
+ + +
+ +
+ +
+ + +
+
+
+ +
+
+ +
+ + + +
+ + + Something went wrong with that request. Please try again. +
+ + + + + + + + + + diff -r 000000000000 -r 4cafbe1d2ea6 test-data/1_sort.bam --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/1_sort.bam Wed Sep 10 23:06:15 2014 -0400 @@ -0,0 +1,677 @@ + + + + + + + + + + + + + galaxytools/1_sort.bam at master · bgruening/galaxytools + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content +
+ + + + + + +
+
+ + + + + + + + + + + + + + +
+
+ + + + + + +
+
+
+ +
+
+
+ +
    + +
  • +
    + +
    + + + + + Watch + + + +
    + +
    +
    + +
    +
  • + +
  • + +
    + +
    + + +
    +
    + + +
    + +
  • + + +
  • + + + Fork + + +
  • + +
+ +

+ + /galaxytools + + + + + +

+
+
+ +
+
+
+ +
+ +
+ +
+ + +
+

HTTPS clone URL

+
+ + + + +
+
+ + +
+

SSH clone URL

+
+ + + + +
+
+ + +
+

Subversion checkout URL

+
+ + + + +
+
+ + +

You can clone with + HTTPS, + SSH, + or Subversion. + + + +

+ + + + Clone in Desktop + + + + + + Download ZIP + +
+
+ +
+ + + + + + +
+ +
+ + + branch: + master + + + +
+ +
+ + + + +
+ + +
+ + +
+
+ Fetching contributors… +
+ +
+

+

Cannot retrieve contributors at this time

+
+
+ +
+
+
+
+ 3.491 kb +
+
+
+ Raw + History +
+ + + + + + + + + +
+
+ +
+
+ View Raw +
+
+ +
+
+ +Jump to Line + + +
+ +
+ +
+
+ + +
+ +
+ +
+ + +
+
+
+ +
+
+ +
+ + + +
+ + + Something went wrong with that request. Please try again. +
+ + + + + + + + + + diff -r 000000000000 -r 4cafbe1d2ea6 tool_dependencies.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Wed Sep 10 23:06:15 2014 -0400 @@ -0,0 +1,727 @@ + + + + + + + + + + + + + galaxytools/tool_dependencies.xml at master · bgruening/galaxytools + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content +
+ + + + + + +
+
+ + + + + + + + + + + + + + +
+
+ + + + + + +
+
+
+ +
+
+
+ +
    + +
  • +
    + +
    + + + + + Watch + + + +
    + +
    +
    + +
    +
  • + +
  • + +
    + +
    + + +
    +
    + + +
    + +
  • + + +
  • + + + Fork + + +
  • + +
+ +

+ + /galaxytools + + + + + +

+
+
+ +
+
+
+ +
+ +
+ +
+ + +
+

HTTPS clone URL

+
+ + + + +
+
+ + +
+

SSH clone URL

+
+ + + + +
+
+ + +
+

Subversion checkout URL

+
+ + + + +
+
+ + +

You can clone with + HTTPS, + SSH, + or Subversion. + + + +

+ + + + Clone in Desktop + + + + + + Download ZIP + +
+
+ +
+ + + + + + +
+ +
+ + + branch: + master + + + +
+ +
+ + + + +
+ + +
+ + +
+
+ Björn Grüning + + + +
+ + + +
+ +
+
+
+
+ 7 lines (6 sloc) + + 0.191 kb +
+
+
+ Raw + Blame + History +
+ + + + + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
<?xml version="1.0"?>
<tool_dependency>
<package name="samtools" version="0.1.19">
<repository name="package_samtools_0_1_19" owner="devteam" />
</package>
</tool_dependency>
+ +
+ +
+
+ +Jump to Line + + +
+ +
+ +
+
+ + +
+ +
+ +
+ + +
+
+
+ +
+
+ +
+ + + +
+ + + Something went wrong with that request. Please try again. +
+ + + + + + + + + +