Mercurial > repos > brigidar > snp_to_bed
comparison snp_to_bed.xml @ 1:c5195904b225 draft
changed output to bed format
author | brigidar |
---|---|
date | Mon, 09 Nov 2015 14:56:21 -0500 |
parents | 9c02f5e8e657 |
children | 8220dba15923 |
comparison
equal
deleted
inserted
replaced
0:9c02f5e8e657 | 1:c5195904b225 |
---|---|
1 <tool id="snp_to_bed" name="snp location to bed format" version="0.1"> | 1 <tool id="snp_to_bed" name="snp location to bed format" version="0.3"> |
2 <description>removes unwanted column</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 | sed '1d'| 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="input" metadata_source="input1"/> | 9 <data name="out_file1" format="bed" metadata_source="input1"/> |
10 </outputs> | 10 </outputs> |
11 <tests> | 11 <tests> |
12 </tests> | 12 </tests> |
13 <help> | 13 <help> |
14 </help> | 14 </help> |