Saturday 15 September 2012

self-organizing maps


http://www.ncbi.nlm.nih.gov/core/lw/2.0/html/tileshop_pmc/tileshop_pmc_inline.html?title=Click%20on%20image%20to%20zoom&p=PMC3&id=3105762_ismej2010180f1.jpg http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3105762/ ISME J. 2011 May; 5(5): 918–928. Published online 2010 December 16. doi: 10.1038/ismej.2010.180 PMCID: PMC3105762 Practical application of self-organizing maps to interrelate biodiversity and functional data in NGS-based metagenomics Marc Weber,1 Hanno Teeling,1,* Sixing Huang,1 Jost Waldmann,1,2 Mariette Kassabgy,1 Bernhard M Fuchs,1 Anna Klindworth,1 Christine Klockow,1,3 Antje Wichels,4 Gunnar Gerdts,4 Rudolf Amann,1 and Frank Oliver Glöckner1,3 Author information ► Article notes ► Copyright and License information ► This article has been cited by other articles in PMC. Abstract Next-generation sequencing (NGS) technologies have enabled the application of broad-scale sequencing in microbial biodiversity and metagenome studies. Biodiversity is usually targeted by classifying 16S ribosomal RNA genes, while metagenomic approaches target metabolic genes. However, both approaches remain isolated, as long as the taxonomic and functional information cannot be interrelated. Techniques like self-organizing maps (SOMs) have been applied to cluster metagenomes into taxon-specific bins in order to link biodiversity with functions, but have not been applied to broad-scale NGS-based metagenomics yet. Here, we provide a novel implementation, demonstrate its potential and practicability, and provide a web-based service for public usage. Evaluation with published data sets mimicking varyingly complex habitats resulted into classification specificities and sensitivities of close to 100% to above 90% from phylum to genus level for assemblies exceeding 8kb for low and medium complexity data. When applied to five real-world metagenomes of medium complexity from direct pyrosequencing of marine subsurface waters, classifications of assemblies above 2.5kb were in good agreement with fluorescence in situ hybridizations, indicating that biodiversity was mostly retained within the metagenomes, and confirming high classification specificities. This was validated by two protein-based classifications (PBCs) methods. SOMs were able to retrieve the relevant taxa down to the genus level, while surpassing PBCs in resolution. In order to make the approach accessible to a broad audience, we implemented a feature-rich web-based SOM application named TaxSOM, which is freely available at http://www.megx.net/toolbox/taxsom. TaxSOM can classify reads or assemblies exceeding 2.5kb with high accuracy and thus assists in linking biodiversity and functions in metagenome studies, which is a precondition to study microbial ecology in a holistic fashion. Keywords: binning, metagenomics, molecular ecology, self-organizing map (SOM), taxonomic classification, TaxSOM

Wednesday 12 September 2012

Using two web cams with Open CV


From the archive Discourse for the Processing (ALPHA) software: "I am trying to use two web cams. In theory, OpenCV allows us to address different cameras. I have two cameras in two USB ports, and Amcap can show either one. The OpenCV capture command can take three args, the last one being the camera index. However, the code below does not seem to work. I'm not sure what indexs to put in the third arg, and chose -1 only because I found this on a java thread about OpenCV." http://processing.org/discourse/beta/num_1237253804.html "It appears to me that the video library in processing currently only supports reading a stream from one camera. Am I correct or does anyone know of a way to read from multiple cameras within the processing environment? " http://www.processing.org/discourse/alpha/board_VideoCamera_action_display_num_1081365206.html from http://forum.processing.org/search/multiple%20cameras Multiple Cameras with JMyron and/or video library: http://forum.processing.org/topic/multiple-cameras-with-jmyron-and-or-video-library key-words: multiple cameras example: Re: 2 Webcams... Individual function 1 year ago I managed to take an image from both camera by mixing some of my own code with some I found from another user. import processing.video.*; Capture cam1; Capture cam2; int currX, currY; int capWidth, capHeight; boolean isCapturing; PFont font; void setup() { size(640,240); String[] devices = Capture.list(); println(devices); currX = 0; currY = 0; capWidth = 320; capHeight = 240; cam1 = new Capture(this, 320, 240, devices[0]); cam2 = new Capture(this, 320, 240, devices[1]); isCapturing = true; } void draw() { image(cam1, currX, currY); image(cam2, 320, currY); } void captureEvent(Capture c) { c.read(); } void keyPressed() { if (key == ' ') { isCapturing = !isCapturing; saveFrame("####.jpg"); } } This creates one image using a capture from both webcams when one button is pressed. Does anyone know how I could make it that each camera has an individual button, and when it is pressed it captures an image from just that webcam?

Tuesday 11 September 2012

Macro Lens: life-size magnification of the eyes


Welcome to Live Chat at the B&H Professional Photography Department. Please wait while we connect you to an agent who will be able to assist you... You have been connected to Bruce P. Clarissa Ribeiro : I wanna buy macro lens to use with a canon eos 7d to make video of extreme close up of the eye's pupil. Clarissa Ribeiro: I wanna know of this one I found is a good option: Clarissa Ribeiro: http://www.bhphotovideo.com/c/product/341925-USA/Sigma_346101_50mm_f_2_8_EX_DG.html Bruce P: Hello Clarissa Ribeiro. My name is Bruce, and I will be glad to assist you. Please give me a few moments to begin working on your inquiry. Clarissa Ribeiro: Hi Bruce! Clarissa Ribeiro: ok Bruce P: Yes, Clarissa. the Sigma lens will work for you. You can move the lens in as close as 7.4" to get that kind of closeup. Clarissa Ribeiro: Thanks Bruce! Bruce P: Thank you and have a great day. Clarissa Ribeiro: a great day for you too! Your session has ended. Your session has ended. You may now close this window.
http://www.bhphotovideo.com/c/product/341925-USA/Sigma_346101_50mm_f_2_8_EX_DG.html Welcome to Live Chat at the B&H Professional Photography Department. Please wait while we connect you to an agent who will be able to assist you... All agents are currently busy. Please stand by. You have been connected to Manzell L. Clarissa Ribeiro : I wanna buy macro lens to use with a canon eos 7d to make video of extreme close up of the eye's pupil. I wanna know if this one I found is a good option: Canon Lens Macro Autofocus USM f/2.8 100mm Manzell L: Hello Clarissa Ribeiro. My name is Manzell, and I will be glad to assist you. Please give me a few moments to begin working on your inquiry. Manzell L: Yes, the Canon 100mm f/2.8 EF USM Autofocus Macro Lens would be recommended for 1:1 life-size magnification of items, including eyes. Manzell L: Is there anything else I can assist you with today, Clarissa Ribeiro? Manzell L: I apologize, but in order to effectively serve all of our awaiting Live Chat clients, I will have to terminate this Live Chat session. If you require more assistance, you can log back into the Live Chat service, or you can send an e-mail to prophoto@bhphotovideo.com and we will assist you. If you need to view our Live Chat hours, you can view the link I am sending you below. Thank you for shopping at B&H Photo. Have a nice day. http://www.bhphotovideo.com/FrameWork/liveChatOff.html Your session has ended. Your session has ended. You may now close this window. http://www.bhphotovideo.com/c/product/194451-USA/Canon_4657A006_100mm_f_2_8_USM_Macro.html