Mercurial > repos > iuc > ivar_variants
annotate ivar_variants.xml @ 7:252dfb042563 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
author | iuc |
---|---|
date | Fri, 11 Jun 2021 15:42:14 +0000 |
parents | 147465efa99c |
children | 38b91a3190cd |
rev | line source |
---|---|
7
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
1 <tool id="ivar_variants" name="ivar variants" version="@VERSION@+galaxy2"> |
0
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
2 <description>Call variants from aligned BAM file</description> |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
3 <macros> |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
5 </macros> |
6
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
6 <expand macro="requirements"> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
7 <requirement type="package" version="3">python</requirement> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
8 </expand> |
0
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
9 <expand macro="version_command" /> |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
10 <command detect_errors="exit_code"><![CDATA[ |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
11 ln -s '$ref' ref.fa && |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
12 ln -s '$input_bam' sorted.bam && |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
13 samtools mpileup -A -d 0 --reference ref.fa -B -Q 0 sorted.bam | ivar variants |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
14 -p variants |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
15 -q $min_qual |
7
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
16 -t $min_freq |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
17 #if str($output_format.choice) == "tabular" or str($output_format.choice) == "tabular_and_vcf" |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
18 && cp variants.tsv '$output_variants_tabular' |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
19 #end if |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
20 #if str($output_format.choice) == 'vcf' or str($output_format.choice) == "tabular_and_vcf" |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
21 && python '${__tool_directory__}/ivar_variants_to_vcf.py' |
6
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
22 ${output_format.pass_only} |
7
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
23 variants.tsv '$output_variants_vcf' |
6
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
24 #end if |
0
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
25 ]]> </command> |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
26 <inputs> |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
27 <param name="input_bam" type="data" format="bam" label="Bam file" help="Aligned reads, to trim primers and quality"/> |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
28 <param name="ref" type="data" format="fasta" label="Reference"/> |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
29 <param name="min_qual" argument="-q" type="integer" min="1" value="20" label="Minimum quality score threshold to count base"/> |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
30 <param name="min_freq" argument="-t" type="float" min="0" max="1" value="0.03" label="Minimum frequency threshold"/> |
6
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
31 <conditional name="output_format"> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
32 <param name="choice" type="select" label="Output format"> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
33 <option value="tabular">Tabular (native tool output)</option> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
34 <option value="vcf">VCF</option> |
7
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
35 <option value="tabular_and_vcf">Both Tabular and VCF</option> |
6
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
36 </param> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
37 <when value="vcf"> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
38 <param argument="--pass_only" type="boolean" truevalue="--pass_only" falsevalue="" label="In VCF only output variants that PASS all filters" /> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
39 </when> |
7
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
40 <when value="tabular_and_vcf"> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
41 <param argument="--pass_only" type="boolean" truevalue="--pass_only" falsevalue="" label="In VCF only output variants that PASS all filters" /> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
42 </when> |
6
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
43 <when value="tabular" /> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
44 </conditional> |
0
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
45 </inputs> |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
46 <outputs> |
7
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
47 <data name="output_variants_tabular" format="tabular" label="${tool.name} tabular output on ${on_string}"> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
48 <filter>output_format['choice'] == 'tabular' or output_format['choice'] == 'tabular_and_vcf'</filter> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
49 <actions> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
50 <action name="column_names" type="metadata" default="REGION,POS,REF,ALT,REF_DP,REF_RV,REF_QUAL,ALT_DP,ALT_RV,ALT_QUAL,ALT_FREQ,TOTAL_DP,PVAL,PASS,GFF_FEATURE,REF_CODON,REF_AA,ALT_CODON,ALT_AA" /> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
51 </actions> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
52 </data> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
53 <data name="output_variants_vcf" format="vcf" label="${tool.name} VCF on ${on_string}"> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
54 <filter>output_format['choice'] == 'vcf' or output_format['choice'] == 'tabular_and_vcf'</filter> |
6
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
55 </data> |
0
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
56 </outputs> |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
57 <tests> |
6
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
58 <test expect_num_outputs="1"> |
0
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
59 <param name="input_bam" value="zika/Z52_a.masked.sorted.bam" /> |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
60 <param name="ref" value="zika/db/PRV.fa" /> |
7
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
61 <output name="output_variants_tabular" file="zika/Z52_a.tsv" ftype="tabular" lines_diff="10"/> |
6
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
62 </test> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
63 <test expect_num_outputs="1"> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
64 <param name="input_bam" value="zika/Z52_a.masked.sorted.bam" /> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
65 <param name="ref" value="zika/db/PRV.fa" /> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
66 <conditional name="output_format"> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
67 <param name="choice" value="vcf" /> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
68 </conditional> |
7
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
69 <output name="output_variants_vcf" file="zika/Z52_a.vcf" ftype="vcf"/> |
0
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
70 </test> |
7
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
71 <test expect_num_outputs="2"> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
72 <param name="input_bam" value="zika/Z52_a.masked.sorted.bam" /> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
73 <param name="ref" value="zika/db/PRV.fa" /> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
74 <conditional name="output_format"> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
75 <param name="choice" value="tabular_and_vcf" /> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
76 <param name="pass_only" value="true" /> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
77 </conditional> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
78 <output name="output_variants_tabular" file="zika/Z52_a.tsv" ftype="tabular" lines_diff="10"/> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
79 <output name="output_variants_vcf" file="zika/Z52_a_pass.vcf" ftype="vcf"/> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
80 </test> |
252dfb042563
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a"
iuc
parents:
6
diff
changeset
|
81 |
0
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
82 </tests> |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
83 <help><![CDATA[ |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
84 iVar uses the output of the samtools mpileup command to call variants - |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
85 single nucleotide variants(SNVs) and indels. In order to call variants |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
86 correctly, the reference file used for alignment must be passed to iVar |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
87 using the -r flag. The output of samtools pileup is piped into ivar variants |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
88 to generate a .tsv file with the variants. There are two parameters that can |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
89 be set for variant calling using iVar - minimum quality(Default: 20) and |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
90 minimum frequency(Default: 0.03). Minimum quality is the minimum quality for |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
91 a base to be counted towards the ungapped depth to canculate iSNV frequency |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
92 at a given position. For insertions, the quality metric is discarded and the |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
93 mpileup depth is used directly. Minimum frequency is the minimum frequency |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
94 required for a SNV or indel to be reported. |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
95 |
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
96 Documentation can be found at `<https://andersen-lab.github.io/ivar/html/manualpage.html>`_. |
6
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
97 |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
98 Optionally output is converted to VCF using a version of the `ivar_variants_to_vcf.py script <https://github.com/nf-core/viralrecon/blob/dev/bin/ivar_variants_to_vcf.py>`_, |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
99 that has been modified to store attributes in INFO fields. |
0
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
100 ]]> </help> |
6
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
101 <expand macro="citations"> |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
102 <citation type="bibtex">@misc{githubivar_variants_to_vcf, |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
103 author = {Fernandez, Sarai Varona and Patel, Harshil}, |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
104 year = {2021}, |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
105 title = {ivar_variants_to_vcf}, |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
106 url = {https://github.com/nf-core/viralrecon/blob/dev/bin/ivar_variants_to_vcf.py} |
147465efa99c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 847ec10cd36ea4f3cd4c257d5742f0fb401e364e"
iuc
parents:
0
diff
changeset
|
107 }</citation> </expand> |
0
12d66d0d05ac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
iuc
parents:
diff
changeset
|
108 </tool> |