Skip to content

Commit 6d1acfa

Browse files
committed
🎨 order imports, specify relative paths
- in docs the full path will be set based on the directory
1 parent 07ca441 commit 6d1acfa

File tree

2 files changed

+122
-143
lines changed

2 files changed

+122
-143
lines changed
Lines changed: 120 additions & 141 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
report:
2+
title: Earth Microbiome Vuegen Demo Notebook
23
description: "The Earth Microbiome Project (EMP) is a systematic attempt to characterize\
34
\ global microbial taxonomic and functional diversity for the benefit of the planet\
45
\ and humankind. \n It aimed to sample the Earth\u2019s microbial communities\
@@ -10,152 +11,130 @@ report:
1011
\ future studies, fostering increasingly complete characterization of Earth\u2019\
1112
s microbial diversity.\n \n You can find more information about the Earth Microbiome\
1213
\ Project at https://earthmicrobiome.org/ and in the [original article](https://www.nature.com/articles/nature24621).\n"
13-
graphical_abstract: ./example_data/Earth_microbiome_vuegen_demo_notebook/emp_logo.png
14-
logo: ./example_data/Earth_microbiome_vuegen_demo_notebook/emp_logo.png
15-
title: Earth Microbiome Vuegen Demo Notebook
14+
graphical_abstract: ''
15+
logo: ''
1616
sections:
17-
- description: This section contains the exploratory data analysis of the Earth Microbiome
18-
Project (EMP) dataset.
17+
- title: Exploratory Data Analysis
18+
description: ''
1919
subsections:
20-
- components:
21-
- caption: ''
22-
component_type: dataframe
23-
delimiter: ','
24-
description: ''
25-
file_format: csv
26-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/1_Exploratory_data_analysis/1_sample_exploration/1_metadata_random_subset.csv
27-
title: Metadata Random Subset
28-
- caption: ''
29-
component_type: plot
30-
description: ''
31-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/1_Exploratory_data_analysis/1_sample_exploration/2_animal_samples_map.png
32-
plot_type: static
33-
title: Animal Samples Map
34-
- caption: ''
35-
component_type: plot
36-
description: ''
37-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/1_Exploratory_data_analysis/1_sample_exploration/3_plant_samples_map.json
38-
plot_type: plotly
39-
title: Plant Samples Map
40-
- caption: ''
41-
component_type: plot
42-
description: ''
43-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/1_Exploratory_data_analysis/1_sample_exploration/4_saline_samples_map.json
44-
plot_type: altair
45-
title: Saline Samples Map
46-
- caption: Pairwise scatter plots of available physicochemical metadat are shown
47-
for temperature, salinity, oxygen, and pH, and for phosphate, nitrate, and
48-
ammonium
49-
component_type: plot
50-
description: ''
51-
file_path: https://raw.githubusercontent.com/biocore/emp/master/methods/images/figureED1_physicochemical.png
52-
plot_type: static
53-
title: Physicochemical properties of the EMP samples
20+
- title: Sample Exploration
5421
description: ''
55-
title: Sample Exploration
56-
title: Exploratory Data Analysis
57-
- description: ''
22+
components:
23+
- title: Metadata Random Subset
24+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/1_Exploratory_data_analysis/1_sample_exploration/1_metadata_random_subset.csv
25+
description: ''
26+
caption: ''
27+
component_type: DATAFRAME
28+
file_format: CSV
29+
delimiter: ','
30+
- title: Animal Samples Map
31+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/1_Exploratory_data_analysis/1_sample_exploration/2_animal_samples_map.png
32+
description: ''
33+
caption: ''
34+
component_type: PLOT
35+
plot_type: STATIC
36+
- title: Plant Samples Map
37+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/1_Exploratory_data_analysis/1_sample_exploration/3_plant_samples_map.json
38+
description: ''
39+
caption: ''
40+
component_type: PLOT
41+
plot_type: PLOTLY
42+
- title: Saline Samples Map
43+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/1_Exploratory_data_analysis/1_sample_exploration/4_saline_samples_map.json
44+
description: ''
45+
caption: ''
46+
component_type: PLOT
47+
plot_type: ALTAIR
48+
- title: Metagenomics
49+
description: ''
5850
subsections:
59-
- components:
60-
- caption: ''
61-
component_type: plot
62-
description: ''
63-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/1_alpha_diversity/1_alpha_diversity_host_associated_samples.png
64-
plot_type: static
65-
title: Alpha Diversity Host Associated Samples
66-
- caption: ''
67-
component_type: plot
68-
description: ''
69-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/1_alpha_diversity/2_alpha_diversity_free_living_samples.json
70-
plot_type: plotly
71-
title: Alpha Diversity Free Living Samples
72-
description: This subsection contains the alpha diversity analysis of the EMP
73-
dataset.
74-
title: Alpha Diversity
75-
- components:
76-
- caption: ''
77-
component_type: plot
78-
description: ''
79-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/2_average_copy_number/1_average_copy_number_emp_ontology_level2.png
80-
plot_type: static
81-
title: Average Copy Number Emp Ontology Level2
82-
- caption: ''
83-
component_type: plot
84-
description: ''
85-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/2_average_copy_number/2_average_copy_number_emp_ontology_level3.json
86-
plot_type: plotly
87-
title: Average Copy Number Emp Ontology Level3
51+
- title: Alpha Diversity
8852
description: ''
89-
title: Average Copy Number
90-
- components:
91-
- caption: ''
92-
component_type: dataframe
93-
delimiter: ','
94-
description: ''
95-
file_format: csv
96-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/3_nestedness/1_nestedness_random_subset.csv
97-
title: Nestedness Random Subset
98-
- caption: ''
99-
component_type: plot
100-
description: ''
101-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/3_nestedness/2_all_samples.json
102-
plot_type: plotly
103-
title: All Samples
104-
- caption: ''
105-
component_type: plot
106-
description: ''
107-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/3_nestedness/3_plant_samples.json
108-
plot_type: plotly
109-
title: Plant Samples
110-
- caption: ''
111-
component_type: plot
112-
description: ''
113-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/3_nestedness/4_animal_samples.png
114-
plot_type: static
115-
title: Animal Samples
116-
- caption: ''
117-
component_type: plot
118-
description: ''
119-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/3_nestedness/5_non_saline_samples.png
120-
plot_type: static
121-
title: Non Saline Samples
53+
components:
54+
- title: Alpha Diversity Host Associated Samples
55+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/1_alpha_diversity/1_alpha_diversity_host_associated_samples.png
56+
description: ''
57+
caption: ''
58+
component_type: PLOT
59+
plot_type: STATIC
60+
- title: Alpha Diversity Free Living Samples
61+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/1_alpha_diversity/2_alpha_diversity_free_living_samples.json
62+
description: ''
63+
caption: ''
64+
component_type: PLOT
65+
plot_type: PLOTLY
66+
- title: Average Copy Number
12267
description: ''
123-
title: Nestedness
124-
- components:
125-
- caption: a) Environment distribution in all genera and 400 randomly chosen tag
126-
sequence. b) and c) Shannon entropy within each taxonomic group.
127-
component_type: plot
128-
description: ''
129-
file_path: https://raw.githubusercontent.com/biocore/emp/master/methods/images/figure4_entropy.png
130-
plot_type: static
131-
title: Specificity of sequences and higher taxonomic groups for environment
132-
description: This subsection contains the Shannon entropy analysis of the EMP
133-
dataset.
134-
title: Shanon entropy analysis
135-
title: Metagenomics
136-
- description: ''
137-
subsections:
138-
- components:
139-
- caption: ''
140-
component_type: dataframe
141-
delimiter: ','
68+
components:
69+
- title: Average Copy Number Emp Ontology Level2
70+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/2_average_copy_number/1_average_copy_number_emp_ontology_level2.png
71+
description: ''
72+
caption: ''
73+
component_type: PLOT
74+
plot_type: STATIC
75+
- title: Average Copy Number Emp Ontology Level3
76+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/2_average_copy_number/2_average_copy_number_emp_ontology_level3.json
77+
description: ''
78+
caption: ''
79+
component_type: PLOT
80+
plot_type: PLOTLY
81+
- title: Nestedness
82+
description: ''
83+
components:
84+
- title: Nestedness Random Subset
85+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/3_nestedness/1_nestedness_random_subset.csv
14286
description: ''
143-
file_format: csv
144-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/3_Network_analysis/1_phyla_association_networks/1_phyla_counts_subset.csv
145-
title: Phyla Counts Subset
146-
- caption: ''
147-
component_type: plot
148-
csv_network_format: edgelist
149-
description: ''
150-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/3_Network_analysis/1_phyla_association_networks/2_phyla_correlation_network_with_0.5_threshold_edgelist.csv
151-
plot_type: interactive_network
152-
title: Phyla Correlation Network With 0.5 Threshold Edgelist
153-
- caption: ''
154-
component_type: plot
155-
description: ''
156-
file_path: /Users/asaru/Documents/DTU/MoNA/vuegen/docs/example_data/Earth_microbiome_vuegen_demo_notebook/3_Network_analysis/1_phyla_association_networks/3_phyla_correlation_network_with_0.5_threshold.png
157-
plot_type: static
158-
title: Phyla Correlation Network With 0.5 Threshold
87+
caption: ''
88+
component_type: DATAFRAME
89+
file_format: CSV
90+
delimiter: ','
91+
- title: All Samples
92+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/3_nestedness/2_all_samples.json
93+
description: ''
94+
caption: ''
95+
component_type: PLOT
96+
plot_type: PLOTLY
97+
- title: Plant Samples
98+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/3_nestedness/3_plant_samples.json
99+
description: ''
100+
caption: ''
101+
component_type: PLOT
102+
plot_type: PLOTLY
103+
- title: Animal Samples
104+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/3_nestedness/4_animal_samples.png
105+
description: ''
106+
caption: ''
107+
component_type: PLOT
108+
plot_type: STATIC
109+
- title: Non Saline Samples
110+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/2_Metagenomics/3_nestedness/5_non_saline_samples.png
111+
description: ''
112+
caption: ''
113+
component_type: PLOT
114+
plot_type: STATIC
115+
- title: Network Analysis
116+
description: ''
117+
subsections:
118+
- title: Phyla Association Networks
159119
description: ''
160-
title: Phyla Association Networks
161-
title: Network Analysis
120+
components:
121+
- title: Phyla Counts Subset
122+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/3_Network_analysis/1_phyla_association_networks/1_phyla_counts_subset.csv
123+
description: ''
124+
caption: ''
125+
component_type: DATAFRAME
126+
file_format: CSV
127+
delimiter: ','
128+
- title: Phyla Correlation Network With 0.5 Threshold Edgelist
129+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/3_Network_analysis/1_phyla_association_networks/2_phyla_correlation_network_with_0.5_threshold_edgelist.csv
130+
description: ''
131+
caption: ''
132+
component_type: PLOT
133+
plot_type: INTERACTIVE_NETWORK
134+
csv_network_format: EDGELIST
135+
- title: Phyla Correlation Network With 0.5 Threshold
136+
file_path: example_data/Earth_microbiome_vuegen_demo_notebook/3_Network_analysis/1_phyla_association_networks/3_phyla_correlation_network_with_0.5_threshold.png
137+
description: ''
138+
caption: ''
139+
component_type: PLOT
140+
plot_type: STATIC

vuegen/config_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import logging
2-
import os
31
import json
2+
import logging
3+
import os
44
from pathlib import Path
55
from typing import Dict, List, Optional, Tuple, Union
66

0 commit comments

Comments
 (0)