
I always knew I wanted to be a whale scientist, but for a long time I had no idea what it really looked like. Things started to change when I entered university and had the opportunity of working in a research lab for the first time. The Laboratory of Evolutionary Genomics, where I did my undergrad research, uses bioinformatics to investigate the DNA changes behind the adaptations of marine mammals.
But what is bioinformatics?
In a nutshell, bioinformatics is the use of programming language and computers to study any kind of biological data. To me, though, it was the unlocking of a new power. I can definitely describe my career in terms of “before and after bioinformatics”, because it completely changed the way I see and work with information.
The main object of my research is something called multiple sequence alignment. Imagine a large table with two types of columns: the very first column is filled with names (one per row), and each of the next columns contains a letter (A, C, T or G) that represent the four possible building blocks of a DNA molecule. We can use this “table” to compare DNA sequences across species and investigate their adaptations. This “table” can also be encoded as a text file, where the first line is the name of the species, and the following lines describe the DNA sequence, like this:
Orcinus_orca
atgatgcagg aatctgcgac agagacaata agcaacagtt caatgaatca
aaatggcatg agcactctaa gcagccaatt agatgctggc agcagagatg
These are the first three lines of a killer whale’s sequence for the gene FOXP2, which you can find in an open database here. The first line has the scientific name for the killer whale, Orcinus orca, and the other two lines are the beginning of the gene’s sequence. The whole sequence has 36 lines, which is roughly one page of text in a 12-point font. Now imagine an alignment with 30 species, each with a 36-line sequence for the gene FOXP2: that would be more than 1000 lines, or a 30-page document – and this is a very short gene! Whole genomes (the full collection of DNA sequences of an organism) can have thousands of pages. Can you imagine working with dozens of genomes at a time, each of them a thousand-page document? Reading them, moving them around, comparing them line by line? I would have to be the fastest woman alive to read all this in time to finish my PhD – luckily, computer science gave me the power that radioactive exposure couldn’t.
How coding gave me superpowers
During my undergrad, I worked with the multiple sequence alignments of five hearing genes. I was trying to understand how toothed whales adapted their sonar to hunt in rivers, coastal waters and oceans, because sound travels very differently between them. As a beginner scientist, I was used to working with things by looking directly at them. But once I started this research project, seeing my data was no longer possible. Believe me, I tried. Without coding, I only had my eyes and Copy+Paste ability to download hundreds of sequences for those five genes and compare them one by one. Downloading one gene alone could take an entire week or even more, and would get me physically and mentally exhausted. The same task today is done instantaneously by a python or bash script that I wrote. Which is why I decided to learn how to code.
But superspeed is not the only power coding gave me, I can also time travel. I’ll tell you all about it in the next post, so stay tuned and sea you soon!