Debian Codegraph @

wtools/Restriction2Motif

raw
1 #!/usr/local/bin/gawk -f
2 #
3 # script to convert ace2 Restriction objects to ace4 Motif
4 #
5 # $Id: Restriction2Motif,v 1.1 1995/05/18 23:12:45 esr Exp $
6
7
8 /^Isoschizomers/ {
9 for (i=2; i<=NF; i++) print "Isoschizomer", $i
10 next
11 }
12
13 {
14 gsub ("Restriction", "Motif")
15 gsub ("Site", "Match_sequence")
16 print
17 }