Mercurial > repos > iuc > vg_deconstruct
annotate deconstruct.xml @ 1:76d18b1e970b draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit b991ebbd9f59ffff1b3eae09f65b59b02ad7cf8e
author | iuc |
---|---|
date | Thu, 23 Jun 2022 07:46:24 +0000 |
parents | a347dad1f305 |
children |
rev | line source |
---|---|
1
76d18b1e970b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit b991ebbd9f59ffff1b3eae09f65b59b02ad7cf8e
iuc
parents:
0
diff
changeset
|
1 <tool id="vg_deconstruct" name="vg deconstruct" version="@TOOL_VERSION@+galaxy1"> |
0
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
2 <description>construct a dynamic succinct variation graph</description> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
3 <macros> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
5 </macros> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
8 ln -s '$infile' ./infile.${infile.ext} && |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
9 |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
10 vg deconstruct |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
11 #if $path: |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
12 --path '${','.join([$p for $p in $path])}' |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
13 #end if |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
14 #if $path_prefix |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
15 --path-prefix '${','.join([$p for $p in $path_prefix])}' |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
16 #end if |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
17 #if $alt_prefix |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
18 --alt-prefix '${','.join([$p for $p in $alt_prefix])}' |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
19 #end if |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
20 #if $snarls: |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
21 --snarls '$snarls' |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
22 #end if |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
23 $path_traversals ## -e |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
24 --threads=\${GALAXY_SLOTS:-1} |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
25 ./infile.${infile.ext} |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
26 |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
27 > '$output' |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
28 |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
29 ]]></command> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
30 <inputs> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
31 <param name="infile" type="data" format="xg,odgi" label="Graph files" /> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
32 <param argument="--path" type="text" value="" label="A reference path to deconstruct against" |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
33 help="comma-separated list accepted"> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
34 <sanitizer> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
35 <valid initial="string.printable"> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
36 <remove value="'"/> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
37 </valid> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
38 </sanitizer> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
39 </param> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
40 <param argument="--path-prefix" type="text" value="" label="All paths beginning with this value used as reference" |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
41 help="comma-separated list accepted"> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
42 <sanitizer> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
43 <valid initial="string.printable"> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
44 <remove value="'"/> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
45 </valid> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
46 </sanitizer> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
47 </param> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
48 <param argument="--alt-prefix" type="text" value="" label="Non-reference paths beginning with with this value get lumped together to same sample in VCF" |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
49 help="comma-separated list accepted"> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
50 <sanitizer> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
51 <valid initial="string.printable"> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
52 <remove value="'"/> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
53 </valid> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
54 </sanitizer> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
55 </param> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
56 <param argument="--snarls" type="data" format="xg,odgi" label="Snarls files" optional="true" |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
57 help="from `vg snarls` to avoid recomputing" /> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
58 |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
59 <param argument="--path-traversals" type="boolean" truevalue="--path-traversals" falsevalue="" checked="false" |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
60 label="Only consider traversals that correspond to paths in the grpah" /> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
61 </inputs> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
62 <outputs> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
63 <data name="output" format="vcf" /> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
64 </outputs> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
65 <tests> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
66 <test> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
67 <param name="infile" value="hla.xg" /> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
68 <param name="path" value="gi|568815592:29791752-29792749" /> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
69 <param name="path_traversals" value="true" /> |
1
76d18b1e970b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit b991ebbd9f59ffff1b3eae09f65b59b02ad7cf8e
iuc
parents:
0
diff
changeset
|
70 <output name="output" file="hla_variants.vcf" sort="true" /> |
0
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
71 </test> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
72 </tests> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
73 <help><![CDATA[ |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
74 variation graph (vg) deconstruct module |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
75 ----------------------------------- |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
76 |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
77 Creates VCF records for Snarls present in a graph (relative to a chosen reference path). |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
78 |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
79 ]]></help> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
80 <expand macro="citations"> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
81 </expand> |
a347dad1f305
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
iuc
parents:
diff
changeset
|
82 </tool> |