Mercurial > repos > devteam > vcfsort
annotate vcfsort.xml @ 1:40296713cd82 draft
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
author | devteam |
---|---|
date | Thu, 15 Sep 2016 16:53:50 -0400 |
parents | 433d50620231 |
children | a8c5440d69e3 |
rev | line source |
---|---|
1
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
1 <tool id="vcfsort" name="VCFsort:" version="@WRAPPER_VERSION@.0"> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
2 <description>Sort VCF dataset by coordinate</description> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
3 <command>(grep ^"#" "${input1}"; grep -v ^"#" "${input1}" | LC_ALL=C sort -k1,1 -k2,2n -V) > "${out_file1}"</command> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
4 <inputs> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
5 <param format="vcf" name="input1" type="data" label="Select VCF dataset"/> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
6 </inputs> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
7 <outputs> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
8 <data format="vcf" name="out_file1" /> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
9 </outputs> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
10 <tests> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
11 <test> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
12 <param name="input1" value="vcfsort-test1-input.vcf"/> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
13 <output name="out_file1" file="vcfsort-test1.vcf"/> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
14 </test> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
15 </tests> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
16 <help> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
17 |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
18 This tool uses native UNIX sort command to order VCF dataset in coordinate order. For technically inclined the command is:: |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
19 |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
20 (grep ^"#" INPUT_file ; grep -v ^"#" INPUT_file | LC_ALL=C sort -k1,1 -k2,2n -V) > OUTPUT_file |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
21 |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
22 .. class:: infomark |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
23 |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
24 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). |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
25 |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
26 </help> |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
27 </tool> |