0
$\begingroup$

I have two datasets, from different sources, that I need to compare.

The first set is deep sequencing results of a directed evolution experiment, where I have the naive library and selected library counts, and have calculated enrichment/depletion (positive and negative values with no upper or lower bound).

The second set is a set of protein sequences for which I calculate amino acid frequencies (positive values from 0-1).

The goal is to calculate a similarity between the two datasets. Typically I have two of the second type of set (protein sequences) and I calculate similarity based on the amino acid frequencies... What's the best way to convert enrichment/depletion to frequency so I can compare?

Example deep sequencing data, for position 77 of the protein:

enter image description here

$$\text{enrichment} = \log_2\left(\frac{F_S}{F_N}\right)$$

Where $F_S$ is selected frequency and $F_N$ is naïve frequency.

I came up with a possible solution for frequency equivalent from enrichment ($F_E$) but am open to thoughts if it's good or not:

$$F_E = \frac{\displaystyle\frac{F_S}{F_N}}{\displaystyle\sum_\text{amino acid}\frac{F_S}{F_N}}$$

$\endgroup$
5
  • $\begingroup$ Welcome to SE Biology. Your question is unclear to me. It seems like you have RNA or DNA seq quantification and the frequencies that amino acids occur in a set of amino acid sequences. It might help if you clarify what the sets are as well as what you want to achieve by comparing them. $\endgroup$
    – Michael_A
    Nov 27, 2018 at 8:40
  • $\begingroup$ How did you calculate enrichment? Can you edit your question to add the formula for enrichment? $\endgroup$
    – WYSIWYG
    Nov 27, 2018 at 12:20
  • $\begingroup$ @Michael_A, thank you for your response. I edited to add an example of the sequencing data and a possible solution. $\endgroup$
    – user47696
    Nov 27, 2018 at 19:19
  • $\begingroup$ @WYSIWYG, I added an example of my data. $\endgroup$
    – user47696
    Nov 27, 2018 at 19:20
  • 1
    $\begingroup$ Since you have the data, why not compute the actual frequencies? Or you convert frequencies of the second set to enrichment. $\endgroup$
    – WYSIWYG
    Nov 30, 2018 at 9:44

1 Answer 1

1
$\begingroup$

Although the question is kind of confusing at some places, what I understood is that you are trying to compare the relative amino acid enrichments in the two datasets.

As far as I know, you could construct the protein sequences from directed evolution experiment (presumably a time series data. Please clarify that.) and make a multiple sequence alignment (MSA) of that. In order to construct the sequences, there would be some technical procedures that would depend on the type of deep sequencing data you have. Factors such as the read length, protein length and coverage would need to be taken into consideration.

You could similarly make MSA for second datasets too.

Then using tools such as Rate4site (https://www.ncbi.nlm.nih.gov/m/pubmed/12169533/) you would be able to get evoutionary rates per site from MSAs. Then compare the evolutionary rates per sites for two datasets by correlating them.

If the correlation is high, the enrichments in both datasets are similar, otherwise not.

$\endgroup$

You must log in to answer this question.