annotate callcodonvar.xml @ 9:18aad692772a draft default tip

planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
author nml
date Mon, 20 Jun 2022 20:06:36 +0000
parents 9def47f3c1e4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
1 <tool id="callcodonvar" name="Codon Variants" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
2 <description>Identifies codon variants and non-synonymous/synonymous mutations</description>
9
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
3 <macros>
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
4 <import>macros.xml</import>
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
5 </macros>
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
6 <expand macro="requirements"/>
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
8
5
b69e898b8109 planemo upload for repository https://github.com/phac-nml/quasitools commit e30c0687f755a46c5b3bd265a1478a1abf5dc9f1
nml
parents: 4
diff changeset
9 cat $input_genes &&
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
10
9
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
11 ln -s $input_bam '${input_bam.name}' &&
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
12 ln -s $input_bam.metadata.bam_index '${input_bam.name}.bai' &&
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
13
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
14 quasitools call codonvar '${input_bam.name}' $ref_file $offset $input_genes
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
15
7
dcd43b402eb3 planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents: 5
diff changeset
16 #if $var_file:
dcd43b402eb3 planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents: 5
diff changeset
17 $var_file
dcd43b402eb3 planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents: 5
diff changeset
18 #end if
dcd43b402eb3 planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents: 5
diff changeset
19
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
20 #if $error_rate:
5
b69e898b8109 planemo upload for repository https://github.com/phac-nml/quasitools commit e30c0687f755a46c5b3bd265a1478a1abf5dc9f1
nml
parents: 4
diff changeset
21 -e $error_rate
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
22 #end if
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
23
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
24 -o output.csv
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
25
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
26 ]]></command>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
27 <inputs>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
28 <param name="input_bam" type="data" format="bam" optional="false" label="Bam file" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
29 <param name="ref_file" type="data" format="fasta" optional="false" label="Reference file" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
30 <param name="offset" type="integer" optional="false" label="Offset" min="0" value="0"/>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
31 <param name="input_genes" type="data" format="bed" optional="false" label="Gene file" />
7
dcd43b402eb3 planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents: 5
diff changeset
32 <param name="error_rate" type="float" optional="true" min="0" max="1" label="Error rate" value="0.0021" help="Estimated sequencing error rate. Defaults to 0.0021." />
dcd43b402eb3 planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents: 5
diff changeset
33 <param name="var_file" type="data" format="vcf" optional="true" label="Variants file" help="Not required. If not supplied, a variants file will be generated using the input bam file." />
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
34 </inputs>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
35 <outputs>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
36 <data format="csv" name="output" from_work_dir="output.csv" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
37 </outputs>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
38 <tests>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
39 <test>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
40 <param name="input_bam" value="align.bam" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
41 <param name="ref_file" value="hxb2_pol.fas" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
42 <param name="offset" value="1269"/>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
43 <param name="input_genes" ftype="bed" value="hxb2_pol.bed" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
44 <output name="output" >
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
45 <assert_contents>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
46 <has_text text="#gene,nt position (gene),nt start position,nt end position,ref codon,mutant codon,ref AA,mutant AA,coverage,mutant frequency,mutant type,NS count,S count" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
47 <has_text text="RT,1566-2885,1872,1874,aaa,aaC,K,N,154,7.79,NS,1.0000,0.0000" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
48 </assert_contents>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
49 </output>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
50 </test>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
51 </tests>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
52 <help><![CDATA[
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
53
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
54 Codon Variants
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
55 ==============
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
56
5
b69e898b8109 planemo upload for repository https://github.com/phac-nml/quasitools commit e30c0687f755a46c5b3bd265a1478a1abf5dc9f1
nml
parents: 4
diff changeset
57 Call codon variants for a given BAM. A report is generated that details nucleotide variants within a
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
58 codon and the resulting AA variants. The report indicates whether the nucleotide variants correspond to
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
59 a synonymous or non-synonymous mutation.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
60
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
61 ]]></help>
9
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
62 <expand macro="citations" />
2
a7093d5933a8 planemo upload for repository https://github.com/phac-nml/quasitools commit de4309426401ce655435d6867b05c3673b9d086f
nml
parents: 0
diff changeset
63 </tool>