Mercurial > repos > nml > quasitools
annotate callaavar.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 |
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="aavariants" name="Amino Acid 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 amino acid 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 |
9
18aad692772a
planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents:
8
diff
changeset
|
9 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
|
10 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
|
11 |
18aad692772a
planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents:
8
diff
changeset
|
12 quasitools call aavar '${input_bam.name}' $ref_file $input_genes |
7
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
13 |
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
14 #if $var_file: |
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
15 $var_file |
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
16 #end if |
0
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
17 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
18 #if $mutation_db: |
7
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
19 $mutation_db |
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
20 #end if |
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
21 |
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
22 #if $min_freq: |
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
23 -f $min_freq |
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
24 #end if |
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
25 |
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
26 #if $error_rate: |
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
27 -e $error_rate |
0
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
28 #end if |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
29 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
30 -o output.vcf |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
31 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
32 ]]></command> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
33 <inputs> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
34 <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
|
35 <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
|
36 <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
|
37 <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
|
38 <param name="mutation_db" type="data" format="tsv" optional="true" label="Mutation DB" help="Not required. Defaults to HIV mutation database." /> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
39 <param name="min_freq" type="float" optional="true" min="0" max="1" label="Minimum frequency" value="0.01" help="The minimum required frequency. Defaults to 0.01." /> |
7
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
40 <param name="error_rate" type="float" optional="true" min="0" max="1" value="0.0021" label="Error rate" help="Estimated sequencing error rate. Defaults to 0.0021."/> |
0
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
41 </inputs> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
42 <outputs> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
43 <data format="vcf" name="output" from_work_dir="output.vcf" /> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
44 </outputs> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
45 <tests> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
46 <test> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
47 <param name="input_bam" value="align.bam" /> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
48 <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
|
49 <param name="var_file" value="nt_variants.vcf" /> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
50 <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
|
51 <param name="min_freq" value="0.01" /> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
52 <output name="output" > |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
53 <assert_contents> |
8
9def47f3c1e4
planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
7
diff
changeset
|
54 <has_text_matching expression="#CHROM"/> |
9def47f3c1e4
planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
7
diff
changeset
|
55 <has_text_matching expression="0.0779" /> |
9def47f3c1e4
planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
7
diff
changeset
|
56 <has_text_matching expression="0.0103;CAT=.;SRVL=." /> |
9def47f3c1e4
planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
7
diff
changeset
|
57 <has_text_matching expression="0.0163;CAT=.;SRVL=." /> |
9def47f3c1e4
planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
7
diff
changeset
|
58 <has_text_matching expression="0.0148;CAT=.;SRVL=." /> |
9def47f3c1e4
planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
7
diff
changeset
|
59 <has_text_matching expression="0.0234;CAT=.;SRVL=." /> |
9def47f3c1e4
planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
7
diff
changeset
|
60 <has_text_matching expression="0.0159;CAT=.;SRVL=." /> |
0
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
61 </assert_contents> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
62 </output> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
63 </test> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
64 </tests> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
65 <help><![CDATA[ |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
66 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
67 Amino Acid Variants |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
68 =================== |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
69 |
7
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
70 Identifies amino acid mutations for a BAM file. |
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
71 |
dcd43b402eb3
planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents:
5
diff
changeset
|
72 |
0
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
73 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
74 ]]></help> |
9
18aad692772a
planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents:
8
diff
changeset
|
75 <expand macro="citations" /> |
0
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
76 </tool> |