Edinburgh-Genome-Foundry / saboteurs

:bomb: Identify elements impairing success accross group experiments.
https://edinburgh-genome-foundry.github.io/saboteurs/
MIT License
4 stars 0 forks source link

Detect saboteur pairs #2

Open veghp opened 2 years ago

veghp commented 2 years ago

Consider the following scenario:

id  attempts    failures    members
construct_1 3   3   A   B   C   D
construct_2 3   0   E   C   D   
construct_3 3   0   A   B   F   

The problem here is that certain member-combinations fail the assembly (mission), but that cannot be inferred with either methods. statistical_assembly_data.csv


A related issue: in DNA assembly the above can be explained by that each part (member) has 2 ends (overhangs) that join with other parts; if A=1&2, B=2&3 and so on, then we can rewrite the table with overhangs:

id  attempts    failures    members             
construct_1 3   3   1   2   3   4   0
construct_2 3   0   1   3   4   0   
construct_3 3   0   1   2   3   0   

Then it's clear that interaction (misannealing) between 2 and 4 causes the problem.

This is outside scope of the package, but can be a good Example. statistical_assembly_data_overhangs.csv

veghp commented 2 years ago

A workaround is to rewrite the table with interactions as members:

id  attempts    failures    members                                 
construct_1 3   3   I12 I13 I14 I10 I23 I24 I20 I34 I30 I40
construct_2 3   0   I13 I14 I10 I34 I30 I40             
construct_3 3   0   I12 I13 I10 I23 I20 I30             

statistical_assembly_data_overhang_interactions_as_members.csv

saboteur_report_interactions.pdf