Mercurial > repos > iuc > freyja_demix
annotate macros.xml @ 0:d4a1c2f9e843 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
| author | iuc |
|---|---|
| date | Thu, 28 Jul 2022 09:23:22 +0000 |
| parents | |
| children | e638a133d318 |
| rev | line source |
|---|---|
|
0
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
2 <macros> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
3 <token name="@TOOL_VERSION@">1.3.8</token> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
4 <token name="@VERSION_SUFFIX@">0</token> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
5 <token name="@PROFILE@">21.01</token> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
6 <xml name="biotools"> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
7 <xrefs> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
8 <xref type="bio.tools">freyja</xref> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
9 </xrefs> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
10 </xml> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
11 <xml name="requirements"> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
12 <requirements> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
13 <requirement type="package" version="@TOOL_VERSION@">freyja</requirement> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
14 <yield/> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
15 </requirements> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
16 </xml> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
17 <xml name="version"> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
18 <version_command>freyja --version</version_command> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
19 </xml> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
20 <token name="@RUN_FREYJA_UPDATE_COMMAND@"><![CDATA[ |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
21 #if $usher_update_option.choice == 'update' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
22 freyja update && |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
23 #end if |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
24 ]]></token> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
25 <token name="@PREPROCESS_VCF_INPUT@"><![CDATA[ |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
26 ln -s '$variants_file' 'variants_file.vcf' && |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
27 ]]></token> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
28 <token name="@STANDARD_INPUT_FOR_BOOT@"><![CDATA[ |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
29 #if $variants_file.ext == 'vcf' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
30 'variants_file.vcf' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
31 #else |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
32 '$variants_file' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
33 #end if |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
34 '$depth_file' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
35 #if $eps |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
36 --eps '${eps}' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
37 #end if |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
38 #if $meta |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
39 --meta '${meta}' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
40 #end if |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
41 $confirmedonly |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
42 ]]></token> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
43 <token name="@CUSTOM_BARCODES_COMMAND@"><![CDATA[ |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
44 #if $usher_update_option.choice == 'custom' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
45 --barcodes '${usher_update_option.usher_barcodes}' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
46 #end if |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
47 ]]></token> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
48 <token name="@DASH_COMMAND@"><![CDATA[ |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
49 echo '${plot_format.plot_title}' > plot_title.txt && |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
50 echo '${plot_format.plot_intro}' > plot_intro.txt && |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
51 freyja dash |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
52 #if $need_aggregation.choice == 'no' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
53 '$tsv_aggregated' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
54 #else |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
55 'aggregated.tsv' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
56 #end if |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
57 '$plot_format.csv_meta' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
58 plot_title.txt |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
59 plot_intro.txt |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
60 --output abundances_dashboard.html |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
61 ]]></token> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
62 <token name="@PLOT_COMMAND@"><![CDATA[ |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
63 freyja plot |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
64 #if $need_aggregation.choice == 'no' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
65 '$tsv_aggregated' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
66 #else |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
67 'aggregated.tsv' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
68 #end if |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
69 --output abundances_plot.pdf |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
70 #if $plot_format.csv_meta |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
71 --times '${plot_format.csv_meta}' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
72 #end if |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
73 #if $plot_format.interval == 'MS' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
74 --interval MS |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
75 #else |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
76 --interval D |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
77 --windowsize 70 |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
78 #end if |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
79 ]]></token> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
80 <token name="@PLOT_AND_DASH_COMMAND@"><![CDATA[ |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
81 #if $plot_format.choice == 'dash' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
82 @DASH_COMMAND@ |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
83 #else if $plot_format.choice == 'plot' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
84 freyja plot |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
85 #if $need_aggregation.choice == 'no' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
86 $tsv_aggregated |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
87 #else |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
88 aggregated.tsv |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
89 #end if |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
90 --output abundances_plot.pdf |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
91 #if $plot_format.need_metadata.choice == 'yes' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
92 --times '${plot_format.need_metadata.csv_meta}' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
93 #if $plot_format.need_metadata.interval == 'MS' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
94 --interval MS |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
95 #else |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
96 --interval D |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
97 --windowsize 70 |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
98 #end if |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
99 #end if |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
100 #else if $plot_format.choice == 'plot_and_dash' |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
101 @DASH_COMMAND@ && |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
102 @PLOT_COMMAND@ |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
103 #end if |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
104 ]]></token> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
105 <xml name="demixing_common_options"> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
106 <param name="depth_file" type="data" format="tabular" label="Sequencing depth file"/> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
107 <conditional name="usher_update_option"> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
108 <param name="choice" type="select" label="Source of UShER barcodes data" |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
109 help="Freyja ships with an usher_barcodes.csv file, which the tool can access internally. Since this file gets updated rather frequently, you can also download the latest version of the file from https://github.com/andersen-lab/Freyja/raw/main/freyja/data/usher_barcodes.csv, set the dataset's datatype to csv and use it as a custom barcodes file."> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
110 <option value="repo" selected="true">Use data shipped with the tool (can be |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
111 outdated) |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
112 </option> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
113 <option value="custom">Provide a custom barcodes file</option> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
114 <!--<option value="update">Get updated versions of the curated lineage file as well as the UShER global phylogenetic tree (can cause tool to run slowly)</option>--> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
115 </param> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
116 <when value="repo"/> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
117 <when value="custom"> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
118 <param name="usher_barcodes" type="data" format="csv" label="UShER barcodes file"/> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
119 </when> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
120 <!--<when value="update" />--> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
121 </conditional> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
122 <param argument="--meta" type="data" format="json" optional="true" |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
123 label="Custom lineage metadata file" |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
124 help="For additional flexibility and reproducibility of analyses, a custom lineage-to-contellation mapping metadata file can be provided."/> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
125 <param argument="--eps" type="float" optional="true" |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
126 label="Minimum lineage abundance tp include" |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
127 help="e.g. 0.0001."/> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
128 <param argument="--confirmedonly" type="boolean" truevalue="--confirmedonly" falsevalue="" |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
129 checked="false" |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
130 label="Remove unconfirmed lineages from the analysis" |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
131 help="If the UShER tree includes proposed lineages, the --confirmedonly flag removes unconfirmed lineages from the analysis."/> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
132 </xml> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
133 <token name="@HELP_HEADER@"><![CDATA[ |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
134 What it does |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
135 ============ |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
136 |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
137 Freyja is a tool to recover relative lineage abundances from mixed SARS-CoV-2 samples from a sequencing dataset (BAM aligned to the Hu-1 reference). |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
138 |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
139 General information |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
140 =================== |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
141 |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
142 Freyja is a tool to recover relative lineage abundances from mixed SARS-CoV-2 samples from a sequencing dataset (BAM aligned to the Hu-1 reference). The method uses lineage-determining mutational "barcodes" derived from the UShER global phylogenetic tree as a basis set to solve the constrained (unit sum, non-negative) de-mixing problem. |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
143 |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
144 Freyja is intended as a post-processing step after primer trimming and variant calling in iVar (Grubaugh and Gangavaparu et al., 2019). From measurements of SNV freqency and sequencing depth at each position in the genome, Freyja returns an estimate of the true lineage abundances in the sample. |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
145 ]]></token> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
146 <xml name="citations"> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
147 <citations> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
148 <citation type="doi">10.5281/zenodo.6585067</citation> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
149 </citations> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
150 </xml> |
|
d4a1c2f9e843
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
151 </macros> |
