% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % File: dna.dtr % % Purpose: a finite state transducer for DNA sequences % % Author: Gerald Gazdar, March 1994 % % Email: geraldg@cogs.sussex.ac.uk % % Address: COGS, Sussex University, Brighton BN1 9QH, UK % % Related files: dfst2.dtr, dfst3.dtr % % Version: 1.00 % % % % Copyright (c) University of Sussex 1994. All rights reserved. % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % This initial transducer is just a simple DATR FST -- it does % not attempt to capture any of the fancy CFL and IL phenomena # vars $purn : a g . % purines # vars $pyrm : c t . % pyrimidines # vars $base : a g c t . % any nucleotide base DNA: <> == '???' <$pyrm c a a t> == % beginning of caat sequence == % discard bases until you see % then start mapping to amino acids == AminoAcids:. AminoAcids: <> == '???' == lys <> % lysine == asn <> % asparagine == thr <> % threonine == arg <> % arginine == ser <> % serine == ile <> % isoleucine == met <> % methionine == ile <> % isoleucine == gln <> % glutamine == his <> % histidine == pro <> % proline == arg <> % arginine == leu <> % leucine == glu <> % glutamic acid == asp <> % aspartic acid == ala <> % alanine == gly <> % glycine == val <> % valine == % end markers == tyr <> % tyrosine == ser <> % serine == % end marker == trp <> % tryptophan == cys <> % cysteine == leu <> % leucine == phe <>. % phenylalanine % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % Some example theorems: % DNA: % % = ??? % % = ??? % % = % met phe leu ile glu ??? % % = % met phe leu ile % % = % met phe leu ile % % = % met phe leu ile % met phe leu ile . % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % # hide AminoAcids . # show . % The next line is the Revision Control System Id: do not delete it. % $Id: archive.dtr,v 1.1 1997/04/09 20:40:33 root Exp $