annotate vcfToXena.xml @ 55:1093078e7976

merge mutation data conform to new mutationVector data standard
author jingchunzhu
date Fri, 18 Sep 2015 10:24:39 -0700
parents 986bca7bc318
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
45
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
1 <tool id="vcfToXena" name="vcfToXena" version="0.1">
47
23d98125d20c parse snpEff output
jingchunzhu
parents: 45
diff changeset
2 <description>Convert vcf To Xena ready mutation data</description>
45
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
3 <command>
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
4 java -Xmx4G -jar $__tool_directory__/snpEff/snpEff.jar -c $__tool_directory__/snpEff/snpEff.config
49
986bca7bc318 multiple files
jingchunzhu
parents: 48
diff changeset
5 -i vcf -upDownStreamLen 5000 $genome $input > $__tool_directory__/tmp_$input.name ;
48
a38cc72edd75 xena header
jingchunzhu
parents: 47
diff changeset
6 python $__tool_directory__/xenaHeader.py $snpeff_output;
49
986bca7bc318 multiple files
jingchunzhu
parents: 48
diff changeset
7 cat $__tool_directory__/tmp_$input.name | python $__tool_directory__/parseSnpEffVcf.py $input.name $snpeff_output;
986bca7bc318 multiple files
jingchunzhu
parents: 48
diff changeset
8 rm $__tool_directory__/tmp_$input.name
45
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
9 </command>
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
10 <inputs>
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
11 <param format="vcf" name="input" type="data" label="Input VCF file"/>
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
12 <param name="genome" type="select" label="Genome">
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
13 <option value="hg19">hg19</option>
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
14 </param>
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
15
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
16 </inputs>
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
17 <outputs>
47
23d98125d20c parse snpEff output
jingchunzhu
parents: 45
diff changeset
18 <data format="tabular" name="snpeff_output" label="${input.name}.mutationVector" />
45
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
19 </outputs>
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
20 <help>
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
21 This tool convert vcf files to xena ready positional mutation data files.
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
22 </help>
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
23 </tool>
e2627dcbd8b9 start vcfToXena
jingchunzhu
parents:
diff changeset
24