diff dnaclust2tab.awk @ 0:84be1fe7e34a draft

Uploaded
author john-mccallum
date Thu, 06 Sep 2012 23:05:22 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dnaclust2tab.awk	Thu Sep 06 23:05:22 2012 -0400
@@ -0,0 +1,10 @@
+#!/bin/awk -f
+BEGIN {
+  FS="\t"
+  OFS="\t"
+}
+{
+OTU = $1
+{for (i=2;i<NF;i++)
+	print OTU, $i}
+}