annotate vcf2maf.xml @ 0:2973994fecd6 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
author iuc
date Tue, 28 Jun 2022 21:07:04 +0000
parents
children e8510e04a86a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
1 <tool id="vcf2maf" name="Convert VCF to MAF" version="@TOOL_VERSION@">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
2 <description>with vcf2maf</description>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
3 <macros>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
4 <token name="@TOOL_VERSION@">1.6.21</token>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
5 <token name="@DB_VERSION@">106</token>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
6 </macros>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
7 <requirements>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
8 <requirement type="package" version="@TOOL_VERSION@">vcf2maf</requirement>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
9 <requirement type="package" version="@DB_VERSION@.1">ensembl-vep</requirement>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
10 </requirements>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
12 ln -s '${input1}' MainInput.vcf &&
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
13 #if $ref_seq.ref_source == "cached":
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
14 ln -s '${ref_seq.ref.fields.path}' reference.fa &&
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
15 #elif $ref_seq.ref_source == "history":
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
16 ln -s '${ref_seq.ref}' reference.fa &&
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
17 #end if
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
18 vcf2maf.pl --input-vcf MainInput.vcf --output-maf MainOutput.maf --ref-fasta reference.fa
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
19 #if $annotation_cache.source == "no_vep":
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
20 --inhibit-vep
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
21 #else:
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
22 --vep-path \$(dirname \$(which vep))
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
23 --vep-data '${annotation_cache.cache_file.fields.path}'
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
24 --species '${annotation_cache.cache_file.fields.species}'
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
25 --ncbi-build '${annotation_cache.cache_file.fields.value.split($annotation_cache.cache_file.fields.version + "_")[-1]}'
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
26 #if $annotation_cache.cache_file.fields.version != "@DB_VERSION@": --cache-version $annotation_cache.cache_file.fields.version
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
27 #end if
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
28
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
29 #if $tumor_id:
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
30 --tumor-id '${tumor_id}'
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
31 #end if
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
32 #if $normal_id:
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
33 --normal-id '${normal_id}'
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
34 #end if
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
35 #if $vcf_tumor_id:
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
36 --vcf-tumor-id '${vcf_tumor_id}'
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
37 #end if
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
38 #if $vcf_normal_id:
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
39 --vcf-normal-id '${vcf_normal_id}'
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
40 #end if
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
41
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
42 #if $adv_opt.any_allele:
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
43 --any-allele
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
44 #end if
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
45 #if $adv_opt.min_hom_vaf:
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
46 --min-hom-vaf $adv_opt.min_hom_vaf
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
47 #end if
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
48 #if $adv_opt.maf_center:
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
49 --maf-center '${adv_opt.maf_center}'
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
50 #end if
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
51 #if $adv_opt.retain_info:
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
52 --retain-info '${adv_opt.retain_info}'
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
53 #end if
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
54 #if $adv_opt.retain_fmt:
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
55 --retain-fmt '${adv_opt.retain_fmt}'
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
56 #end if
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
57 #if $adv_opt.retain_ann:
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
58 --retain-ann '${adv_opt.retain_ann}'
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
59 #end if
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
60 ]]></command>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
61 <inputs>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
62 <param type="data" name="input1" label="VCF input file" format="vcf">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
63 <validator type="unspecified_build" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
64 </param>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
65 <conditional name="ref_seq">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
66 <param name="ref_source" type="select" label="Select FASTA file as reference sequence">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
67 <option value="cached">Locally cached</option>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
68 <option value="history">History</option>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
69 </param>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
70 <when value="cached">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
71 <param name="ref" type="select" label="Select reference sequence">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
72 <options from_data_table="fasta_indexes">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
73 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
74 </options>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
75 </param>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
76 </when>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
77 <when value="history">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
78 <param name="ref" type="data" format="fasta" label="Select reference sequence" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
79 </when>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
80 </conditional>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
81 <conditional name="annotation_cache">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
82 <param name="source" type="select" label="Select the source of annotation data if you want to use VEP" help="vcf2maf can utilize Ensembl's VEP to select a single effect per variant. VEP can only be used if SIFT is available for the selected genome assembly. Ensembl strongly recommends to only use annotation cache files with a version number matching the VEP version. You can disable the corresponding filtering of available cache files at your own risk.">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
83 <option value="no_vep" selected="true">Do not use VEP</option>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
84 <option value="restricted">Use VEP with a cache file with matching version number</option>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
85 <option value="unrestricted">Use VEP with any cache file</option>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
86 </param>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
87 <when value="no_vep"/>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
88 <when value="restricted">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
89 <param name="cache_file" type="select" label="Select annotation cache file" help="If the annotation data of interest is not listed, have a look at all available cache files regardless of their version number or contact your Galaxy admin.">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
90 <options from_data_table="vep_versioned_annotation_cache">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
91 <filter type="static_value" value="@DB_VERSION@" column="2" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
92 <filter type="sort_by" column="4"/>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
93 </options>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
94 <validator type="no_options" message="No annotation caches are available"/>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
95 </param>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
96 </when>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
97 <when value="unrestricted">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
98 <param name="cache_file" type="select" label="Select annotation cache file" help="If the annotation data of interest is not listed, contact your Galaxy admin.">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
99 <options from_data_table="vep_versioned_annotation_cache">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
100 <filter type="sort_by" column="4"/>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
101 </options>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
102 <validator type="no_options" message="No annotation caches are available"/>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
103 </param>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
104 </when>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
105 </conditional>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
106
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
107 <param argument="--tumor-id" type="text" optional="true" label="Enter tumor sample ID (optional)" help="Used to fill the Tumor_Sample_Barcode column of the output MAF with the tumor sample ID."/>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
108 <param argument="--normal-id" type="text" optional="true" label="Enter normal sample ID (optional)" help="Used to fill the Matched_Norm_Sample_Barcode column of the output MAF with the normal sample ID."/>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
109 <param argument="--vcf-tumor-id" type="text" optional="true" label="Enter name of tumor genotype column (optional)" help="VCFs from variant callers like VarScan use hardcoded sample IDs TUMOR/NORMAL to name genotype columns. Use this parameter to have vcf2maf correctly locate these columns to parse genotypes, while still printing proper sample IDs in the output MAF."/>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
110 <param argument="--vcf-normal-id" type="text" optional="true" label="Enter name of normal genotype column (optional)" help="VCFs from variant callers like VarScan use hardcoded sample IDs TUMOR/NORMAL to name genotype columns. Use this parameter to have vcf2maf correctly locate these columns to parse genotypes, while still printing proper sample IDs in the output MAF."/>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
111
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
112 <section name="adv_opt" title="Advanced options">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
113 <param argument="--any-allele" type="boolean" optional="true" checked="false" label="Allow also mismatched variant alleles when reporting co-located variants"/>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
114 <param argument="--min-hom-vaf" type="float" optional="true" min="0" max="1" label="Enter minimum allele fraction to call a variant homozygous if GT is undefined in VCF" help="Default value is 0.7"/>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
115 <param argument="--maf-center" type="text" optional="true" label="Enter variant calling center to report in MAF"/>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
116 <param argument="--retain-info" type="text" optional="true" label="Enter comma-delimited names of INFO fields to retain as extra columns in MAF"/>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
117 <param argument="--retain-fmt" type="text" optional="true" label="Enter comma-delimited names of FORMAT fields to retain as extra columns in MAF"/>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
118 <param argument="--retain-ann" type="text" optional="true" label="Enter comma-delimited names of VEP annotations (within the VEP CSQ/ANN) to retain as extra columns in MAF"/>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
119 </section>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
120 </inputs>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
121 <outputs>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
122 <data name="output1" format="tabular" from_work_dir="MainOutput.maf" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
123 </outputs>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
124 <tests>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
125 <test expect_num_outputs="1">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
126 <param name="input1" dbkey="hg19" value="input_test1.vcf" ftype="vcf" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
127 <param name="ref_source" value="history" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
128 <param name="ref" dbkey="hg19" value="test1.fa" ftype="fasta" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
129 <param name="annotation_cache.source" value="no_vep" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
130 <output name="output1" file="output_test1.tabular" ftype="tabular" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
131 </test>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
132 <test expect_num_outputs="1">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
133 <param name="input1" dbkey="hg19" value="input_test1.vcf" ftype="vcf" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
134 <param name="ref_source" value="cached" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
135 <param name="ref" value="hg19test" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
136 <param name="annotation_cache.source" value="no_vep" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
137 <output name="output1" file="output_test1.tabular" ftype="tabular" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
138 </test>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
139 <test expect_num_outputs="1">
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
140 <param name="input1" dbkey="dm6" value="input_test2.vcf" ftype="vcf" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
141 <param name="ref_source" value="history" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
142 <param name="ref" dbkey="dm6" value="test2.fa" ftype="fasta" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
143 <param name="source" value="restricted" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
144 <param name="cache_file" value="drosophila_melanogaster_vep_106_BDGP6.32" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
145 <output name="output1" file="output_test2.tabular" ftype="tabular" />
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
146 </test>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
147 </tests>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
148 <help><![CDATA[
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
149 The tool vcf2maf can parse a wide range of VCF-like formats and convert these into the `Mutation Annotation Format (MAF) <https://docs.gdc.cancer.gov/Data/File_Formats/MAF_Format/>`__. A central part of the conversion process is the selection of a single effect per variant. While this is often a subjective decision, vcf2maf offers a standardized way to achieve this by optionally utilizing Ensembl's `Variant Effect Predictor (VEP) <https://www.ensembl.org/info/docs/tools/vep/index.html>`__. ]]></help>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
150 <citations>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
151 <citation type="doi">10.5281/zenodo.593251</citation>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
152 </citations>
2973994fecd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vcf2maf commit 30046d5e0df4d80ac687edd03cf44b2afaa04550
iuc
parents:
diff changeset
153 </tool>