Mercurial > repos > iuc > freyja_demix
annotate freyja_demix.xml @ 1:c0a0e79d7196 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 26266f43c51f3f711ecd3a7dc6aea581a3b57fc5
author | iuc |
---|---|
date | Fri, 07 Jul 2023 05:51:15 +0000 |
parents | fc6252e78d5b |
children |
rev | line source |
---|---|
0
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
1 <tool id="freyja_demix" name="Freyja: Demix" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
2 profile="@PROFILE@"> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
3 <description> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
4 lineage abundances |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
5 </description> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
6 <macros> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
7 <import>macros.xml</import> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
8 </macros> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
9 <expand macro="biotools"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
10 <expand macro="requirements"> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
11 <requirement type="package" version="4.7">sed</requirement> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
12 </expand> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
13 <expand macro="version"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
14 <command detect_errors="exit_code"><![CDATA[ |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
15 @RUN_FREYJA_UPDATE_COMMAND@ |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
16 #if str($sample_name.source) == 'auto': |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
17 #set $sn = $variants_in.element_identifier |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
18 #else: |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
19 #set $sn = str($sample_name.name) |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
20 #end if |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
21 #set $in_file = $sn.replace(' ', '_') + '.' + $variants_in.ext |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
22 ln -s '$variants_in' $in_file && |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
23 freyja demix |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
24 '$in_file' |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
25 '$depth_file' |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
26 #if $eps |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
27 --eps $eps |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
28 #end if |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
29 #if $meta |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
30 --meta '$meta' |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
31 #end if |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
32 $confirmedonly |
1
c0a0e79d7196
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 26266f43c51f3f711ecd3a7dc6aea581a3b57fc5
iuc
parents:
0
diff
changeset
|
33 $wgisaid |
0
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
34 @CUSTOM_BARCODES_COMMAND@ |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
35 --covcut $depth_cutoff |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
36 --output abundances_raw.tsv && |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
37 sed 's/$in_file/$sn/' abundances_raw.tsv > abundances.tsv |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
38 ]]></command> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
39 <inputs> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
40 <param name="variants_in" type="data" format="tabular" |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
41 label="Dataset with input variant calls" |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
42 help="This can be a VCF dataset, or the tabular calls output of freayja call or ivar variants."/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
43 <conditional name="sample_name"> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
44 <param name="source" type="select" label="Set sample name" |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
45 help="Select autodetect to have the dataset or collection element name used as the sample name, or, for a single input dataset, provide an explicit sample name."> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
46 <option value="auto">Autodetect sample name</option> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
47 <option value="manual">Specify sample name explicitly</option> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
48 </param> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
49 <when value="auto"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
50 <when value="manual"> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
51 <param name="name" type="text" label="Name of the sample"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
52 </when> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
53 </conditional> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
54 <expand macro="demixing_common_options"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
55 <param name="depth_cutoff" argument="--covcut" type="integer" min="0" value="10" |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
56 multiple="true" |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
57 label="Depth cutoff for coverage estimate" |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
58 help="In the result file the coverage value will provide the 10x coverage estimate (percent of sites with 10 or greater reads- 10 is the default but can be modfied in this field. "/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
59 </inputs> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
60 <outputs> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
61 <data name="abundances" format="tabular" |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
62 label="${tool.name} on ${on_string}: Lineages abundances summary" |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
63 from_work_dir="abundances.tsv"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
64 </outputs> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
65 <tests> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
66 <!-- Test 01: manual name sample --> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
67 <test expect_num_outputs="1"> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
68 <param name="variants_in" value="variants.tsv"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
69 <param name="depth_file" value="depths.tsv"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
70 <conditional name="usher_update_option"> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
71 <param name="choice" value="repo"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
72 </conditional> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
73 <conditional name="sample_name"> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
74 <param name="source" value="manual"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
75 <param name="name" value="samplename"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
76 </conditional> |
1
c0a0e79d7196
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 26266f43c51f3f711ecd3a7dc6aea581a3b57fc5
iuc
parents:
0
diff
changeset
|
77 <output name="abundances"> |
0
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
78 <assert_contents> |
1
c0a0e79d7196
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 26266f43c51f3f711ecd3a7dc6aea581a3b57fc5
iuc
parents:
0
diff
changeset
|
79 <has_n_columns n="2" /> |
c0a0e79d7196
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 26266f43c51f3f711ecd3a7dc6aea581a3b57fc5
iuc
parents:
0
diff
changeset
|
80 <has_text text="AY.48"/> |
0
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
81 </assert_contents> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
82 </output> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
83 </test> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
84 <!-- Test 02: autoname sample --> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
85 <test expect_num_outputs="1"> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
86 <param name="variants_in" value="variants.tsv"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
87 <param name="depth_file" value="depths.tsv"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
88 <conditional name="usher_update_option"> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
89 <param name="choice" value="repo"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
90 </conditional> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
91 <conditional name="sample_name"> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
92 <param name="source" value="auto"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
93 </conditional> |
1
c0a0e79d7196
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 26266f43c51f3f711ecd3a7dc6aea581a3b57fc5
iuc
parents:
0
diff
changeset
|
94 <output name="abundances"> |
0
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
95 <assert_contents> |
1
c0a0e79d7196
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 26266f43c51f3f711ecd3a7dc6aea581a3b57fc5
iuc
parents:
0
diff
changeset
|
96 <has_n_columns n="2" /> |
c0a0e79d7196
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 26266f43c51f3f711ecd3a7dc6aea581a3b57fc5
iuc
parents:
0
diff
changeset
|
97 <has_text text="AY.48"/> |
0
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
98 </assert_contents> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
99 </output> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
100 </test> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
101 </tests> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
102 <help><![CDATA[ |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
103 @HELP_HEADER@ |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
104 |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
105 **Freyja demix** estimates lineage abundances in a potentially multi-lineage input sample. |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
106 |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
107 Inputs |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
108 ====== |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
109 |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
110 The tool requires as input a dataset with called variants and a dataset with genome-wide sequencing depth information. |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
111 Both types of data can be produced with *Freyja call*, but the tool accepts variant calls also in VCF format. |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
112 |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
113 Note |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
114 ---- |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
115 |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
116 For single samples it is recommended to select "Specify sample name explicitly" |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
117 under "Set sample name". |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
118 |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
119 To use this tool on multiple samples in parallel, please provide two |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
120 collections in the same sample sort order - one with the variant calls, the |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
121 other one with the sequencing depths - and select "Autodetect sample name", |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
122 which will use collection element identifiers as the names of the samples. |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
123 This will produce a new collection of demixing reports that can be passed to |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
124 *Freyja: Aggregate and visualize* with sample names preserved. |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
125 |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
126 Selection of multiple regular called variants and depth datasets is discouraged |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
127 since proper dataset pairing cannot be guaranteed! |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
128 |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
129 Outputs |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
130 ======= |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
131 |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
132 The tool produces tabular output that includes the lineages detected in the sample, their corresponding abundances, and a lineage summary by constellation. |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
133 |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
134 Example output: |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
135 |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
136 ========== =================================================== |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
137 filename |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
138 summarized [('Delta', 0.65), ('Other', 0.25), ('Alpha', 0.1')] |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
139 lineages ['B.1.617.2' 'B.1.2' 'AY.6' 'Q.3'] |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
140 abundances "[0.5 0.25 0.15 0.1]" |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
141 resid 3.14159 |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
142 coverage 95.8 |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
143 ========== =================================================== |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
144 |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
145 |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
146 Where *summarized* denotes a sum of all lineage abundances in a particular WHO designation (i.e. B.1.617.2 and AY.6 abundances are summed in the above example), otherwise they are grouped into "Other". The *lineage* array lists the identified lineages in descending order, and *abundances* contains the corresponding abundances estimates. The value of *resid* corresponds to the residual of the weighted least absolute devation problem used to estimate lineage abundances. The *coverage* value provides the 10x coverage estimate (percent of sites with 10 or greater reads- 10 is the default but can be modfied using the *--covcut* option). |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
147 ]]></help> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
148 <expand macro="citations"/> |
fc6252e78d5b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freyja commit 2036e233d159a5c4b3b06ce6a681531259098f73
iuc
parents:
diff
changeset
|
149 </tool> |