annotate vcfsort.xml @ 1:586f4536fc65 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
author devteam
date Mon, 03 Oct 2016 11:22:55 -0400
parents 59d4413e75eb
children d92d6f631ff5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
1 <tool id="vcfsort" name="VCFsort:" version="@WRAPPER_VERSION@.0">
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
2 <description>Sort VCF dataset by coordinate</description>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
3 <macros>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
4 <import>macros.xml</import>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
5 </macros>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
6 <command>(grep ^"#" "${input1}"; grep -v ^"#" "${input1}" | LC_ALL=C sort -k1,1 -k2,2n -V) > "${out_file1}"</command>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
7 <inputs>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
8 <param format="vcf" name="input1" type="data" label="Select VCF dataset"/>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
9 </inputs>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
10 <outputs>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
11 <data format="vcf" name="out_file1" />
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
12 </outputs>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
13 <tests>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
14 <test>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
15 <param name="input1" value="vcfsort-test1-input.vcf"/>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
16 <output name="out_file1" file="vcfsort-test1.vcf"/>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
17 </test>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
18 </tests>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
19 <help>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
20
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
21 This tool uses native UNIX sort command to order VCF dataset in coordinate order. For technically inclined the command is::
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
22
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
23 (grep ^"#" INPUT_file ; grep -v ^"#" INPUT_file | LC_ALL=C sort -k1,1 -k2,2n -V) > OUTPUT_file
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
24
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
25 .. class:: infomark
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
26
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
27 The same result can be achieved with the Galaxy's general purpose sort tool (in this case sort on the first and the second column in ascending order).
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
28
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
29 </help>
586f4536fc65 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit b94a1012a2c76e77564f504543e90a692a8de562
devteam
parents: 0
diff changeset
30 </tool>