You take a gene for a fluorescent protein (from a an organism that makes it naturally, like a jellyfish) and then put in the bacterial cell and then put it in some chemicals that will make the bacteria make the protein. Once they make the protein they are fluorescent. This process is called transformation.
Comments