Mercurial > repos > devteam > vcfsort
annotate vcfsort.xml @ 5:dd44c3f416c3 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit 9a0c41967765d120a8fc519c0c7f09cbe3a6efbe"
author | iuc |
---|---|
date | Fri, 03 Sep 2021 21:14:45 +0000 |
parents | f0580efedada |
children | ee60203e68d9 |
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> |
5
dd44c3f416c3
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit 9a0c41967765d120a8fc519c0c7f09cbe3a6efbe"
iuc
parents:
4
diff
changeset
|
6 <requirements> |
dd44c3f416c3
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit 9a0c41967765d120a8fc519c0c7f09cbe3a6efbe"
iuc
parents:
4
diff
changeset
|
7 <requirement type="package" version="8.31">coreutils</requirement> |
dd44c3f416c3
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfsort commit 9a0c41967765d120a8fc519c0c7f09cbe3a6efbe"
iuc
parents:
4
diff
changeset
|
8 </requirements> |
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
|
9 <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
|
10 (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
|
11 ]]></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
|
12 <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
|
13 <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
|
14 </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
|
15 <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
|
16 <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
|
17 </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
|
18 <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
|
19 <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
|
20 <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
|
21 <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
|
22 </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
|
23 </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
|
24 <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
|
25 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
|
26 |
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 (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
|
28 |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
29 .. 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
|
30 |
40296713cd82
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfsort commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
0
diff
changeset
|
31 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
|
32 </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
|
33 </tool> |