Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
project:openfooddna [2015/06/06 12:08] – [Data] helucproject:openfooddna [2015/06/06 16:30] (current) heluc
Line 1: Line 1:
 ===== Open Food DNA ===== ===== Open Food DNA =====
  
-(screenshots or sketches up here)+The basic idea is to carry out a citizen science project to compile an open dataset of DNA information about food and beverages.
  
-Brief description goes here. Add sections below if you need more room.+Many more details about the project on the dedicated wiki [[http://wiki.hackuarium.ch/index.php?title=Open-Food-DNA|here]].
  
-Include links to your demo and/or source code.+Take beer. The assumption is that the DNA content (genetic or genomic information about every single living organism that was present during the brewing) may correlate with the type and taste of the brew.
  
-===== Data =====+Somebody else (working for a [[http://www.whitelabs.com|Yeast provider]] in California) seems to be working on this, too. The american press (including the [[http://www.nytimes.com/2014/05/27/science/craft-beer-at-the-genetic-level.html?_r=0|NYT]]) did cover his project, but there is no data or report available so far.
  
-  * American beers metadata 
- 
-Webpage of [[http://www.craftbeeranalytics.com/beer-data.html|CraftBeerAnalytics]] 
-Download data [[http://www.craftbeeranalytics.com/uploads/3/3/8/9/3389428/craftcans_-_sheet_1.csv|here]] 
 ===== Team ===== ===== Team =====
  
Line 19: Line 15:
   * Soraia Binz, designer [[https://twitter.com/supsi|@supsi]]   * Soraia Binz, designer [[https://twitter.com/supsi|@supsi]]
   * [[user:alog|Antoine Logean]], engineer [[https://twitter.com/ecolix|@ecolix]]   * [[user:alog|Antoine Logean]], engineer [[https://twitter.com/ecolix|@ecolix]]
-  * and other team members+ 
 +Disclaimer: Luc Henry and Gianpaolo Rando run the BeerDeCoded project at the open laboratory Hackuarium in Renens and came to get input about data analysis. 
 + 
 +===== Data ===== 
 + 
 +In this project, genetic data will initially be qualitative sequencing data. The idea is to transform this sequencing data into binary data about the presence=1/absence=0 of organisms in a given beer samples. 
 + 
 +==== Random data generation ==== 
 + 
 +Since we do not have data yet, we generated a random dataset using this Octave/Matlab code: 
 +(generates a table containing random binary data for 10 samples and 30 parameters and calculate the euclidian distance matrix) 
 + 
 +<code> 
 +#!/usr/bin/octave 
 +% lines : beer samples 
 +li = 10; 
 +% columns : species and sub species 
 +co = 30; 
 +M = round(rand(li,co)) 
 +O = zeros(li); 
 +for i = 1:li 
 +  for j = 1:i 
 +    O(i,j) = norm( M(:,i)-M(:,j) , 2  ); % euclidian norm 
 +  endfor 
 +endfor   
 +
 +</code> 
 + 
 +We did not plot this data yet. 
 + 
 +==== Metadata ==== 
 + 
 +We searched for metadata to add to the data generated and making it look more real. Few of our findings: 
 + 
 +  American beers metadata set contains name  
 + 
 +Webpage of [[http://www.craftbeeranalytics.com/beer-data.html|CraftBeerAnalytics]] 
 + 
 +Download data [[http://www.craftbeeranalytics.com/uploads/3/3/8/9/3389428/craftcans_-_sheet_1.csv|here]] 
 + 
 +==== Workflow ==== 
 + 
 +Starting from a table containing m samples (S1-Sm) and a [m x n] matrix of binary data (D1-Dn species are either present or not) for each sample, we can build a [m x m] matrix of Euclidian distances between the samples. 
 + 
 +{{ :project:openfooddna_workflow1.png?400 |}} 
 + 
 +The metadata entries (M1-Mn) can be attached to this matrix and used to generate a plot that contains sample points with associated characteristics. This plot contains every single sample present in the database. 
 + 
 +A user friendly interface has to be built in order for the beer lover to choose the beers they know, and compare this "genetic diversity" with that of the beers available at the bar where they are. The sidebar should contain a search space (with autofilling) and then items can be either added as "unknown" (beers available but not tasted yet, white circles) or "favourites" (beers that the user knows). Links show some metadata characteristics that link beers together (same country, same brewery, etc.) 
 + 
 +{{ :project:openfooddna_workflow2.png?400 |}} 
 + 
 +===== Prototype ===== 
 + 
 +We "built" a prototype interface to sketch how we want to present the data. 
 + 
 +We have a main display with three visualisation types you can switch from: Plot (display beer samples based on Euclidian distance), Tree (same but in a tree fashion), Rank (forget distances and rank based on metadata, such as alcohol %, bitterness). 
 + 
 +Here is the Plot: 
 + 
 +{{ :project:openfooddna_main_small.png?400 |}} 
 + 
 +Here is the Tree (can switch from linear to circular representation): 
 + 
 +{{ :project:openfooddna_tree_small.png?400 |}} 
 + 
 +Here is the Plot being transformed into a Rank: 
 + 
 +{{ :project:openfooddna_transform_small.png?400 |}} 
 + 
 +Transformation from Plot to Rank was taken from the following example: 
 +http://work.interactivethings.com/nzz-swiss-maps/exekutive-und-legislative.html 
 ===== Links ===== ===== Links =====
  
 +The original pad where we worked is here (many more info from web searches)
   * https://hackpad.com/Open-Research-Data-Hackdays-4ST1kRoQgQU   * https://hackpad.com/Open-Research-Data-Hackdays-4ST1kRoQgQU
-  * Relevant documentation ... 
-  * Blog or forum posts ... 
-  * Tools you used ... 
-   
-{{tag>status:concept needs:dev needs:design needs:data needs:expert research}} 
  
 +The kickstarter campaign of the BeerDeCoded project is here:
 +  * https://www.kickstarter.com/projects/489252126/beerdecoded-the-1000-beer-genomes
 +
 +The wiki of the DIY biology Hackuarium association is here:
 +  * http://wiki.hackuarium.ch
 +
 +{{tag>status:concept needs:dev needs:design needs:data needs:expert research}}
  • project/openfooddna.1433585309.txt.gz
  • Last modified: 2015/06/06 12:08
  • by heluc