summaryrefslogtreecommitdiff
path: root/gi/pipeline/scripts/rekey.pl
diff options
context:
space:
mode:
Diffstat (limited to 'gi/pipeline/scripts/rekey.pl')
-rwxr-xr-xgi/pipeline/scripts/rekey.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/gi/pipeline/scripts/rekey.pl b/gi/pipeline/scripts/rekey.pl
new file mode 100755
index 00000000..31eb86b8
--- /dev/null
+++ b/gi/pipeline/scripts/rekey.pl
@@ -0,0 +1,8 @@
+#!/usr/bin/perl
+
+while(<>) {
+ my ($lhs, $f, $e, $s) = split / \|\|\| /;
+ $f =~ s/\[X[0-9]+\]/\[X\]/g;
+ print "$f\t$_";
+}
+