| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/biology/cufflinks/files/ |
Upload File : |
--- src/codons.cpp.orig 2022-07-28 03:23:12 UTC
+++ src/codons.cpp
@@ -48,9 +48,9 @@ static bool isCodonTableReady=codonTableInit();
unsigned short packCodon(char n1, char n2, char n3) {
//assumes they are uppercase already!
- byte b1=n1-'A';
- byte b2=n2-'A';
- byte b3=n3-'A';
+ bytex b1=n1-'A';
+ bytex b2=n2-'A';
+ bytex b3=n3-'A';
b1 |= (b2 << 5);
b2 = (b2 >> 3) | (b3 << 2);
return ( ((unsigned short)b2) << 8) + b1;
@@ -68,7 +68,7 @@ bool codonTableInit() {
char Codon::translate() {
- for (byte i=0;i<3;i++) nuc[i]=toupper(nuc[i]);
+ for (bytex i=0;i<3;i++) nuc[i]=toupper(nuc[i]);
unsigned short aacode=packCodon(nuc[0], nuc[1], nuc[2]);
return codonTable[aacode];
}