comparison 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
comparison
equal deleted inserted replaced
1:c5195904b225 2:8220dba15923
1 <tool id="snp_to_bed" name="snp location to bed format" version="0.3"> 1 <tool id="snp_to_bed" name="snp location to bed format" version="0.3">
2 <description>convert SNP to interval</description> 2 <description>convert SNP to interval</description>
3 <command> 3 <command>
4 cat $input1 | sed '1d'| awk -F "\t" -v OFS="\t" '{print $1, $2-1, $2}'>> $out_file1 </command> 4 cat $input1| awk -F "\t" -v OFS="\t" '{print $1, $2-1, $2}'>> $out_file1 </command>
5 <inputs> 5 <inputs>
6 <param name="input1" type="data" label="input file"/> 6 <param name="input1" type="data" label="input file"/>
7 </inputs> 7 </inputs>
8 <outputs> 8 <outputs>
9 <data name="out_file1" format="bed" metadata_source="input1"/> 9 <data name="out_file1" format="bed" metadata_source="input1"/>