|
0
|
1 <tool id="maf2maf" name="maf2maf" version="1.0.0">
|
|
|
2 <description>Reannotates MAF file creating a new MAF file</description>
|
|
|
3
|
|
|
4 <command>
|
|
|
5 echo \$VCF2MAF_SCRIPT_PATH;
|
|
|
6 echo \$ENSEMBL_VEP_84_INSTALL_DIR;
|
|
|
7 cat $input_maf | perl -ne '@a=split /\t/;if(\$a[4] == 23){\$a[4] = "X";}print join "\t", @a;' > ./input.maf;
|
|
|
8 perl \$VCF2MAF_SCRIPT_PATH/maf2maf.pl
|
|
|
9 --input-maf ./input.maf
|
|
|
10 --output-maf $output_maf
|
|
|
11 --vep-path \$ENSEMBL_VEP_84_INSTALL_DIR
|
|
|
12 --vep-data \${ENSEMBL_VEP_84_INSTALL_DIR}/cache
|
|
|
13 --ref-fasta \${ENSEMBL_VEP_84_INSTALL_DIR}/cache/`echo $species_select.value | sed 's/-/\t/g' | cut -f1`/84_`echo $species_select.value | sed 's/-/\t/g' | cut -f2`/*.fa
|
|
|
14 --species `echo $species_select.value | sed 's/-/\t/g' | cut -f1`
|
|
|
15 --ncbi-build `echo $species_select.value | sed 's/-/\t/g' | cut -f2`;
|
|
|
16 </command>
|
|
|
17
|
|
|
18 <inputs>
|
|
|
19 <expand macro="genome_list" />
|
|
|
20 <param name="input_maf" type="data" format="maf" label="Input MAF file" />
|
|
|
21 </inputs>
|
|
|
22
|
|
|
23 <outputs>
|
|
|
24 <data name="output_maf" format="maf" label="#echo os.path.splitext( str( $input_maf.name ) )[ 0 ] #.${tool.name}.maf" />
|
|
|
25 </outputs>
|
|
|
26
|
|
|
27 <stdio>
|
|
|
28 <exit_code range="1:" level="fatal" description="Failure" />
|
|
|
29 </stdio>
|
|
|
30
|
|
|
31 <requirements>
|
|
3
|
32 <requirement type="package" version="5.18.1">perl</requirement>
|
|
|
33 <requirement type="package" version="1.6.7">vcf2maf</requirement>
|
|
|
34 <requirement type="package" version="84">ensembl_vep_perl_env</requirement>
|
|
0
|
35 <requirement type="package" version="84">ensembl_vep</requirement>
|
|
|
36 <requirement type="package" version="1.6.7">vcf2maf</requirement>
|
|
|
37 <requirement type="paclage" version="84">ensembl_vep_perl_environment</requirement>
|
|
|
38 </requirements>
|
|
|
39
|
|
|
40 <macros>
|
|
|
41 <import>ensembl_vep_macros.xml</import>
|
|
|
42 </macros>
|
|
|
43
|
|
|
44 <help>
|
|
|
45
|
|
|
46 </help>
|
|
|
47
|
|
|
48 </tool>
|