annotate varscan_vaf.xml @ 0:0b6ec297a6bc draft default tip

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
author artbio
date Mon, 28 Nov 2022 21:59:34 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
1 <tool id="varscan_vaf" name="Compute VAFs from varscan VCFs" version="0.1">
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
2 <description />
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
3 <requirements>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
4 <requirement type="package" version="3.7.6">python</requirement>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
5 </requirements>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
7 python $__tool_directory__/varscan_vaf.py
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
8 --input '$input'
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
9 --output '$output'
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
10 ]]></command>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
11 <inputs>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
12 <param format="vcf" label="VCF file" name="input" type="data"
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
13 help="a VCF file generated by somatic varscan (normal and tumor genotype),
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
14 or having a compatible FORMAT column (9th column)"/>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
15 </inputs>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
16 <outputs>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
17 <data format="vcf" name="output" label="VCF with computed VAFs" />
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
18 </outputs>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
19 <tests>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
20 <test>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
21 <param ftype="vcf" name="input" value="vcf_1.vcf" />
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
22 <output file="computed_VAFs_1.vcf" name="output" />
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
23 </test>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
24 <test>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
25 <param ftype="vcf" name="input" value="vcf_2.vcf" />
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
26 <output file="computed_VAFs_2.vcf" name="output" />
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
27 </test>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
28 </tests>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
29 <help>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
30
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
31 **What it does**
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
32
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
33 + Computes VAFs in normal and tumor samples.
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
34 + Uses AD field of genotypes (##FORMAT ID=AD), composed of REF and ALT Read depths, separated by a comma.
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
35 + A new genotype field 'VAF" (##FORMAT IF=VAF) is generated
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
36 + VAF = AD(ALT) / (AD(ALT) + AD(REF))
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
37
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
38 -------
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
39
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
40 **Inputs**
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
41
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
42 1. A somatic varscan VCF with AD field in third position.
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
43 2. The AD field must be composed of two integers separated by a comma.
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
44
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
45 -------
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
46
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
47 **Output**
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
48
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
49 + A VCF file
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
50 + A line '##FORMAT=&lt;ID=VAF,Number=R,Type=float,Description="Variant Allele Frequency"&gt;' is added in the header
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
51 + The VAF value is added in both normal and tumor genotype column, as a last field
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
52
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
53 </help>
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
54 <citations />
0b6ec297a6bc planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/varscan_vaf commit ff9426700b78da43ad64bf4905d358ee4986127b
artbio
parents:
diff changeset
55 </tool>