view vcfToXena.xml @ 60:bf57076e27b9 default tip

change genomicSegment input data
author jingchunzhu@gmail.com
date Tue, 27 Oct 2015 16:07:09 -0700
parents 986bca7bc318
children
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_$input.name ;
      python $__tool_directory__/xenaHeader.py $snpeff_output;
      cat $__tool_directory__/tmp_$input.name | python $__tool_directory__/parseSnpEffVcf.py $input.name $snpeff_output;
      rm $__tool_directory__/tmp_$input.name
    </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>