f554d6b1a0d1b83c3f05e3adc20affa21ca71f8f
angie
Tue Dec 13 21:24:51 2011 -0800
MLQ #6291: per Greg's request, updating pgSnp codon display tables to use
instead of setting properties like borderwidth etc.
diff --git src/hg/lib/pgSnp.c src/hg/lib/pgSnp.c
index 6788be2..994aa27 100644
--- src/hg/lib/pgSnp.c
+++ src/hg/lib/pgSnp.c
@@ -563,31 +563,32 @@
return -1.3;
if (sameString(aa, "V"))
return 4.2;
return 0;
}
void aaProperties (char *aa1, char *aa2)
/* print amino acid properties for these amino acids */
{
char *pol1 = aaPolarity(aa1);
char *pol2 = aaPolarity(aa2);
char *acid1 = aaAcidity(aa1);
char *acid2 = aaAcidity(aa2);
float hyd1 = aaHydropathy(aa1);
float hyd2 = aaHydropathy(aa2);
-printf("Amino acid properties | %s | %s |
\n", aa1, aa2);
+printf("Amino acid properties"
+ " | %s | %s |
\n", aa1, aa2);
/* take out highlights, not sure what is significant change for hydropathy */
//if (differentString(pol1, pol2))
//printf("polarity | %s | %s |
\n", pol1, pol2);
//else
printf("polarity | %s | %s |
\n", pol1, pol2);
//if (differentString(acid1, acid2) &&
//(!startsWith("basic", acid1) || !startsWith("basic", acid2)) )
//printf("acidity | %s | %s |
\n", acid1, acid2);
//else
printf("acidity | %s | %s |
\n", acid1, acid2);
//if ((hyd1 < 0 && hyd2 > 0) || (hyd1 > 0 && hyd2 < 0))
//printf("hydropathy | %1.1f | %1.1f |
\n", hyd1, hyd2);
//else
printf("hydropathy | %1.1f | %1.1f |
\n", hyd1, hyd2);
printf("
");