Repository 'snp_to_bed'
hg clone https://toolshed.g2.bx.psu.edu/repos/brigidar/snp_to_bed

Changeset 0:9c02f5e8e657 (2015-10-07)
Next changeset 1:c5195904b225 (2015-11-09)
Commit message:
Uploaded
added:
snp_to_bed.xml
b
diff -r 000000000000 -r 9c02f5e8e657 snp_to_bed.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/snp_to_bed.xml Wed Oct 07 15:17:51 2015 -0400
b
@@ -0,0 +1,15 @@
+<tool id="snp_to_bed" name="snp location to bed format" version="0.1">
+    <description>removes unwanted column</description>
+    <command>
+        cat $input1 | sed '1d'| 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="input" metadata_source="input1"/>
+    </outputs>
+    <tests>
+    </tests>
+    <help>
+    </help>
+</tool>