annotate cooc_mutbamscan.xml @ 2:1098fed28f65 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 1d5ff6cf59878101c2c5c94882d76763b47e169b
author iuc
date Fri, 25 Aug 2023 19:28:47 +0000
parents df723877bcd8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
1 <tool id="cooc_mutbamscan" name="Cojac: mutbamscan" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
2 profile="@PROFILE@">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
3 <description>
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
4 scans an alignment file for mutation co-occurrences
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
5 </description>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
6 <macros>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
7 <import>macros.xml</import>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
8 </macros>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
9 <expand macro="biotools"/>
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
10 <expand macro="requirements">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
11 <requirement type="package" version="0.1.0">viramp-hub</requirement>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
12 </expand>
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
13 <expand macro="version"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
14 <command detect_errors="exit_code"><![CDATA[
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
15 ## arrange BAM inputs and index files into a V-pipe-style folder structure
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
16 ## that cojac understands
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
17 sh arrange_samples.sh &&
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
18
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
19 #if $spec_layout.mode == 'separate':
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
20 #set $voc_config = $spec_layout.voc_source
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
21 @VOCDIR_COMMAND@
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
22 ## prepare amplicon information
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
23 #if $spec_layout.amplicon_definitions.choice == 'insert_scheme':
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
24 ln -s '$spec_layout.amplicon_definitions.insert_bed' bed_cojac.bed &&
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
25 #else if $spec_layout.amplicon_definitions.choice == 'primer_scheme':
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
26 scheme-convert '$spec_layout.amplicon_definitions.primer_bed' -t bed -b cojac -o bed_cojac.bed &&
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
27 #else:
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
28 scheme-convert '$spec_layout.amplicon_definitions.primer_bed' -t bed -b cojac -a '$spec_layout.amplicon_definitions.amplicon_info' -o bed_cojac.bed &&
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
29 #end if
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
30 #end if
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
31
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
32 ## run cojac
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
33 cojac cooc-mutbamscan
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
34 ## use a sample list file to tell cojac to look for the inputs in the
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
35 ## V-pipe-style folder stucture we've created earlier.
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
36 -s samples_list.tsv
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
37 -p inputs
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
38 -b bed_cojac.bed
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
39 #if $spec_layout.mode == 'separate':
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
40 -m voc/
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
41 -A amplicons.yaml
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
42 --cooc $spec_layout.cooc
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
43 #else
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
44 -Q '$spec_layout.in_amp'
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
45 #end if
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
46 #if 'yaml' in $out_opts.output_formats:
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
47 -y cooc.yaml
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
48 #end if
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
49 #if 'json' in $out_opts.output_formats:
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
50 -j cooc.json
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
51 #end if
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
52 #if 'tabular' in $out_opts.output_formats:
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
53 -t cooc.tsv
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
54 #end if
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
55 ]]></command>
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
56 <configfiles>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
57 <configfile filename="arrange_samples.sh"><![CDATA[#for $dataset in $mapped_input:
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
58 #set $sample_id = $dataset.element_identifier.replace("'", '_').replace('/', '_')
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
59 mkdir -p 'inputs/$sample_id/1/alignments/' &&
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
60 ln -s '$dataset' 'inputs/$sample_id/1/alignments/REF_aln.bam' &&
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
61 ln -s '$dataset.metadata.bam_index' 'inputs/$sample_id/1/alignments/REF_aln.bam.bai' &&
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
62 #end for
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
63 #set $num_samples = len($mapped_input)
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
64 echo "Gathered $num_samples sample and index files for cojac to discover from a samples list."
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
65 ]]></configfile>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
66 <configfile filename="samples_list.tsv"><![CDATA[#for $dataset in $mapped_input:
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
67 #set $line = '\t'.join([$dataset.element_identifier.replace("'", '_').replace('/', '_'), '1', str($dataset)])
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
68 $line
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
69 #end for]]></configfile>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
70 </configfiles>
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
71 <inputs>
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
72 <param name="mapped_input" type="data" format="bam" multiple="true" label="Aligned reads input to analyze"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
73 <conditional name="spec_layout">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
74 <param name="mode" type="select" label="How would you like to provide amplicon and lineage information?">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
75 <option value="separate">Separately</option>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
76 <option value="combined">Combined</option>
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
77 </param>
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
78 <when value="separate">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
79 <expand macro="vocdir_input"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
80 <conditional name="amplicon_definitions">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
81 <param name="choice" type="select" label="Format of amplicon definitions">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
82 <option value="insert_scheme">Amplicon insert scheme (Cojac-native format)</option>
2
1098fed28f65 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 1d5ff6cf59878101c2c5c94882d76763b47e169b
iuc
parents: 1
diff changeset
83 <option value="primer_scheme">Primer scheme (with autodetection of grouping into amplicons)</option>
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
84 <option value="primer_scheme_plus">Primer scheme and explicit amplicon grouping information</option>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
85 </param>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
86 <when value="insert_scheme">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
87 <param name="insert_bed" type="data" format="bed" label="Amplicon insert scheme" help="BED dataset providing the positions of the amplicon inserts (i.e. excluding the primer sequences) on the reference sequence."/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
88 </when>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
89 <when value="primer_scheme">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
90 <param name="primer_bed" type="data" format="bed" label="Primer scheme" help="The tool will attempt to autodetect the relationship between primers and amplicons based on the primer names."/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
91 </when>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
92 <when value="primer_scheme_plus">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
93 <param name="primer_bed" type="data" format="bed" label="Primer scheme" />
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
94 <param name="amplicon_info" type="data" format="tabular" label="Primers to amplicons assignments" help ="This input should have one line of tab-separated primer names (as they appear in the primer scheme) per amplicon."/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
95 </when>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
96 </conditional>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
97 <param argument="--cooc" type="integer" min="1" value="2" label="Minimum number of mutations required to co-occur on an amplicon"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
98 <param name="output_cojac_ampl" type="boolean" checked="true" label="Produce combined per-amplicon lineage definition output" help="The tool can generate a YAML-formatted report of expected co-occurrences of mutations per amplicon and lineage. This output combines amplicon scheme and lineage definitions and can be used for rerunning the tool with identical configuration in 'Combined' mode. It is also a recommended input to the cojac pubmut tool so leave this option checked if you are intending to use this downstream tool."/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
99 </when>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
100 <when value="combined">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
101 <param name="in_amp" type="data" format="yaml" label="Combined per-amplicon lineage definitions"
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
102 help="YAML-formatted report of expected co-occurrences of mutations per amplicon and lineage generated by a previous run of the tool."/>
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
103 </when>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
104 </conditional>
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
105 <section name="out_opts" title="Output options" expanded="true">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
106 <param name="output_formats" type="select" display="checkboxes" multiple="true" label="Produce output in these formats"
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
107 help="Please note that only yaml- and json-formatted results can be processed with the downstream pubmut and tabmut tools.">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
108 <option value="yaml">YAML</option>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
109 <option value="json" selected="true">JSON</option>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
110 <option value="tabular">tabular</option>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
111 </param>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
112 </section>
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
113 </inputs>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
114 <outputs>
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
115 <data name="cooc_yaml" format="yaml" from_work_dir="cooc.yaml" label="${tool.name} on ${on_string}: Mutation co-occurrence (yaml)">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
116 <filter>'yaml' in out_opts['output_formats']</filter>
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
117 </data>
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
118 <data name="cooc_json" format="json" from_work_dir="cooc.json" label="${tool.name} on ${on_string}: Mutation co-occurrence (json)">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
119 <filter>'json' in out_opts['output_formats']</filter>
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
120 </data>
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
121 <data name="cooc_tsv" format="tabular" from_work_dir="cooc.tsv" label="${tool.name} on ${on_string}: Mutation co-occurrence (tabular)">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
122 <filter>'tabular' in out_opts['output_formats']</filter>
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
123 </data>
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
124 <data name="amplicons" format="yaml" from_work_dir="amplicons.yaml" label="${tool.name} on ${on_string}: Combined per-amplicon lineage definitions">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
125 <filter>spec_layout['mode'] == 'separate' and spec_layout['output_cojac_ampl']</filter>
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
126 </data>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
127 </outputs>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
128 <tests>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
129 <!-- Test 1: build yaml for amplicons from bed and voc/ -->
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
130 <test expect_num_outputs="4">
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
131 <param name="mapped_input" value="tbam11.bam"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
132 <conditional name="spec_layout">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
133 <conditional name="voc_source">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
134 <param name="choice" value="custom"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
135 <param name="collection">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
136 <collection type="list">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
137 <element name="BA.1" ftype="yaml" value="omicron_ba1_mutations.yaml" />
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
138 </collection>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
139 </param>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
140 </conditional>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
141 <conditional name="amplicon_definitions">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
142 <param name="insert_bed" value="nCoV-2019.insert.V3.bed" ftype="bed"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
143 </conditional>
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
144 </conditional>
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
145 <section name="out_opts">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
146 <param name="output_formats" value="yaml,json,tabular"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
147 </section>
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
148 <output name="cooc_yaml" ftype="yaml">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
149 <assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
150 <has_text text="76_om1"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
151 <has_text text="81_om1"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
152 </assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
153 </output>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
154 <output name="cooc_json" ftype="json">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
155 <assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
156 <has_text text="76_om1"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
157 <has_text text="81_om1"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
158 </assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
159 </output>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
160 <output name="cooc_tsv" ftype="tabular">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
161 <assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
162 <has_text text="76_om1"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
163 <has_text text="81_om1"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
164 </assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
165 </output>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
166 <output name="amplicons" ftype="yaml">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
167 <assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
168 <has_text text="76_om1"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
169 <has_text text="81_om1"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
170 </assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
171 </output>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
172 </test>
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
173 <!-- Test 2: configure via cojac yaml -->
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
174 <test expect_num_outputs="2">
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
175 <param name="mapped_input" value="tbam11.bam"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
176 <conditional name="spec_layout">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
177 <param name="mode" value="combined"/>
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
178 <param name="in_amp" value="amplicons111.yaml"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
179 </conditional>
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
180 <section name="out_opts">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
181 <param name="output_formats" value="yaml,tabular"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
182 </section>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
183 <output name="cooc_yaml" ftype="yaml">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
184 <assert_contents>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
185 <has_text text="76_om1"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
186 <has_text text="81_om1"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
187 </assert_contents>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
188 </output>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
189 <output name="cooc_tsv" ftype="tabular">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
190 <assert_contents>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
191 <has_text text="76_om1"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
192 <has_text text="81_om1"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
193 </assert_contents>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
194 </output>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
195 </test>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
196 <!-- Test 3: use computed cojac format amplicon definitions from 2 files -->
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
197 <test expect_num_outputs="2">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
198 <param name="mapped_input" value="tbam11.bam"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
199 <conditional name="spec_layout">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
200 <conditional name="voc_source">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
201 <param name="choice" value="builtin"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
202 </conditional>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
203 <conditional name="amplicon_definitions">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
204 <param name="choice" value="primer_scheme_plus"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
205 <param name="primer_bed" value="primers.bed" ftype="bed"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
206 <param name="amplicon_info" value="ampl_info.tsv"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
207 </conditional>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
208 <param name="output_cojac_ampl" value="false"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
209 </conditional>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
210 <section name="out_opts">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
211 <param name="output_formats" value="yaml,tabular"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
212 </section>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
213 <output name="cooc_yaml" ftype="yaml">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
214 <assert_contents>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
215 <has_text text="76_om1"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
216 <has_text text="81_om1"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
217 </assert_contents>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
218 </output>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
219 <output name="cooc_tsv" ftype="tabular">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
220 <assert_contents>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
221 <has_text text="76_om1"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
222 <has_text text="81_om1"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
223 </assert_contents>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
224 </output>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
225 </test>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
226 <!-- Test 4: test primer scheme as input -->
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
227 <test expect_num_outputs="2">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
228 <param name="mapped_input" value="tbam11.bam"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
229 <conditional name="spec_layout">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
230 <conditional name="voc_source">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
231 <param name="choice" value="builtin"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
232 </conditional>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
233 <conditional name="amplicon_definitions">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
234 <param name="choice" value="primer_scheme"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
235 <param name="primer_bed" value="primers.bed" ftype="bed"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
236 </conditional>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
237 <param name="output_cojac_ampl" value="false"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
238 </conditional>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
239 <section name="out_opts">
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
240 <param name="output_formats" value="yaml,tabular"/>
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
241 </section>
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
242 <output name="cooc_yaml" ftype="yaml">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
243 <assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
244 <has_text text="76_om1"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
245 <has_text text="81_om1"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
246 </assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
247 </output>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
248 <output name="cooc_tsv" ftype="tabular">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
249 <assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
250 <has_text text="76_om1"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
251 <has_text text="81_om1"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
252 </assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
253 </output>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
254 </test>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
255 </tests>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
256 <help><![CDATA[
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
257 @HELP_HEADER@
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
258
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
259 Information about **cojac cooc-mutbamscan**
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
260 ===========================================
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
261
1
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
262 The tool scans an alignment BAM/CRAM/SAM file for mutation co-occurrences.
df723877bcd8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
263 It can report its findings in json, yaml and/or tabular format.
0
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
264 ]]></help>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
265 <expand macro="citations"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
266 </tool>