view vcfToXena.xml @ 47:23d98125d20c

parse snpEff output
author jingchunzhu
date Thu, 13 Aug 2015 23:26:33 -0700
parents e2627dcbd8b9
children a38cc72edd75
line wrap: on
line source

<tool id="vcfToXena" name="vcfToXena" version="0.1">
    <description>Convert vcf To Xena ready mutation data</description>
    <command>
      java -Xmx4G -jar $__tool_directory__/snpEff/snpEff.jar  -c $__tool_directory__/snpEff/snpEff.config 
      -i vcf -upDownStreamLen 5000 $genome
      $input > $__tool_directory__/tmp ;
      cat $__tool_directory__/tmp | python $__tool_directory__/parseSnpEffVcf.py  $input.name $snpeff_output
    </command>
    <inputs>
        <param format="vcf" name="input" type="data" label="Input VCF file"/>
	<param name="genome" type="select" label="Genome">
	  <option value="hg19">hg19</option>
	</param>

    </inputs>
    <outputs>
        <data format="tabular" name="snpeff_output" label="${input.name}.mutationVector" />
    </outputs>
    <help>
      This tool convert vcf files to xena ready positional mutation data files.
    </help>
</tool>