Mercurial > repos > devteam > vcfsort
annotate vcfsort.xml @ 4:f0580efedada draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit 36e9065027cc7bf721e9d203208477ee88906c57"
author | iuc |
---|---|
date | Thu, 23 Jan 2020 08:10:47 -0500 |
parents | 5b7120c66efc |
children | dd44c3f416c3 |
rev | line source |
---|---|
3
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
1 <tool id="vcfsort" name="VCFsort:" version="@WRAPPER_VERSION@+galaxy0"> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
2 <description>Sort VCF dataset by coordinate</description> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
3 <macros> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
4 <import>macros.xml</import> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
5 </macros> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
6 <command><![CDATA[ |
4
f0580efedada
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit 36e9065027cc7bf721e9d203208477ee88906c57"
iuc
parents:
3
diff
changeset
|
7 (grep ^"#" "${input1}" && grep -v ^"#" "${input1}" | LC_ALL=C sort -k1,1 -k2,2n -V) > '${out_file1}' |
3
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
8 ]]></command> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
9 <inputs> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
10 <param format="vcf" name="input1" type="data" label="Select VCF dataset"/> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
11 </inputs> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
12 <outputs> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
13 <data format="vcf" name="out_file1" /> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
14 </outputs> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
15 <tests> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
16 <test> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
17 <param name="input1" value="vcfsort-test1-input.vcf"/> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
18 <output name="out_file1" file="vcfsort-test1.vcf"/> |
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
19 </test> |
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
|
20 </tests> |
3
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
21 <help> |
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
|
22 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
|
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 (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
|
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 .. 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
|
27 |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
28 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). |
3
5b7120c66efc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
29 </help> |
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
|
30 </tool> |