This document outlines the steps needed to recreate figure 1A, 1B and 2A-C. To
generate the artifacts in these figures, we recommend installing
Empress, cloning this repository, and
following the steps in the Jupyter notebooks (see the notebooks folder).
For visualizing the QZV files we recommend using Safari or Firefox, since Google Chrome is known to show degraded performance when loading large files in certain cases (for example Figure 1A-B). See here for details on this.
- Change
LayouttoCircular - Color tips by phylum assignment
Feature Metadata Coloringcolor byphylum_assignment- Set
Color MaptoDark - Click
Update
- EMPO 1 barplot
- Check
Draw barplots?inBarplotsmenu - Click
Sample Metadata - Show sample info for
empo_1 - Set
Color MaptoYellow-Orange-Red - Set
Lengthto 150 - Click
Update
- Check
- Search for specific feature
- Copy
TACGTAGGTCCCGAGCGTTGTCCGGATTTATTGGGCGTAAAGCGAGCGCAGACGGTTACTTAAGCAGGATGTGAAATCCCCGGGCTCAACinto search bar - Click
Search
- Copy
- Change
LayouttoCircular - Phylum assignment barplot
- Check
Draw barplots?inBarplotsmenu - Click
Feature Metadata - Color by
phylum_assignment - Set
Color MaptoDark - Set length to 150
- Check
- Mean pH barplot
- Click
Add another layer - Click
Feature Metadata - Color by
arithmetic_mean - Set
Color MaptoYellow-Green-Blue - Check
Continuous values? - Set length to 150
- Click
- Add space between barplots
- Check
Add a border around barplot layers? - Set
Lengthto 20 - Click
Update
- Check
- In the
Layouttab- Change
LayouttoCircular - Change
Sort clades based on tip count?toNo sorting
- Change
- In the
Feature Metadata Coloringtab- Select
custom_levelforColor by... - Set
Color MaptoSpectral - Check
Collapse Clades
- Select
- In the
Barplotstab- Check
Draw barplots? - Click
Feature Metadata - Color by
covid_hc_sig - Set
Color MaptoViridis - Click
Add another layer - Color by
covid_pn_sig - Set
Color MaptoViridis - Check
Add a border around barplot layers? - Change
Border Colortoblack - Set border
Lengthto5 - Click the
UpdateButton - Note: No significant difference = 0, Lower in COVID-19 samples = -1, Higher in COVID-19 samples = 1
- Check
- Double click on the
Carbon-carbon lyasesclade (the larger red clade) - In
Search by node name..., search for4.1.1.20
Link to QZV of the EMPress plot.
To reproduce the figure within this QZV:
- Change
LayouttoCircular - Color tips by their supperclass annotation:
- Use
Feature Metadata Coloringto color bysuperclass. - Set the
Extra Line Widthto15, hit enter. - Click
Update.
- Use
- In the
Barplotstab, click the checkbox markedDraw barplots?. - Add a barplot for the common meal type annotation. Within the
Layer 1section:- Click on
Sample Metadata. - Click on
Show sample info for ...and selectcommon_meal_type. - Set the
Color MaptoAccent. - Set
Lengthto 700.
- Click on
- Click
Update.
See the notebook for details on how we merged the data, generated an EMPress visualization, and configured the visualization.
Link to QZV of the EMPress plot.
To reproduce the figure within this QZV:
- Change
LayouttoCircular - Color tips by their phylum-level taxonomic classifications:
- Use
Feature Metadata Coloringto color byLevel 2. - Set
Extra Line Widthto15. - Click
Update.
- Use
- In the
Barplotstab, click the checkbox markedDraw barplots?. - Add a barplot for the Songbird differentials. Within the
Layer 1section:- Click on
Color by...and selectC(brushing_event)[T.before]. - Set the
Color MaptoRed-Blue. - Check the
Continuous values?checkbox. - Set
Default lengthto 500.
- Click on
- Click
Update. - Add a barplot for the ALDEx2 effect sizes. Click
Add another layer. Within theLayer 2section:- Click on
Color by...and selectsfit.effect. - Set the
Color MaptoRed-Blue. - Check the
Continuous values?checkbox. - Set
Default lengthto 500.
- Click on
- Click
Update. - Add a barplot for the ANCOM W-statistics. Click
Add another layer. Within theLayer 3section:- Click on
Color by...and selectW_stat. - Set the
Color MaptoPurples. - Check the
Continuous values?checkbox. - Set
Default lengthto 500.
- Click on
- Click
Update. - Add a border around each barplot layer:
- Click the
Add a border around barplot layers?checkbox. - Set
Lengthto 100.
- Click the
- Click
Update.
See the notebook for details on how we merged the data, generated an EMPress visualization, and configured the visualization.