Team:Lambert GA/Measurement

Q S Y S T E M



































Overview


Quantification of reporter expression is a crucial component in synthetic biology, with measurement tools such as plate readers present in laboratories across the world. However, these devices are often difficult to incorporate into settings beyond well-equipped laboratories, such as infield settings, creating a need for novel portable systems for reporter quantification. Within Captivate, this necessity is manifested in the form of reporter quantification from the cholera biosensors to distinguish between positive and negative tests. Within the LacZ model, the distinction between blue and white, including even slight variances, requires a suitable device for quantification. Lambert iGEM’s QSystem addresses this need through a low-cost illumination chamber for standardized image capture of samples called Chrome-Q and subsequent analysis of samples using RGB color theory through an app called Color Q.


Measurements



Figure 1: The above results were obtained from the Color Q app's analysis process. The graph is indicative of the darker values produced by the toehold having a higher relative percentage value as compared to the positive and negative control measurements. As the relative value decreases, the lower in color intensity the experimental samples are.


Threshold


Our app, Color Q, generates a relative percentage value, which is calculated from the color variance from a control sample. However, we need to determine what relative percentage value, or threshold, constitutes as a positive test result because a water sample could have a very low concentration, which would not make those who drink it at risk for contraction.

The infectivity rate for Cholera varies from 104 to 1011 bacterium ingested, depending on the strain and conditions of the host [3]. In order to be health protective, we want a negative result to mean that there is less than 10³ bacterium ingested per person from a water source. Therefore, our threshold is 10³ bacterium per two liters of water, the average water intake per day. For our biosensor, a 100 ml water sample is taken, so for a positive test, there must be 50 bacterium in the sample, with some variability due to the uneven spread of cholera in a water source.

Then to determine the relative percentage value for a positive test, we will carry out our biosensor protocol on water samples with known concentrations of Cholera. The samples would be triplicates of concentrations of 0, 25,40, 50, 60 and 100 cholera cells per 100ml to see the change in the relative percentage value with differing concentrations. After using our software, we would average the relative percentage value for the samples with a concentration of 40, 50, 60 cholera cells to receive a threshold value. If a sample in the field meets or exceeds the value determined, it would be a positive sample.


Sensitivity and Specificity


Sensitivity and specificity give insight into the accuracy of disease detection tests. Sensitivity is defined as the percentage of positive test results where it is confirmed that Cholera is present (true positives) out of all of the positive samples, true positives and false negatives [1]. Specificity is the percentage of negative test results that are confirmed to have no Cholera present (true negatives) out of all the negative samples, true negatives and false positives [1]. To find these percentages, we must have another reliable detection method that we will compare our results to. According to the CDC, growing a culture of the sample is the gold standard for Cholera detection [2]. Therefore, we will culture the water sample as well as test our biosensor cells and compare the results to find our test’s accuracy. The results from the culture will be the ‘truth’ of whether the sample really has Cholera or not. Therefore, if the culture is positive and our test’s results are positive, it is a true positive, but if the culture is negative and our results are positive, it is a false positive, and it is the same for true negatives and false negatives. [1]
Cholera Present No Cholera Present
Positive Test True Positive False Positive
Negative Test False Negative True Negative

Once the data collection is completed, there are two formulas to calculate sensitivity and specitivity.
  • Sensitivity= true positives/(true positives + false negatives) x 100 [1]
  • Specificity=true negatives/(true negatives + false positives) x 100 [1]
The purpose of our biosensor is to detect Cholera at the source to prevent contraction. Therefore, we are more invested in a high sensitivity rather than specificity. With a higher sensitivity, it is more likely to have false positives, but it is safer to have false positives and take precaution than to have false negatives and contract the disease.


Color Q


Color Q is a free mobile application developed in Java for the Google Play Store. The app was developed in the Android Studio v3.2.1 integrated development environment. It works alongside the Chrome Q hardware also developed by Lambert iGEM in order to effectively quantify the result of a biological reporter, similar to the function of a plate reader. The app is able to use circle detection in order to find the samples on the base of the Chrome Q hardware and then detect the red, green, and blue values (RGB) of the center of each circle. The way the circles are arranged allow for a range of values to be generated. The first row contains 4 circles. The average RGB values of the first two circles are calculated as the negative control and the average RGB values of the second pair of circles are calculated as the positive control. The distance between the positive and negative control is calculated in the 3D-coordinate plane using the following formula:


The Hough Circle Transform is used as the method of circle detection found in the app. Open Computer Vision (OpenCV) is a library that can be imported into Android Studio in order to perform image analysis-based methods. The image taken by the smartphone camera is converted into a grayscale photo. This essentially makes the image more readable in terms of edge detection and "round" estimation. There are several parameters that can be modified and calibrated in order to detect an accurate amount of circles:

  • Maximum Radius: The smallest value for the radius of a detected circle
  • Minimum Radius: The largest value for the radius of a detected circle
  • Minimum Distance: The smallest distance between the centers of any two detected circles
  • Edge Gradient Value: The roundness of each detected circle
  • Threshold Value: The amount of memory the system has to store the detected circles



The 6 by 6 grid located underneath the first row can be loaded with experimental samples and a percentage value can be determined on a scale from the negative control to the positive control. The circle detection process loops through until the maximum radius reaches 120 pixels. If anywhere from 35 to 40 circles are detected in total, then the loop stops. However, if there are fewer circles detected, then the loops restarts to finish through the maximum radius until anywhere from 25 to 40 circles are detected properly. If less than 25 circles are detected, then an error is caught and another picture is requested to be used. Zooming in or zooming out could possibly make the circle detection process easier for the system and more efficient. The following formula is used to calculate the relative percentage values:


The results are then displayed based upon the row in which the circles fall in on the base of the Chrome Q hardware. The app is able to determine the row in which the circles fall in by comparing y-coordinates. If the y-values are similar to each other, then the circles are classified as being on the same row. The relative values are then transferred to another page within the app where the user is able to enter information that could help contribute to our machine learning model, CALM. The application uses the latitude, longitude, and timestamp values obtained from the phone's GPS to effectively determine where and when the test was run. When the user submits the data, the results are sent to a MySQL database, which is a part of the Relational Database Service (RDS) as a part of the Amazon Web Services (AWS) platform. Refer to Discussion under CALM for further information.



Testimonial from Nanjing-China:

We've re-downloaded the app and have successfully used it on the picture you sent. In the attachment is the results. We have to say that it is awesome to exploit a new app all by yourselves moreover the app is so excellent. We like the fluency when using it, the simple and tidy interface to look at...It is a brilliant app and we truly admire that kind of skills to make an app~ Thank you so much again for participating our collaboration. Hope to see you in Boston!



GITHUB RELEASE: https://github.com/igemsoftware2018/Team_Lambert_GA/releases/tag/1.0.0
GOOGLE PLAY STORE: https://play.google.com/store/apps/details?id=com.plokia.android_camera


Chrome Q


Laboratories often require plate readers to detect biological samples in a standardized environment which can be prohibitive to field work. Lambert iGEM offers a low-cost, portable substitute for standard plate readers which are expensive, immobile, and require an electrical power source. The QSystem, comprised of the Color Q app and the Chrome Q device, pinpoints relative color values by using the red, green, blue (RGB) system. A photo of the samples is taken by Color Q and circle detection is used to obtain RGB values. The 2018 Lambert iGEM team improved upon the 2017 design by removing individually-wired LEDs which previously altered the RGB values, skewing relative color value results. The modified base allows for more sample testing and an option for a positive/negative control. With the QSystem, we hope to provide a low-cost tool for the expansion and development of modern synthetic biology in developing regions of the world.

The Chrome Q is a 3-D printed dome/base used to quantify the relative color values of various samples by using the red, green, blue (RGB) system of pixels. The Chrome Q device acts as a very frugal but efficient alternative to industrial plate readers and florometers. The 2018 Lambert iGEM team improved upon the 2017 design by removing individually-wired LEDs which previously altered the RGB values, skewing relative color value results. This Chrome Q was found to have more accurate results when used without the presence of artificial light sources; light still enters the dome, because the dome is translucent, but this light has much less variation that a direct light source. In the 2018 Lambert iGEM project, the Chrome Q was used to quantify the relative expression of blue color in varying bacterial samples with T7 Toehold lacZ. Samples are arranged in a 6x6 array in the Chrome Q, with a +/- control, and is paired with the Color Q app to analyze the sample. A picture of the Chrome Q itself and its base are below.






References


[1] 10.3 - Sensitivity, Specificity, Positive Predictive Value, and Negative Predictive Value. (2018). Retrieved October 8, 2018, from https://onlinecourses.science.psu.edu/stat507/node/71/
[2] Cholera - Vibrio cholerae infection. (2018, July 20). Retrieved from https://www.cdc.gov/cholera/diagnosis.html
[3] Nelson, E. J., Harris, J. B., Morris, J. G., Calderwood, S. B., & Camilli, A. (2009, October). Cholera transmission: The host, pathogen and bacteriophage dynamic. Retrieved October 8, 2018, from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3842031/
[4] Bjerketorp, J., Håkansson, S., Belkin, S., & Jansson, J. K. (2006, February). Advances in preservation methods: Keeping biosensor microorganisms alive and active. Retrieved October 8, 2018, from https://www.ncbi.nlm.nih.gov/pubmed/16368231