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
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,16 +27,17 @@ you to share any suggestions or observations you have about this project.
27
27
28
28
Here are the ways you can submit your suggestions and contribute to the project:
29
29
30
-
1.**Reporting Issues or Suggesting Improvements:** If you have a [GitHub][github] account
31
-
(or are willing to [open one][github-join]) but are unfamiliar with Git, you can report
32
-
bugs or suggest improvements by [creating an issue][new-issue]. This GitHub feature allows
33
-
for discussion threads on reported issues and proposed enhancements.
30
+
### 1. Reporting Issues or Suggesting Improvements
34
31
35
-
2.**Submitting Changes via Pull Requests:** If you are comfortable using Git and would like to
36
-
add or modify a functionality, you can submit a **pull request (PR)**. Instructions on how to contribute this way are provided in the next section.
32
+
If you have a [GitHub][github] account (or are willing to [open one][github-join]) but are unfamiliar with Git, you can report bugs or suggest improvements by [creating an issue][new-issue]. This GitHub feature allows for discussion threads on reported issues and proposed enhancements.
37
33
38
-
3.**Providing Feedback via Email:** If you don’t have a GitHub account and are
39
-
unfamiliar with Git, you can send feedback via email to [[email protected]][contact]. However, using GitHub is preferred, as it allows us to respond more quickly and track discussions openly.
34
+
### 2. Submitting Changes via Pull Requests
35
+
36
+
If you are comfortable using Git and would like to add or modify a functionality, you can submit a **pull request (PR)**. Instructions on how to contribute this way are provided in the next section.
37
+
38
+
### 3. Providing Feedback via Email
39
+
40
+
If you don’t have a GitHub account and are unfamiliar with Git, you can send feedback via email to [[email protected]][contact]. However, using GitHub is preferred, as it allows us to respond more quickly and track discussions openly.
40
41
41
42
> [!NOTE]
42
43
> The documentation for [Git][git-docs] and [GitHub][github-docs] are easy to follow, and you can learn the basics using their official guides.
|**Discuss on GitHub**|[][issues][][pulls]|
@@ -98,7 +98,7 @@ If you prefer not to install VueGen on your system, a pre-configured Docker cont
98
98
99
99
### Nextflow and nf-core
100
100
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. The code and documentation for the nf-core module are available in the [nf-VueGen repository][nf-vuegen].
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].
102
102
103
103
## Execution
104
104
@@ -238,7 +238,7 @@ More information regarding the app and builds can be found in the
238
238
239
239
VueGen’s functionality is demonstrated through two case studies:
240
240
241
-
**1. Predefined Directory**
241
+
### 1. Predefined Directory
242
242
243
243
This introductory case study uses a predefined directory with plots, dataframes, Markdown, and HTML components. Users can generate reports in different formats and modify the configuration file to customize the report structure.
244
244
@@ -247,7 +247,7 @@ This introductory case study uses a predefined directory with plots, dataframes,
247
247
> [!NOTE]
248
248
> The [configuration file][predef-dir-config] is available in the `docs/example_config_files` folder, and the [directory][predef-dir] with example data is in the `docs/example_data` folder.
249
249
250
-
**2. Earth Microbiome Project Data**
250
+
### 2. Earth Microbiome Project Data
251
251
252
252
This advanced case study demonstrates the application of VueGen in a real-world scenario using data from the [Earth Microbiome Project (EMP)][emp]. The EMP is an initiative to characterize global microbial taxonomic and functional diversity. The notebook process the EMP data, create plots, dataframes, and other components, and organize outputs within a directory to produce reports. Report content and structure can be adapted by modifying the configuration file. Each report consists of sections on exploratory data analysis, metagenomics, and network analysis.
253
253
@@ -257,10 +257,12 @@ This advanced case study demonstrates the application of VueGen in a real-world
257
257
> The EMP case study is available online as [HTML][emp-html-demo] and [Streamlit][emp-st-demo] reports.
258
258
> The [configuration file][emp-config] is available in the `docs/example_config_files` folder, and the [directory][emp-dir] with example data is in the `docs/example_data` folder.
259
259
260
-
**3. ChatBot Component**
260
+
### 3. ChatBot Component
261
+
262
+
This case study highlights VueGen’s capability to embed a chatbot component into a report subsection,
263
+
enabling interactive conversations inside the report. This component is streamlit-specific and is not
264
+
available for other report types.
261
265
262
-
This case study highlights VueGen’s capability to embed a chatbot component into a report subsection,
263
-
enabling interactive conversations inside the report.
264
266
265
267
Two API modes are supported:
266
268
@@ -290,9 +292,17 @@ to support more flexible and general-purpose response formats in future releases
290
292
291
293
Once a Streamlit report is generated, it can be deployed as a web application to make it accessible online. There are multiple ways to achieve this:
292
294
293
-
-**Streamlit Community Cloud**: Deploy your report easily using [Streamlit Cloud][st-cloud], as demonstrated in the [EMP VueGen Demo][emp-st-demo]. The process involves moving the necessary scripts, data, and a requirements.txt file into a GitHub repository. Then, the app can be deployed via the Streamlit Cloud interface. The deployment example is available in the `streamlit-report-example` branch.
294
-
-**Standalone Executables**: Convert your Streamlit application into a desktop app by packaging it as an executable file for different operating systems. A detailed explanation of this process can be found in this [Streamlit forum post][st-forum-exe].
295
-
-**Stlite**: Run Streamlit apps directly in the browser with [stlite][stlite], a WebAssembly port of Streamlit powered by Pyodide, eliminating the need for a server. It also allows packaging apps as standalone desktop executables using stlite desktop.
295
+
### Streamlit Community Cloud
296
+
297
+
Deploy your report easily using [Streamlit Cloud][st-cloud], as demonstrated in the [EMP VueGen Demo][emp-st-demo]. The process involves moving the necessary scripts, data, and a requirements.txt file into a GitHub repository. Then, the app can be deployed via the Streamlit Cloud interface. The deployment example is available in the `streamlit-report-example` branch.
298
+
299
+
### Standalone Executables
300
+
301
+
Convert your Streamlit application into a desktop app by packaging it as an executable file for different operating systems. A detailed explanation of this process can be found in this [Streamlit forum post][st-forum-exe].
302
+
303
+
### Stlite
304
+
305
+
Run Streamlit apps directly in the browser with [stlite][stlite_repo], a WebAssembly port of Streamlit powered by Pyodide, eliminating the need for a server. It also allows packaging apps as standalone desktop executables using stlite desktop.
296
306
297
307
These options provide flexibility depending on whether the goal is online accessibility, lightweight execution, or local application distribution.
298
308
@@ -357,6 +367,7 @@ We appreciate your feedback! If you have any comments, suggestions, or run into
sphinx-build -n -W --keep-going -b html ./ ./_build/
32
32
```
33
33
34
-
## Include repo README.md into docs
34
+
## Include repo README into docs
35
+
36
+
The README is included in the `Overview` section of the docs. We created a [Python script](https://github.com/Multiomics-Analytics-Group/vuegen/blob/split-readme-docs/docs/split_readme.py) to split the README sections into separate md files, stored in `docs/sections_readme`. The `index.md` file contains the structure of the docs with the generated sections and additional information.
35
37
36
38
Relative links are used in the main README, which need to be resolved when building. It's
37
39
possible to include the a `relative-docs` option if one uses `index.md` ([see docs](https://myst-parser.readthedocs.io/en/latest/faq/index.html#include-a-file-from-outside-the-docs-folder-like-readme-md)). This does not work
The Earth Microbiome Project case study generated in the example notebook using `vuegen` is available online as [HTML](https://multiomics-analytics-group.github.io/vuegen/) and [Streamlit](https://earth-microbiome-vuegen-demo.streamlit.app/) reports.
0 commit comments