annotate cooc_mutbamscan.xml @ 3:cd0484c5f9f1 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 43a520ebfbf379e815fb2397da6bbf360666e385
author iuc
date Mon, 02 Oct 2023 19:59:25 +0000
parents d58a57db7a96
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
373c1735d31f 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@"
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
2 profile="@PROFILE@">
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
3 <description>
1
9f1660129403 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
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
5 </description>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
6 <macros>
373c1735d31f 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>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
8 </macros>
373c1735d31f 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
9f1660129403 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">
9f1660129403 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>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
12 </expand>
0
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
13 <expand macro="version"/>
373c1735d31f 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
9f1660129403 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
9f1660129403 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
9f1660129403 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 &&
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
18
9f1660129403 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':
9f1660129403 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
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
21 @VOCDIR_COMMAND@
9f1660129403 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
9f1660129403 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':
9f1660129403 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 &&
9f1660129403 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':
9f1660129403 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 &&
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
27 #else:
9f1660129403 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 &&
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
29 #end if
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
30 #end if
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
31
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
32 ## run cojac
9f1660129403 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
9f1660129403 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
9f1660129403 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.
9f1660129403 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
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
37 -p inputs
9f1660129403 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
9f1660129403 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':
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
40 -m voc/
9f1660129403 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
9f1660129403 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
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
43 #else
1
9f1660129403 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'
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
45 #end if
9f1660129403 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:
9f1660129403 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
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
48 #end if
9f1660129403 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:
9f1660129403 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
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
51 #end if
9f1660129403 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:
9f1660129403 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
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
54 #end if
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
55 ]]></command>
1
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
56 <configfiles>
9f1660129403 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:
9f1660129403 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('/', '_')
9f1660129403 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/' &&
9f1660129403 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' &&
9f1660129403 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' &&
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
62 #end for
9f1660129403 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)
9f1660129403 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."
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
65 ]]></configfile>
9f1660129403 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:
9f1660129403 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)])
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
68 $line
9f1660129403 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>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
70 </configfiles>
0
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
71 <inputs>
1
9f1660129403 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"/>
9f1660129403 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">
9f1660129403 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?">
9f1660129403 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>
9f1660129403 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
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
77 </param>
1
9f1660129403 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">
9f1660129403 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"/>
9f1660129403 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">
9f1660129403 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">
9f1660129403 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
d58a57db7a96 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
9f1660129403 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>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
85 </param>
9f1660129403 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">
9f1660129403 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."/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
88 </when>
9f1660129403 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">
9f1660129403 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."/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
91 </when>
9f1660129403 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">
9f1660129403 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" />
9f1660129403 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."/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
95 </when>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
96 </conditional>
9f1660129403 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"/>
9f1660129403 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."/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
99 </when>
9f1660129403 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">
9f1660129403 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"
9f1660129403 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
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
103 </when>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
104 </conditional>
1
9f1660129403 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">
9f1660129403 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"
9f1660129403 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.">
9f1660129403 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>
9f1660129403 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>
9f1660129403 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>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
111 </param>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
112 </section>
0
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
113 </inputs>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
114 <outputs>
1
9f1660129403 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)">
9f1660129403 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
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
117 </data>
1
9f1660129403 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)">
9f1660129403 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
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
120 </data>
1
9f1660129403 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)">
9f1660129403 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
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
123 </data>
1
9f1660129403 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">
9f1660129403 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
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
126 </data>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
127 </outputs>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
128 <tests>
373c1735d31f 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/ -->
373c1735d31f 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
9f1660129403 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"/>
9f1660129403 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">
9f1660129403 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">
9f1660129403 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"/>
9f1660129403 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">
9f1660129403 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">
9f1660129403 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" />
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
138 </collection>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
139 </param>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
140 </conditional>
9f1660129403 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">
9f1660129403 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"/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
143 </conditional>
0
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
144 </conditional>
1
9f1660129403 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">
9f1660129403 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"/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
147 </section>
0
373c1735d31f 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">
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
149 <assert_contents>
373c1735d31f 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"/>
373c1735d31f 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"/>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
152 </assert_contents>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
153 </output>
373c1735d31f 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">
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
155 <assert_contents>
373c1735d31f 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"/>
373c1735d31f 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"/>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
158 </assert_contents>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
159 </output>
373c1735d31f 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">
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
161 <assert_contents>
373c1735d31f 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"/>
373c1735d31f 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"/>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
164 </assert_contents>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
165 </output>
373c1735d31f 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">
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
167 <assert_contents>
373c1735d31f 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"/>
373c1735d31f 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"/>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
170 </assert_contents>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
171 </output>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
172 </test>
1
9f1660129403 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
373c1735d31f 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
9f1660129403 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"/>
9f1660129403 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">
9f1660129403 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
373c1735d31f 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"/>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
179 </conditional>
1
9f1660129403 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">
9f1660129403 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"/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
182 </section>
9f1660129403 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">
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
184 <assert_contents>
9f1660129403 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"/>
9f1660129403 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"/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
187 </assert_contents>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
188 </output>
9f1660129403 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">
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
190 <assert_contents>
9f1660129403 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"/>
9f1660129403 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"/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
193 </assert_contents>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
194 </output>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
195 </test>
9f1660129403 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 -->
9f1660129403 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">
9f1660129403 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"/>
9f1660129403 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">
9f1660129403 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">
9f1660129403 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"/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
202 </conditional>
9f1660129403 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">
9f1660129403 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"/>
9f1660129403 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"/>
9f1660129403 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"/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
207 </conditional>
9f1660129403 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"/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
209 </conditional>
9f1660129403 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">
9f1660129403 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"/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
212 </section>
9f1660129403 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">
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
214 <assert_contents>
9f1660129403 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"/>
9f1660129403 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"/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
217 </assert_contents>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
218 </output>
9f1660129403 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">
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
220 <assert_contents>
9f1660129403 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"/>
9f1660129403 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"/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
223 </assert_contents>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
224 </output>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
225 </test>
9f1660129403 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 -->
9f1660129403 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">
9f1660129403 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"/>
9f1660129403 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">
9f1660129403 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">
9f1660129403 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"/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
232 </conditional>
9f1660129403 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">
9f1660129403 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"/>
9f1660129403 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"/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
236 </conditional>
9f1660129403 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"/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
238 </conditional>
9f1660129403 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">
9f1660129403 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"/>
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
241 </section>
0
373c1735d31f 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">
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
243 <assert_contents>
373c1735d31f 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"/>
373c1735d31f 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"/>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
246 </assert_contents>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
247 </output>
373c1735d31f 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">
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
249 <assert_contents>
373c1735d31f 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"/>
373c1735d31f 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"/>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
252 </assert_contents>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
253 </output>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
254 </test>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
255 </tests>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
256 <help><![CDATA[
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
257 @HELP_HEADER@
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
258
1
9f1660129403 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**
9f1660129403 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
260 ===========================================
0
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
261
1
9f1660129403 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.
9f1660129403 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
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
264 ]]></help>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
265 <expand macro="citations"/>
373c1735d31f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
266 </tool>