Mercurial > repos > brigidar > vcf_to_snp
view vcf_to_snp.xml @ 9:a9433c403e28 draft default tip
anaconda as default python
author | brigidar |
---|---|
date | Fri, 06 Nov 2015 15:31:03 -0500 |
parents | b617219a70b5 |
children |
line wrap: on
line source
<tool id="vcf_snp" name="vcf to snp" version="0.6"> <description>vcf to snp for fasta</description> <requirements> <!-- Should just use the filter snp that's installed in the path --> </requirements> ## The command is a Cheetah template which allows some Python based syntax. ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces ## ! We only have a simple single command here. <command interpreter="/usr/local/anaconda/bin/python"> vcf_snp.py -s ${vcf} -p ${pos} -o output.txt; echo ${vcf.name} > name.txt; cut -f2 output.txt >seq.txt; paste name.txt seq.txt> output2.txt </command> <inputs> <param name="vcf" type="data" label="vcf" help=""/> <param name="pos" type="data" label="positions" help=""/> </inputs> <outputs> <data format="tabular" name="output_file" label="${vcf}" from_work_dir="output2.txt"> </data> </outputs> <tests> <!-- Empty --> </tests> <help> .. class:: infomark **What it does** Transforms a vcf into a snp tab file. Has to take the nucleotide from the reference column when identical. ------------- .. class:: infomark **Tool Author** Brigida Rusconi </help> </tool>