Mercurial > repos > brigidar > vcf_to_snp
changeset 1:032d2c8cf8ae draft
Uploaded
author | brigidar |
---|---|
date | Mon, 02 Nov 2015 12:45:32 -0500 |
parents | 75cedeb179aa |
children | ea2f686dfd4a |
files | vcf_to_snp.xml |
diffstat | 1 files changed, 55 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vcf_to_snp.xml Mon Nov 02 12:45:32 2015 -0500 @@ -0,0 +1,55 @@ +<tool id="vcf_snp" name="vcf to snp" version="0.1"> + <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="python"> + vcf_snp.py + -s ${vcf} + -o output.txt; + cut -f1 output.txt > header.txt | cut -f2- output.txt > seq.txt; + cat seq.txt | sed 's/[[:blank:]]//g' >seq2.txt; + paste header.txt seq2.txt >tab.txt; + + + </command> + + <inputs> + <param name="vcf" type="data" label="vcf" help=""/> + + </inputs> + + <outputs> + <data format="tabular" name="output_file" label="${vcf}" from_work_dir="tab.txt"> + </data> + </outputs> + + <tests> + <!-- Empty --> + </tests> + + <help> + +.. class:: infomark + +**What it does** + +Transforms a vcf into a snp tab file + +------------- + +.. class:: infomark + +**Tool Author** + +Brigida Rusconi + + + </help> +</tool> \ No newline at end of file