Closed BrandenOlson closed 5 years ago
Also, looking at Peptides::kideraFactors, I'm realizing that there are 10 factors being output. Which one(s) we want to look at for CDR3s? I'm guessing KF4 (hydrophobicity) at the very least.
The full list can be found in the Peptides documentation.
I think the properties used in these papers are a decent place to start:
Their results are highly reproducible. At least, for the features I've looked at.
So, hydrophobicity (Kyte & Doolittle Scale), aliphatic index, and either isoelectric point or net charge at ph 7.4 at a minimum. Obviously, we can add many more...
As of now, sumrep incorporates each property given by https://rdrr.io/cran/alakazam/man/aminoAcidProperties.html.
sumrep also contains getter functions for Peptides::kideraFactors
and HDMD::AAMetric.Atchley
, but I still need to implement their comparison functions. @matsen and I think the most sensible idea will be to compute component-wise divergences over each factor and output them as vectors.
Okay, these comparisons are officially implemented, and included in compareRepertoires
.
There are many ways to categorize the biochemical properties of amino acids. We have mostly discussed GRAVY numbers, Atchley factors, and Kidera factors (for TCRs), but have also mentioned charge and hydrophobicity in general. The first three are readily implemented in R via alakazam::gravy, Peptides::kideraFactors, and HDMD::AAMetric.Atchley, so that separate comparison functions wouldn't be difficult, but it is still undecided whether we should generalize beyond these three, and how to do it intelligently. @javh mentioned that the seqinr package includes the list of AA indices - would it be worthwhile to incorporate this, if possible?