Mercurial > repos > marpiech > norwich_tools
comparison tools/rdock/data/pmf/smoothed/pmf2m.awk @ 0:bc03dbb6eb37 draft
planemo upload commit 781926e52355f7805db8d9a4ccafeff397b19aa4-dirty
author | marpiech |
---|---|
date | Mon, 29 Aug 2016 03:38:13 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:bc03dbb6eb37 |
---|---|
1 #!/bin/awk -f | |
2 { | |
3 a[NR]=$1; | |
4 b[NR]=$2; | |
5 }END{ | |
6 print "# name: x" | |
7 print "# type: matrix" | |
8 print "# rows: 1" | |
9 print "# columns: "NR | |
10 for(i=1;i<=NR;i++) | |
11 printf("%f ",a[i]); | |
12 print "" | |
13 print "# name: y" | |
14 print "# type: matrix" | |
15 print "# rows: 1" | |
16 print "# columns: "NR | |
17 for(i=1;i<=NR;i++) | |
18 printf("%f ",b[i]); | |
19 print " "; | |
20 } |