You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, the class diagram for the project's current version is presented below to show the architecture and relationships between classes:
40
44
41
45

42
46
@@ -59,9 +63,11 @@ pip install vuegen
59
63
60
64
You can also install the package for development by cloning this repository and running the following command:
61
65
66
+
> [!WARNING]
67
+
> We assume you are in the root directory of the cloned repository when running this command. Otherwise, you need to specify the path to the `vuegen` directory.
68
+
62
69
```bash
63
-
pip install -e path/to/vuegen # specify location
64
-
pip install -e .# in case your pwd is in the vuegen directory
70
+
pip install -e .
65
71
```
66
72
67
73
### Conda
@@ -98,12 +104,12 @@ If you prefer not to install VueGen on your system, a pre-configured Docker cont
98
104
99
105
### Nextflow and nf-core
100
106
101
-
VueGen is also available as a [nf-core][nfcore] module, customised for compatibility with the [Nextflow][nextflow] environment. This module is designed to automate report generation from outputs produced by other modules, subworkflows, or pipelines. You can read the offical documentation for the nf-core module [here](nf-vuegen-nf-core). Also, the source code and detailed documentation are available in the [nf-VueGen repository][nf-vuegen].
107
+
VueGen is also available as a [nf-core][nfcore] module, customised for compatibility with the [Nextflow][nextflow] environment. This module is designed to automate report generation from outputs produced by other modules, subworkflows, or pipelines. You can read the offical documentation for the nf-core module [here][nf-vuegen-nf-core]. Also, the source code and additional details are available in the [nf-VueGen repository][nf-vuegen].
102
108
103
109
## Execution
104
110
105
111
> [!IMPORTANT]
106
-
> Here we use the `Earth_microbiome_vuegen_demo_notebook`[directory][emp-dir] and the `Earth_microbiome_vuegen_demo_notebook.yaml`[configuration file][emp-config] as examples, which are available in the `docs/example_data` and `docs/example_config_files` folders, respectively. Make sure to clone this reposiotry to access these contents, or use your own directory and configuration file.
112
+
> Here we use the `Earth_microbiome_vuegen_demo_notebook`[directory][emp-dir] and the `Earth_microbiome_vuegen_demo_notebook.yaml`[configuration file][emp-config] as examples, which are available in the `docs/example_data` and `docs/example_config_files` folders, respectively. Make sure to clone the VueGen's GitHub reposiotry to access these contents, or use your own directory and configuration file.
107
113
108
114
Run VueGen using a directory with the following command:
Your input directory must follow a **nested folder structure**, where first-level folders are treated as **sections** and second-level folders as **subsections**, containing the components (plots, tables, networks, Markdown text, and HTML files).
125
+
Your input directory should follow a **nested folder structure**, where first-level folders are treated as **sections** and second-level folders as **subsections**, containing the components (plots, tables, networks, Markdown text, and HTML files). If the component files are in the first-level folders, an `overview` subsection will be created automatically.
120
126
121
127
Here is an example layout:
122
128
123
129
```
124
130
report_folder/
125
131
├── section1/
132
+
│ ├── table1.tsv
126
133
│ └── subsection1/
127
-
│ ├── table.csv
134
+
│ ├── table2.csv
128
135
│ ├── image1.png
129
136
│ └── chart.json
130
137
├── section2/
138
+
│ ├── image2.jpg
131
139
│ ├── subsection1/
132
140
│ │ ├── summary_table.xls
133
141
│ │ └── network_plot.graphml
@@ -136,9 +144,6 @@ report_folder/
136
144
│ └── summary.md
137
145
```
138
146
139
-
> [!WARNING]
140
-
> VueGen currently requires each section to contain at least one subsection folder. Defining only sections (with no subsections) or using deeper nesting levels (i.e., sub-subsections) will result in errors. In upcoming releases, we plan to support more flexible directory structures.
141
-
142
147
The titles for sections, subsections, and components are extracted from the corresponding folder and file names, and afterward, users can add descriptions, captions, and other details to the configuration file. Component types are inferred from the file extensions and names.
143
148
The order of sections, subsections, and components can be defined using numerical suffixes in folder and file names.
144
149
@@ -174,14 +179,19 @@ docker run --rm \
174
179
175
180
## GUI
176
181
182
+
We have a simple GUI for VueGen that can be run locally or through a standalone executable.
183
+
177
184
### Local GUI
178
185
179
-
We have a simple GUI for VueGen that can be run locally or through a standalone executable.
180
-
For now you will need to have a copy of this repository.
186
+
To use the **local GUI**, you should clone this repository and install the required dependencies. You can do this by running the following command in the root directory of the cloned repository:
181
187
182
188
```bash
183
189
pip install '.[gui]'
184
-
cd gui
190
+
```
191
+
192
+
Then, you should move to the `gui` folder and execute the `app.py` Python file:
193
+
194
+
```bash
185
195
python app.py
186
196
```
187
197
@@ -190,53 +200,66 @@ python app.py
190
200
The **bundle GUI** with the VueGen package is available under the
0 commit comments