annotate varscan_mpileup.xml @ 8:4c69f367c326 draft default tip

"planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 1232893782204bb041dd6ed46711295cb0bfc03f"
author iuc
date Sat, 04 Dec 2021 22:21:15 +0000
parents 83d72fb136f7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
83d72fb136f7 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 3932667bb4f6770a671141f7aab1f326e6dd1919
iuc
parents: 0
diff changeset
1 <tool id="varscan_mpileup" name="VarScan mpileup" version="@VERSION@.1">
0
99b46f1473cd 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>
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
3 <macros>
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
4 <import>macros.xml</import>
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
5 </macros>
2
83d72fb136f7 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 3932667bb4f6770a671141f7aab1f326e6dd1919
iuc
parents: 0
diff changeset
6 <expand macro="requirements">
83d72fb136f7 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 3932667bb4f6770a671141f7aab1f326e6dd1919
iuc
parents: 0
diff changeset
7 <requirement type="package" version="4.2.1">gawk</requirement>
83d72fb136f7 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 3932667bb4f6770a671141f7aab1f326e6dd1919
iuc
parents: 0
diff changeset
8 </expand>
0
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
9 <expand macro="stdio" />
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
10 <command><![CDATA[
99b46f1473cd 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.
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
12 #if $sample_names.strip() != '':
99b46f1473cd 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 &&
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
14 #end if
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
15
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
16 ## Set up command + input.
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
17 varscan ${cmd} '${input}'
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
18 --min-coverage ${min_coverage}
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
19 --min-reads2 ${min_reads2}
99b46f1473cd 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}
99b46f1473cd 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}
99b46f1473cd 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}
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
23 --p-value ${p_value}
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
24
99b46f1473cd 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':
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
26 --strand-filter 1
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
27 #end if
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
28
99b46f1473cd 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.
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
30 #if str($cmd) == 'mpileup2cns':
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
31 --variants
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
32 #end if
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
33
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
34 ## Set up outputs.
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
35 --output-vcf 1 > '$output'
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
36
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
37 #if $sample_names.strip() != '':
99b46f1473cd 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
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
39 #end if
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
40
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
41 ]]></command>
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
42 <inputs>
99b46f1473cd 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=""/>
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
44
99b46f1473cd 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">
99b46f1473cd 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>
99b46f1473cd 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>
99b46f1473cd 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>
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
49 </param>
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
50
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
51 <expand macro="min_coverage" />
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
52 <expand macro="min_reads2" />
99b46f1473cd 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" />
99b46f1473cd 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" />
99b46f1473cd 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" />
99b46f1473cd 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"/>
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
57 <expand macro="strand_filter" />
99b46f1473cd 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."/>
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
59 </inputs>
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
60 <outputs>
99b46f1473cd 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"/>
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
62 </outputs>
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
63 <tests>
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
64 <test>
99b46f1473cd 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" />
99b46f1473cd 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" />
99b46f1473cd 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" />
99b46f1473cd 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" />
99b46f1473cd 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" />
99b46f1473cd 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" />
99b46f1473cd 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" />
99b46f1473cd 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" />
99b46f1473cd 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" />
99b46f1473cd 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="" />
99b46f1473cd 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" />
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
76 </test>
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
77 </tests>
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
78
2
83d72fb136f7 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 3932667bb4f6770a671141f7aab1f326e6dd1919
iuc
parents: 0
diff changeset
79 <help><![CDATA[
83d72fb136f7 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 3932667bb4f6770a671141f7aab1f326e6dd1919
iuc
parents: 0
diff changeset
80 @HELP_HEADER@
0
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
81
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
82 **Input**
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
83
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
84 ::
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
85
99b46f1473cd 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
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
87
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
88
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
89 **Output**
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
90
99b46f1473cd 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.
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
92
2
83d72fb136f7 planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 3932667bb4f6770a671141f7aab1f326e6dd1919
iuc
parents: 0
diff changeset
93 ]]></help>
0
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
94 <expand macro="citations" />
99b46f1473cd planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/varscan commit 44c3f913e091bfdb94870ec3181390ad98711797
iuc
parents:
diff changeset
95 </tool>