Mercurial > repos > marpiech > norwich_tools_docking2
comparison tools/rdock/data/pmf/smoothed/pmf2m.awk @ 3:279ba0732f87 draft default tip
planemo upload
author | marpiech |
---|---|
date | Mon, 29 Aug 2016 09:07:58 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:7e52b8fb2df4 | 3:279ba0732f87 |
---|---|
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 } |