dea81fb17cc857a898e9caebeadb93b64ded61c0 braney Tue May 5 12:53:39 2020 -0700 get the Short Match track to recognize RNA. diff --git src/inc/dnautil.h src/inc/dnautil.h index d509e88..377ad69 100644 --- src/inc/dnautil.h +++ src/inc/dnautil.h @@ -85,30 +85,33 @@ * to opposite strand. */ void reverseIntRange(int *pStart, int *pEnd, int size); /* Switch start/end (zero based half open) coordinates * to opposite strand. */ void reverseUnsignedRange(unsigned *pStart, unsigned *pEnd, int size); char *reverseComplementSlashSeparated(char *alleleStr); /* Given a slash-separated series of sequences (a common representation of variant alleles), * returns a slash-sep series with the reverse complement of each sequence (if it is a * nucleotide sequence), also reversing the order of sequences. */ enum dnaCase {dnaUpper,dnaLower,dnaMixed,}; /* DNA upper, lower, or mixed case? */ +/* Convert U's to T's */ +void toDna(DNA *dna); + /* 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);