57d12692815c7c7eca4915efd3be0b6c21358702 braney Thu Sep 25 18:17:32 2014 -0700 add a mode to mafGene that let's it put out a unique character for eachcodon. diff --git src/inc/dnautil.h src/inc/dnautil.h index 7282d43..2a9b15f 100644 --- src/inc/dnautil.h +++ src/inc/dnautil.h @@ -98,30 +98,32 @@ /* DNA upper, lower, or mixed case? */ /* Convert T's to U's */ void toRna(DNA *dna); int cmpDnaStrings(DNA *a, DNA *b); /* Compare using screwy non-alphabetical DNA order TCGA */ typedef char Codon; /* Our codon type. */ /* Return single letter code (upper case) for protein. * Returns X for bad input, 0 for stop codon. * The "Standard" Code */ AA lookupCodon(DNA *dna); +AA lookupUniqCodon(DNA *dna); + boolean isStopCodon(DNA *dna); /* Return TRUE if it's a stop codon. */ boolean isKozak(char *dna, int dnaSize, int pos); /* Return TRUE if it's a Kozak compatible start, using a relatively * weak definition (either A/G 3 bases before or G after) . */ boolean isReallyStopCodon(char *dna, boolean selenocysteine); /* Return TRUE if it's really a stop codon, even considering * possibilility of selenocysteine. */ /* Returns one letter code for protein, * 0 for stop codon or X for bad input, * Vertebrate Mitochondrial Code */ AA lookupMitoCodon(DNA *dna);