annotate varscan_mpileup.xml @ 8:45288fb1f3f5 draft

planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit bd1034af3217cd9fc654d7187bf674a89465755b
author iuc
date Thu, 28 Mar 2019 18:19:19 -0400
parents d062703d6f13
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
d062703d6f13 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 30867f1f022bed18ba1c3b8dc9c54226890b3a9c
iuc
parents: 0
diff changeset
1 <tool id="varscan_mpileup" name="VarScan mpileup" version="@VERSION@.1">
0
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
2 <description>for variant detection</description>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
3 <macros>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
4 <import>macros.xml</import>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
5 </macros>
2
d062703d6f13 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 30867f1f022bed18ba1c3b8dc9c54226890b3a9c
iuc
parents: 0
diff changeset
6 <expand macro="requirements">
d062703d6f13 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 30867f1f022bed18ba1c3b8dc9c54226890b3a9c
iuc
parents: 0
diff changeset
7 <requirement type="package" version="4.2.1">gawk</requirement>
d062703d6f13 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 30867f1f022bed18ba1c3b8dc9c54226890b3a9c
iuc
parents: 0
diff changeset
8 </expand>
0
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
9 <expand macro="stdio" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
10 <command><![CDATA[
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
11 ## Set up samples list file.
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
12 #if $sample_names.strip() != '':
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
13 echo $sample_names | awk -F ',' '{ for (i = 1; i <= NF; i++) { print \$i; } }' > samples_list.txt &&
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
14 #end if
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
15
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
16 ## Set up command + input.
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
17 varscan ${cmd} '${input}'
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
18 --min-coverage ${min_coverage}
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
19 --min-reads2 ${min_reads2}
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
20 --min-avg-qual ${min_avg_qual}
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
21 --min-var-freq ${min_var_freq}
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
22 --min-freq-for-hom ${min_freq_for_hom}
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
23 --p-value ${p_value}
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
24
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
25 #if str($strand_filter) == 'yes':
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
26 --strand-filter 1
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
27 #end if
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
28
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
29 ## Report only variants in consensus.
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
30 #if str($cmd) == 'mpileup2cns':
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
31 --variants
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
32 #end if
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
33
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
34 ## Set up outputs.
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
35 --output-vcf 1 > '$output'
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
36
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
37 #if $sample_names.strip() != '':
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
38 --vcf-sample-list samples_list.txt
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
39 #end if
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
40
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
41 ]]></command>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
42 <inputs>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
43 <param name="input" format="pileup" type="data" label="Samtools pileup dataset" help=""/>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
44
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
45 <param name="cmd" type="select" label="Analysis type">
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
46 <option value="mpileup2snp" selected="True">single nucleotide variation</option>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
47 <option value="mpileup2indel">insertions and deletions</option>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
48 <option value="mpileup2cns">consensus genotype</option>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
49 </param>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
50
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
51 <expand macro="min_coverage" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
52 <expand macro="min_reads2" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
53 <expand macro="min_avg_qual" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
54 <expand macro="min_var_freq" value="0.01" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
55 <expand macro="min_freq_for_hom" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
56 <expand macro="p_value" value="0.99" label="Default p-value threshold for calling variants"/>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
57 <expand macro="strand_filter" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
58 <param name="sample_names" type="text" value="" help="Separate sample names by comma; leave blank to use default sample names."/>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
59 </inputs>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
60 <outputs>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
61 <data name="output" format="vcf"/>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
62 </outputs>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
63 <tests>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
64 <test>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
65 <param name="input" value="test_in1.pileup" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
66 <param name="cmd" value="mpileup2cns" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
67 <param name="min_coverage" value="8" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
68 <param name="min_reads2" value="2" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
69 <param name="min_avg_qual" value="15" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
70 <param name="min_var_freq" value="0.01" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
71 <param name="min_freq_for_hom" value="0.75" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
72 <param name="p_value" value="0.99" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
73 <param name="strand_filter" value="no" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
74 <param name="sample_names" value="" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
75 <output name="output" file="varscan_mpileup_result1.vcf" lines_diff="0" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
76 </test>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
77 </tests>
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
78
2
d062703d6f13 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 30867f1f022bed18ba1c3b8dc9c54226890b3a9c
iuc
parents: 0
diff changeset
79 <help><![CDATA[
d062703d6f13 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 30867f1f022bed18ba1c3b8dc9c54226890b3a9c
iuc
parents: 0
diff changeset
80 @HELP_HEADER@
0
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
81
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
82 **Input**
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
83
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
84 ::
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
85
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
86 mpileup file - The SAMtools mpileup file
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
87
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
88
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
89 **Output**
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
90
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
91 VarScan produces a VCF 4.1 dataset as output.
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
92
2
d062703d6f13 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 30867f1f022bed18ba1c3b8dc9c54226890b3a9c
iuc
parents: 0
diff changeset
93 ]]></help>
0
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
94 <expand macro="citations" />
1e667badbe87 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
95 </tool>