view snp_to_bed.xml @ 2:8220dba15923 draft default tip

drop of first row removed
author brigidar
date Mon, 28 Dec 2015 12:51:23 -0500
parents c5195904b225
children
line wrap: on
line source

<tool id="snp_to_bed" name="snp location to bed format" version="0.3">
    <description>convert SNP to interval</description>
    <command>
        cat $input1| awk -F "\t" -v OFS="\t" '{print $1, $2-1, $2}'>> $out_file1  </command>
    <inputs>
        <param name="input1" type="data" label="input file"/>
    </inputs>
    <outputs>
        <data name="out_file1" format="bed" metadata_source="input1"/>
    </outputs>
    <tests>
    </tests>
    <help>
    </help>
</tool>