annotate cooc_mutbamscan.xml @ 0:90d4dfb2d266 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
author iuc
date Thu, 11 Aug 2022 13:48:28 +0000
parents
children df723877bcd8
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>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
4 scan an alignment file for mutation co-occurrences
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"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
10 <expand macro="requirements"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
11 <expand macro="version"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
13 ln -s '$bed_file' 'bed_file' &&
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
14 @VOCDIR_COMMAND@
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
15 #import re
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
16 #set identifier = re.sub('[^\s\w\-\\.]', '_', str($bam_file.element_identifier))
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
17 ln -s '$bam_file' ${identifier}.bam &&
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
18 ln -s '${bam_file.metadata.bam_index}' ${identifier}.bai &&
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
19 cooc-mutbamscan
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
20 -a '${identifier}.bam'
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
21 -b 'bed_file'
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
22 -m '$vocdir'
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
23 -y cooc.yaml
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
24 -j cooc.json
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
25 #if $amplicons_file.choice == 'build'
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
26 -A amplicons.yaml
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
27 #else
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
28 -Q '$amplicons_file.in_amp'
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
29 #end if
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
30 -t cooc.tsv
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
31 --cooc $cooc
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
32 ]]></command>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
33 <inputs>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
34 <expand macro="vocdir_input"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
35 <param name="bed_file" type="data" format="bed"
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
36 label="BED file defining the amplicons"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
37 <param name="bam_file" type="data" format="bam,cram,sam"
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
38 label="Alignment BAM/CRAM/SAM file"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
39 <param argument="--cooc" type="integer" min="1" value="2"
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
40 label="Minimum number of cooccurence mutations on the same amplicon"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
41 <conditional name="amplicons_file">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
42 <param name="choice" type="select" label="Source of amplicons YAML file">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
43 <option value="build">Build from BED + set of YAMLs for variants of concern</option>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
44 <option value="custom">From history</option>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
45 </param>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
46 <when value="build"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
47 <when value="custom">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
48 <param name="in_amp" type="data" format="yaml"
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
49 label="YAML file to query amplicons"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
50 </when>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
51 </conditional>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
52 <param name="output_files" type="select" display="checkboxes"
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
53 multiple="true" label="Output files">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
54 <option value="yaml" selected="true">YAML</option>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
55 <option value="json">JSON</option>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
56 <option value="tabular">tabular</option>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
57 </param>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
58 </inputs>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
59 <outputs>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
60 <data name="cooc_yaml" format="yaml"
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
61 label="${tool.name} on ${on_string}: Mutation cooccurrence (yaml)"
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
62 from_work_dir="cooc.yaml">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
63 <filter>'yaml' in output_files</filter>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
64 </data>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
65 <data name="cooc_json" format="json"
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
66 label="${tool.name} on ${on_string}: Mutation cooccurrence (json)"
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
67 from_work_dir="cooc.json">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
68 <filter>'json' in output_files</filter>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
69 </data>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
70 <data name="cooc_tsv" format="tabular"
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
71 label="${tool.name} on ${on_string}: Mutation cooccurrence (tabular)"
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
72 from_work_dir="cooc.tsv">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
73 <filter>'tabular' in output_files</filter>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
74 </data>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
75 <data name="amplicons" format="yaml"
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
76 label="${tool.name} on ${on_string}: Amplicons (yaml)"
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
77 from_work_dir="amplicons.yaml">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
78 <filter>amplicons_file['choice'] == 'build'</filter>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
79 </data>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
80 </outputs>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
81 <tests>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
82 <!-- 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
83 <test expect_num_outputs="4">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
84 <conditional name="vocdir_option">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
85 <param name="choice" value="custom"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
86 <param name="voc_file" value="omicron_ba1_mutations.yaml"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
87 </conditional>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
88 <param name="bam_file" value="tbam11.bam"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
89 <param name="bed_file" value="nCoV-2019.insert.V3.bed"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
90 <conditional name="amplicons_file">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
91 <param name="choice" value="build"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
92 </conditional>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
93 <param name="output_files" value="yaml,json,tabular"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
94 <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
95 <assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
96 <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
97 <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
98 </assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
99 </output>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
100 <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
101 <assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
102 <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
103 <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
104 </assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
105 </output>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
106 <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
107 <assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
108 <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
109 <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
110 </assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
111 </output>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
112 <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
113 <assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
114 <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
115 <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
116 </assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
117 </output>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
118 </test>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
119 <!-- Test 2: supply yaml for amplicons and voc/ from cache -->
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
120 <test expect_num_outputs="2">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
121 <conditional name="vocdir_option">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
122 <param name="choice" value="cache"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
123 </conditional>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
124 <param name="bam_file" value="tbam11.bam"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
125 <param name="bed_file" value="nCoV-2019.insert.V3.bed"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
126 <conditional name="amplicons_file">
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
127 <param name="choice" value="custom"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
128 <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
129 </conditional>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
130 <param name="output_files" value="yaml,tabular"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
131 <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
132 <assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
133 <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
134 <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
135 </assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
136 </output>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
137 <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
138 <assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
139 <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
140 <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
141 </assert_contents>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
142 </output>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
143 </test>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
144 </tests>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
145 <help><![CDATA[
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
146 @HELP_HEADER@
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
147
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
148 Information about **cooc-mutbamscan** method
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
149 ============================================
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
150
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
151 The method scans an alignment BAM/CRAM/SAM file for mutation co-occurrences and output a JSON or YAML file.
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
152
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
153 ]]></help>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
154 <expand macro="citations"/>
90d4dfb2d266 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
155 </tool>