Martin Krzywinski / Canada's Michael Smith Genome Sciences Centre / mkweb.bcgsc.ca Martin Krzywinski / Canada's Michael Smith Genome Sciences Centre / mkweb.bcgsc.ca - contact me Martin Krzywinski / Canada's Michael Smith Genome Sciences Centre / mkweb.bcgsc.ca on Twitter Martin Krzywinski / Canada's Michael Smith Genome Sciences Centre / mkweb.bcgsc.ca - Lumondo Photography Martin Krzywinski / Canada's Michael Smith Genome Sciences Centre / mkweb.bcgsc.ca - Pi Art Martin Krzywinski / Canada's Michael Smith Genome Sciences Centre / mkweb.bcgsc.ca - Hilbertonians - Creatures on the Hilbert CurveMartin Krzywinski / Canada's Michael Smith Genome Sciences Centre / mkweb.bcgsc.ca - Pi Day 2020 - Piku
Twenty — minutes — maybe — more.Naomichoose four wordsmore quotes

micron: microscopic


Martin Krzywinski / Canada's Michael Smith Genome Sciences Centre / mkweb.bcgsc.ca
The Outbreak Poems — artistic emissions in a pandemic


data visualization + art

Creating the Molecular Case Studies Cover

If your photos aren’t good enough, then you’re not close enough
— Robert Capa

Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Cover design for Apr 2018 issue of Molecular Case Studies. (zoom)

about the cover

Papillary thyroid carcinoma (PTC) cells, even though malignant, are still genetically programmed to try to be thyroid follicles and may retain their follicular growth pattern, which appear as circles on cross section. Two diagnostic features of papillary thyroid carcinoma are nuclear clearing and intranuclear cytoplasmic inclusions. The black-and-white image is an artistic treatment of a PTC microscopy image (40×) from one of the Personalized Oncogenomics Program study participants at the BC Cancer Research Center. Superimposed is a Circos plot of 17 genomic fusions involving 17 chromosomes identified in the sample by whole-genome sequencing. Showing through the Circos plot is an enhanced color version of the microscopy image. The original image is from Application of genomics to identify therapeutic targets in recurrent pediatric papillary thyroid carcinoma by Ronsley et al. in the April 2018 issue.


The theme of the April issue of Molecular Case Studies is precision oncogenomics. We have three papers in the issue based on work done in our Personalized Oncogenomics Program (POG).

...this special issue provide[s] a glimpse into current cancer precision medicine efforts, reflecting only a microcosm of ... genomics in this bustling space of clinical translation.
John C. Carpten & Elaine R. Mardis
The era of precision oncogenomics
Mol. Case Stud. (2018) 4(2).

I've previously created art based on POG data—posters to celebrate the program's 5-year anniversary.

input materials

The covers of Molecular Case Studies typically show microscopy images, with some shown in a more abstract fashion. There's also the occasional Circos plot.

I've previously taken a more fine-art approach to cover design, such for those of Nature, Genome Research and Trends in Genetics. I've used microscopy images to create a cover for PNAS—the one that made biology look like astrophysics—and thought that this is kind of material I'd start with for the MCS cover.

Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
A few of the microscopy slides submitted to me for the cover design. Courtesy of Anna Lee (Dept Pathology and Laboratory Medicine, UBC).

When I look at these kind of images, I have basically no idea what I'm looking at. Sure, I know this is life at tiny scale but I am not a pathologist. This helps me greatly.

Instead, I see color, shapes, and contrast. I hunt for patterns that would make for an interesting visual, without necessarily trying to communicate any of the science behind that—the paper does a much better job at this than I ever could. It's largely a process driven by intuition and my desire to see distinct visual patterns at different length scales with some symmetry, ideally broken in a pleasing way. Vague, I know.

Images of different regions of the same slide, at the same magnification, can have very different levels of visual engagement (for the non-specialist). Just compare the two images below.

Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Same magnification, same slide. The image on the right is interesting. The one on the left is not, artistically speaking. Courtesy of Anna Lee (Dept Pathology and Laboratory Medicine, UBC).

The slide on the left really caught my eye. It had the right proportion of tiny, small, medium and large things.

Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
I see a heart, a face and lava flow among faces. Obviously, faces everywhere—humans are good at those kinds of Type I errors. The panels below are 100% crops of the 40× slide of papillary thyroid carcinoma shown above them. Courtesy of Anna Lee (Dept Pathology and Laboratory Medicine, UBC).

black and white version

The black-and-white version was obtained by solarizing the image. There are both color and black-and-white options for solarization, a method in which various tones of the image are remapped in brightness.

Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
(A) The original slide (B) A black-and-white composition using Nik Color Efex 4 filters applied in succession to the slide: dark contrast, tonal contrast, white neutralizer and solarization.
Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Compounding effects of each of the filters on the image above.

And here's the first black-and-white take.

Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
The initial black-and-white composition after applying Nik filters.

This looked good but a bit dark. I handled this by lightening the tone, differently depending on the element in the image. I also wanted to bring out more details in the internal structure of the cells. This was achieved by applying an otherwise aggressive sharpening mask.

Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
The effect of additional sharpening and tone remaps, applied differently to intracellular and extracellular regions.

I was quite happy with this result. The combination of solarization and sharpening created a large variety of patterns inside the cells. My brain fought hard to see faces in them.

Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
100% crops of regions of the above black-and-white image. I see a heart (this is the same heart region shown in the color crop above), then a some kind of dog/cat chimera, in the last panel, a suprrised or scared camel. If you look very carefully, you can see a grumpy cat coming out of the heart.

Because I had slides at different magnifications, I created a design in which three slides at 10, 20 and 40 × were composited together so that from left to right the magnification increased across the image. The effect is subtle—you can easily miss it, which is the point.

Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
A seamless stitch of black-and-white treatments of 10, 20 and 40 × slides. As you go from left to right, the magnification increases.

I had pretty high hopes for these black-and-white versions. Previous covers in MCS have been colorful, though, so I thought to provide a color option.

color version

For the color version, I wanted to give the colors more punch. For sure.

I also wanted to emphasize the details, like for the black-and-white image.

The first process step of the color slide was done using 5 Nik filters, applied in succession: dark contrast, tonal contrast, sunlight, polarization and detail extractor. The effects of the stack of these filters is shown on the original image below. The whole image is shown and in each strip the filters are stacked.

Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
The effect of stacking 5 Nik filters on the original image.

Here's the full image with the 5 Nik filters applied.

Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
A seamless stitch of black-and-white treatments of 10, 20 and 40 × slides. As you go from left to right, the magnification increases.

Not there yet, though. I added more sharpening (more than I've ever used before, so I felt a little weird, but got over it quickly). The colors were punched up too—I wanted more contrast between the blue and red areas and transform the reds a little into oranges.

Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
A seamless stitch of black-and-white treatments of 10, 20 and 40 × slides. As you go from left to right, the magnification increases.

If it looks like the blue areas are popping out of the image, that's the effect of the emboss filter.

final composition

The editors asked me to encorporate a Circos image in the final design. This was tricky—I had spent a lot of time up to now fiddling with extracting patterns and textures from the images.

Something as geometrical and rational as a data graphic would alter the personality of the design. But, the goal of artistic collaboration is always to find a way, so I took some gene fusions that were found in the sample with our structural variant pipeline and created a bare-bones Circos image out of them.

Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
A seamless stitch of black-and-white treatments of 10, 20 and 40 × slides. As you go from left to right, the magnification increases.

This was then superimposed on the image and emphasized by using the color design inside the circle and black-and-white design outside.

Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
The final composition for the cover combines both black-and-white and color treatments. The colored pattern stands out above the black-and-white background.

It's always fun to invert images and see what happens.

Molecualar Case Studies - Creating the April 2018 cover / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Inverse of the above. Notice how the pattern inside the circle appears to be sitting below the plane, making the circle more of a window to a scene. .

VIEW ALL

news + thoughts

Virus Mutations Reveal How COVID-19 Really Spread

Mon 04-05-2020

Genetic sequences of the coronavirus tell story of when the virus arrived in each country and where it came from.

Our graphic in Scientific American's Graphic Science section in the June 2020 issue shows a phylogenetic tree based on a snapshot of the data model from Nextstrain as of 31 March 2020.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Virus Mutations Reveal How COVID-19 Really Spread. Text by Mark Fischetti (Senior Editor), art direction by Jen Christiansen (Senior Graphics Editor), source: Nextstrain (enabled by data from GISAID).

Cover of Nature Cancer April 2020

Mon 27-04-2020

Our design on the cover of Nature Cancer's April 2020 issue shows mutation spectra of patients from the POG570 cohort of 570 individuals with advanced metastatic cancer.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Each ellipse system represents the mutation spectrum of an individual patient. Individual ellipses in the system correspond to the number of base changes in a given class and are layered by mutation count. Ellipse angle is controlled by the proportion of mutations in a class within the sample and its size is determined by a sigmoid mapping of mutation count scaled within the layer. The opacity of each system represents the duration since the diagnosis of advanced disease. (read more)

The cover design accompanies our report in the issue Pleasance, E., Titmuss, E., Williamson, L. et al. (2020) Pan-cancer analysis of advanced patient tumors reveals interactions between therapy and genomic landscapes. Nat Cancer 1:452–468.

Modeling infectious epidemics

Wed 06-05-2020

Every day sadder and sadder news of its increase. In the City died this week 7496; and of them, 6102 of the plague. But it is feared that the true number of the dead this week is near 10,000 ....
—Samuel Pepys, 1665

This month, we begin a series of columns on epidemiological models. We start with the basic SIR model, which models the spread of an infection between three groups in a population: susceptible, infected and recovered.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Nature Methods Points of Significance column: Modeling infectious epidemics. (read)

We discuss conditions under which an outbreak occurs, estimates of spread characteristics and the effects that mitigation can play on disease trajectories. We show the trends that arise when "flattenting the curve" by decreasing `R_0`.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Nature Methods Points of Significance column: Modeling infectious epidemics. (read)

This column has an interactive supplemental component that allows you to explore how the model curves change with parameters such as infectious period, basic reproduction number and vaccination level.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Nature Methods Points of Significance column: Modeling infectious epidemics. (Interactive supplemental materials)

Bjørnstad, O.N., Shea, K., Krzywinski, M. & Altman, N. (2020) Points of significance: Modeling infectious epidemics. Nature Methods 17:455–456.

The Outbreak Poems

Sat 04-04-2020

I'm writing poetry daily to put my feelings into words more often during the COVID-19 outbreak.

That moment
when
you know a moment.
Branch to branch,
flit,
look everywhere,
chirp.
Memory,
scent
of thought fleeting.
Distant pasts
all
ways in plural
form.

Read the poems and learn what a piku is.

Deadly Genomes: Genome Structure and Size of Harmful Bacteria and Viruses

Tue 17-03-2020

A poster full of epidemiological worry and statistics. Now updated with the genome of SARS-CoV-2 and COVID-19 case statistics as of 3 March 2020.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Deadly Genomes: Genome Structure and Size of Harmful Bacteria and Viruses (zoom)

Bacterial and viral genomes of various diseases are drawn as paths with color encoding local GC content and curvature encoding local repeat content. Position of the genome encodes prevalence and mortality rate.

The deadly genomes collection has been updated with a posters of the genomes of SARS-CoV-2, the novel coronavirus that causes COVID-19.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Genomes of 56 SARS-CoV-2 coronaviruses that causes COVID-19.
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Ball of 56 SARS-CoV-2 coronaviruses that causes COVID-19.
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
The first SARS-CoV-2 genome (MT019529) to be sequenced appears first on the poster.

Using Circos in Galaxy Australia Workshop

Wed 04-03-2020

A workshop in using the Circos Galaxy wrapper by Hiltemann and Rasche. Event organized by Australian Biocommons.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Using Circos in Galaxy Australia workshop. (zoom)

Download workshop slides.

Galaxy wrapper training materials, Saskia Hiltemann, Helena Rasche, 2020 Visualisation with Circos (Galaxy Training Materials).