Mercurial > repos > nml > quasitools
annotate callcodonvar.xml @ 6:9fb9fed71486 draft
planemo upload for repository https://github.com/phac-nml/quasitools commit 59e7cd4a6042f14a07488489a1dc3b05ee3bc15c
author | nml |
---|---|
date | Fri, 12 Oct 2018 09:16:03 -0400 |
parents | b69e898b8109 |
children | dcd43b402eb3 |
rev | line source |
---|---|
5
b69e898b8109
planemo upload for repository https://github.com/phac-nml/quasitools commit e30c0687f755a46c5b3bd265a1478a1abf5dc9f1
nml
parents:
4
diff
changeset
|
1 <tool id="callcodonvar" name="Codon Variants" version="0.4.2"> |
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> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
3 <requirements> |
5
b69e898b8109
planemo upload for repository https://github.com/phac-nml/quasitools commit e30c0687f755a46c5b3bd265a1478a1abf5dc9f1
nml
parents:
4
diff
changeset
|
4 <requirement type="package" version="0.4.2">quasitools</requirement> |
0
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
5 </requirements> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
6 <command detect_errors="exit_code"><![CDATA[ |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
7 |
5
b69e898b8109
planemo upload for repository https://github.com/phac-nml/quasitools commit e30c0687f755a46c5b3bd265a1478a1abf5dc9f1
nml
parents:
4
diff
changeset
|
8 cat $input_genes && |
0
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
9 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
10 ln -f -s ${input_bam.metadata.bam_index} ${input_bam}.bai && |
5
b69e898b8109
planemo upload for repository https://github.com/phac-nml/quasitools commit e30c0687f755a46c5b3bd265a1478a1abf5dc9f1
nml
parents:
4
diff
changeset
|
11 quasitools call codonvar $input_bam $ref_file $offset $input_genes |
0
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
12 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
13 #if $error_rate: |
5
b69e898b8109
planemo upload for repository https://github.com/phac-nml/quasitools commit e30c0687f755a46c5b3bd265a1478a1abf5dc9f1
nml
parents:
4
diff
changeset
|
14 -e $error_rate |
0
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
15 #end if |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
16 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
17 -o output.csv |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
18 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
19 ]]></command> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
20 <inputs> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
21 <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
|
22 <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
|
23 <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
|
24 <param name="input_genes" type="data" format="bed" optional="false" label="Gene file" /> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
25 <param name="error_rate" type="float" optional="true" min="0" max="1" label="Error rate" value="0.01" help="Estimated sequencing error rate. Defaults to 0.01." /> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
26 </inputs> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
27 <outputs> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
28 <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
|
29 </outputs> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
30 <tests> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
31 <test> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
32 <param name="input_bam" value="align.bam" /> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
33 <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
|
34 <param name="offset" value="1269"/> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
35 <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
|
36 <output name="output" > |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
37 <assert_contents> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
38 <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
|
39 <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
|
40 </assert_contents> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
41 </output> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
42 </test> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
43 </tests> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
44 <help><![CDATA[ |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
45 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
46 Codon Variants |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
47 ============== |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
48 |
5
b69e898b8109
planemo upload for repository https://github.com/phac-nml/quasitools commit e30c0687f755a46c5b3bd265a1478a1abf5dc9f1
nml
parents:
4
diff
changeset
|
49 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
|
50 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
|
51 a synonymous or non-synonymous mutation. |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
52 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
53 ]]></help> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
54 <citations> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
55 </citations> |
2
a7093d5933a8
planemo upload for repository https://github.com/phac-nml/quasitools commit de4309426401ce655435d6867b05c3673b9d086f
nml
parents:
0
diff
changeset
|
56 </tool> |