comparison tools/rdock/data/pmf/smoothed/pmf2m.awk @ 3:b02d74d22d05 draft default tip

planemo upload
author marpiech
date Mon, 29 Aug 2016 08:23:52 -0400
parents
children
comparison
equal deleted inserted replaced
2:bd50f811878f 3:b02d74d22d05
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 }