mirror of
https://github.com/lh3/minimap2.git
synced 2026-09-28 08:18:13 +08:00
added benchmark results
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Getopt::Std;
|
||||
|
||||
my %opts = (n=>33088);
|
||||
getopts('n:', \%opts);
|
||||
|
||||
my $pseudo = .5;
|
||||
my $tot = $pseudo;
|
||||
my $err = $pseudo;
|
||||
while (<>) {
|
||||
chomp;
|
||||
if (/^Q\t(\d+)\t(\d+)\t(\d+)/) {
|
||||
$tot += $2;
|
||||
$err += $3;
|
||||
print join("\t", $1, $err/$tot, $tot / $opts{n}), "\n";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user