annotate varscan_pileup.xml @ 0:48d49a58161c draft default tip

Uploaded
author greg
date Mon, 20 Feb 2023 19:39:59 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
48d49a58161c Uploaded
greg
parents:
diff changeset
1 <tool id="varscan_pileup" name="VarScan pileup" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
48d49a58161c Uploaded
greg
parents:
diff changeset
2 <description>for variant detection</description>
48d49a58161c Uploaded
greg
parents:
diff changeset
3 <macros>
48d49a58161c Uploaded
greg
parents:
diff changeset
4 <import>macros.xml</import>
48d49a58161c Uploaded
greg
parents:
diff changeset
5 </macros>
48d49a58161c Uploaded
greg
parents:
diff changeset
6 <expand macro="requirements"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
48d49a58161c Uploaded
greg
parents:
diff changeset
8 varscan ${cmd} '${input}'
48d49a58161c Uploaded
greg
parents:
diff changeset
9 --min-coverage ${min_coverage}
48d49a58161c Uploaded
greg
parents:
diff changeset
10 --min-reads2 ${min_reads2}
48d49a58161c Uploaded
greg
parents:
diff changeset
11 --min-avg-qual ${min_avg_qual}
48d49a58161c Uploaded
greg
parents:
diff changeset
12 --min-var-freq ${min_var_freq}
48d49a58161c Uploaded
greg
parents:
diff changeset
13 --min-freq-for-hom ${min_freq_for_hom}
48d49a58161c Uploaded
greg
parents:
diff changeset
14 --p-value ${p_value}
48d49a58161c Uploaded
greg
parents:
diff changeset
15 --output-vcf 1 > '$output'
48d49a58161c Uploaded
greg
parents:
diff changeset
16 ]]></command>
48d49a58161c Uploaded
greg
parents:
diff changeset
17 <inputs>
48d49a58161c Uploaded
greg
parents:
diff changeset
18 <param name="input" format="pileup" type="data" label="Samtools pileup file"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
19 <param name="cmd" type="select" label="Analysis type">
48d49a58161c Uploaded
greg
parents:
diff changeset
20 <option value="pileup2snp" selected="True">Identify SNPs from a pileup file</option>
48d49a58161c Uploaded
greg
parents:
diff changeset
21 <option value="pileup2indel">Identify indels a pileup file</option>
48d49a58161c Uploaded
greg
parents:
diff changeset
22 <option value="pileup2cns">Call consensus and variants from a pileup file</option>
48d49a58161c Uploaded
greg
parents:
diff changeset
23 </param>
48d49a58161c Uploaded
greg
parents:
diff changeset
24 <param argument="--min-coverage" type="integer" value="8" min="1" max="200" label="Minimum coverage"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
25 <param argument="--min-reads2" type="integer" value="2" min="1" max="200" label="Minimum supporting reads"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
26 <param argument="--min-avg-qual" type="integer" value="15" min="1" max="50" label="Minimum base quality" help="The minimum base quality at the variant position required to use a read for calling"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
27 <param argument="--min-var-freq" type="float" value="0.01" min="0" max="1" label="Minimum variant allele frequency" help="Minimum variant allele frequency required for calling a variant"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
28 <param argument="--min-freq-for-hom" type="float" value="0.75" min="0" max="1" label="Minimum homozygous variant allele frequency" help="Minimum variant allele frequency (default: 0.75) required for calling a homozygous genotype"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
29 <param argument="--p-value" type="float" value="0.01" min="0" max="1" label="Default p-value threshold for calling variants"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
30 </inputs>
48d49a58161c Uploaded
greg
parents:
diff changeset
31 <outputs>
48d49a58161c Uploaded
greg
parents:
diff changeset
32 <data name="output" format="vcf"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
33 </outputs>
48d49a58161c Uploaded
greg
parents:
diff changeset
34 <tests>
48d49a58161c Uploaded
greg
parents:
diff changeset
35 <test>
48d49a58161c Uploaded
greg
parents:
diff changeset
36 <param name="input" value="input1.pileup"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
37 <param name="cmd" value="pileup2snp"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
38 <param name="min_coverage" value="15"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
39 <param name="min_avg_qual" value="15"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
40 <param name="min_var_freq" value="0.8"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
41 <param name="p_value" value="0.01"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
42 <output name="output" file="output1.vcf" ftype="vcf"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
43 </test>
48d49a58161c Uploaded
greg
parents:
diff changeset
44 </tests>
48d49a58161c Uploaded
greg
parents:
diff changeset
45
48d49a58161c Uploaded
greg
parents:
diff changeset
46 <help><![CDATA[
48d49a58161c Uploaded
greg
parents:
diff changeset
47 **VarScan Overview**
48d49a58161c Uploaded
greg
parents:
diff changeset
48
48d49a58161c Uploaded
greg
parents:
diff changeset
49 VarScan_ performs variant detection for massively parallel sequencing data, such as exome, WGS, and transcriptome data. Full documentation of the command line package is available here_.
48d49a58161c Uploaded
greg
parents:
diff changeset
50
48d49a58161c Uploaded
greg
parents:
diff changeset
51 .. _VarScan: http://dkoboldt.github.io/varscan/
48d49a58161c Uploaded
greg
parents:
diff changeset
52 .. _here: http://dkoboldt.github.io/varscan/using-varscan.html
48d49a58161c Uploaded
greg
parents:
diff changeset
53
48d49a58161c Uploaded
greg
parents:
diff changeset
54 **Input**
48d49a58161c Uploaded
greg
parents:
diff changeset
55
48d49a58161c Uploaded
greg
parents:
diff changeset
56 ::
48d49a58161c Uploaded
greg
parents:
diff changeset
57
48d49a58161c Uploaded
greg
parents:
diff changeset
58 pileup file - The SAMtools pileup file
48d49a58161c Uploaded
greg
parents:
diff changeset
59
48d49a58161c Uploaded
greg
parents:
diff changeset
60 **Output**
48d49a58161c Uploaded
greg
parents:
diff changeset
61
48d49a58161c Uploaded
greg
parents:
diff changeset
62 VarScan produces a VCF dataset as output.
48d49a58161c Uploaded
greg
parents:
diff changeset
63 ]]></help>
48d49a58161c Uploaded
greg
parents:
diff changeset
64 <expand macro="citations"/>
48d49a58161c Uploaded
greg
parents:
diff changeset
65 </tool>