annotate samtools_sort.xml @ 4:1d317aeacef4 draft

Uploaded tool version 1.0.3 for samtools 1.1
author devteam
date Thu, 16 Oct 2014 12:33:26 -0400
parents 5e12c7427fa3
children 346239545aa0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
1d317aeacef4 Uploaded tool version 1.0.3 for samtools 1.1
devteam
parents: 3
diff changeset
1 <tool id="samtools_sort" name="sort" version="1.0.3">
3
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
2 <requirements>
4
1d317aeacef4 Uploaded tool version 1.0.3 for samtools 1.1
devteam
parents: 3
diff changeset
3 <requirement type="package" version="1.1">samtools</requirement>
3
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
4 </requirements>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
5 <description>a BAM file</description>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
6 <command>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
7 samtools sort
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
8 $sort_mode
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
9 "${input1}" foo
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
10 2&gt;&amp;1 || echo "Error running samtools sort." &gt;&amp;2
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
11 ;
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
12 mv foo.bam "${output1}"
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
13 </command>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
14 <inputs>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
15 <param name="input1" type="data" format="bam" label="BAM File" />
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
16 <param name="sort_mode" type="select" label="Sort by ">
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
17 <option value="" selected="True">Chromosomal coordinates</option>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
18 <option value="-n">Read names</option>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
19 </param>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
20 </inputs>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
21 <outputs>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
22 <data name="output1" format="bam" />
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
23 </outputs>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
24 <tests>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
25 <test>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
26 <param name="input1" value="1.bam" ftype="bam" />
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
27 <output name="output1" file="1_sort.bam" ftype="bam" sort="True"/>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
28 </test>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
29 </tests>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
30 <help>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
31
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
32 **What it does**
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
33
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
34 This tool uses the SAMTools_ toolkit to sort alignments by leftmost coordinates or read names.
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
35
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
36 .. _SAMTools: http://samtools.sourceforge.net/samtools.shtml
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
37
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
38 ------
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
39
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
40 **Citation**
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
41
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
42 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;`_
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
43
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
44 If you use this tool in Galaxy, please cite Blankenberg D, et al. *In preparation.*
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
45
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
46 </help>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
47 </tool>