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
[VueGen][vuegen-repo] is an open source project, and we welcome contributions of all
4
+
kinds via GitHub issues and pull requests: correct or improve our [documentation][vuegen-docs], report or fix bugs, propose changes, and implement new features. Please follow
5
+
these guidelines to make sure that your contribution is easily integrated into the project.
6
+
7
+
## 1. Contributor Agreement
8
+
9
+
By contributing, you agree that we may redistribute your work under [our
10
+
license](LICENSE). In exchange, we will address your issues and/or assess
11
+
your change proposal as promptly as we can, and help you become a member of our
12
+
community.
13
+
14
+
## 2. What to Contribute
15
+
16
+
The easiest way to get started is by reporting an issue that needs to be fixed,
17
+
such as a bug in the code, unclear explanations, conceptual errors, or other details.
18
+
You can also contribute by proposing new features or modules, improving existing
19
+
functionality, or suggesting other ideas that might be useful. If you’re looking for
20
+
inspiration, please check the [list of open issues][issues] in this repository.
21
+
22
+
Feedback from beginners is especially valuable, as experienced users may overlook how
23
+
challenging certain aspects of the software can be for newcomers. Therefore, we encourage
24
+
you to share any suggestions or observations you have about this project.
25
+
26
+
## 3. How to Contribute
27
+
28
+
Here are the ways you can submit your suggestions and contribute to the project:
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.
34
+
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 [Section 4][#4-creating-a-pull-request] of this document.
37
+
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.
40
+
41
+
> [!NOTE]
42
+
> The documentation for [Git][git-docs] and [GitHub][github-docs] are easy to follow, and you can learn the basics using their official guides.
43
+
44
+
## 4. Creating a Pull Request
45
+
46
+
If you choose to contribute via GitHub, you may want to look at [How to Contribute to an Open Source Project on GitHub][how-contribute]. In brief, we use [GitHub flow][github-flow] to manage changes:
47
+
48
+
1. Create a new branch in your desktop copy of this repository for each significant change.
49
+
2. Commit the change in that branch.
50
+
3. Push that branch to your fork of this repository on GitHub.
51
+
4. Submit a pull request from that branch to the [upstream repository][vuegen-repo].
52
+
5. If you receive feedback, make changes on your desktop and push to your branch on GitHub: the
53
+
pull request will update automatically.
54
+
55
+
## 5. Credits
56
+
57
+
This contribution guide was modified under the [Creative Commons Attribution 4.0 International License] from the [Software Carpentry guides][soft-cp-guides].
-[Credits and acknowledgements](#credits-and-acknowledgements)
23
25
-[Citation](#citation)
24
26
-[Contact and feedback](#contact-and-feedback)
25
27
26
28
## About the project
29
+
27
30
VueGen automates the creation of reports based on a directory with plots, dataframes, and other files in different formats. A YAML configuration file is generated from the directory to define the structure of the report. Users can customize the report by modifying the configuration file, or they can create their own configuration file instead of passing a directory as input.
28
31
29
32
The configuration file specifies the structure of the report, including sections, subsections, and various components such as plots, dataframes, markdown, html, and API calls. Reports can be generated in various formats, including documents (PDF, HTML, DOCX, ODT), presentations (PPTX, Reveal.js), notebooks (Jupyter) or [Streamlit](streamlit) web applications.
@@ -41,7 +44,12 @@ An extended version of the class diagram with attributes and methods is availabl
41
44
The VueGen documentation is available at [vuegen.readthedocs.io][vuegen-docs], where you can find detailed information of the package’s classes and functions, installation and execution instructions, and case studies to demonstrate its functionality.
42
45
43
46
## Installation
47
+
48
+
> [!TIP]
49
+
> It is recommended to install VueGen inside a virtual environment to manage depenendencies and avoid conflicts with existing packages. You can use the virtual environment manager of your choice, such as `poetry`, `conda`, or `pipenv`.
50
+
44
51
### Pip
52
+
45
53
VueGen is available on [PyPI][vuegen-pypi] and can be installed using pip:
pip install -e .# in case your pwd is in the vuegen directory
56
64
```
57
65
58
-
> [!TIP]
59
-
> It is recommended to install VueGen inside a virtual environment to manage depenendencies and avoid conflicts with existing packages. You can use the virtual environment manager of your choice, such as `poetry`, `conda`, or `pipenv`.
60
-
61
66
### Conda
67
+
62
68
VueGen is also available on [Bioconda][vuegen-conda] and can be installed using conda:
63
69
64
70
```bash
65
71
conda install bioconda::vuegen
66
72
```
67
73
68
74
### Dependencies
75
+
69
76
VueGen uses [Quarto][quarto] to generate various report types. The pip insallation includes quarto using the [quarto-cli Python library][quarto-cli-pypi]. To test if quarto is installed in your computer, run the following command:
70
77
71
78
```bash
@@ -76,12 +83,15 @@ quarto check
76
83
> If quarto is not installed, you can download the command-line interface from the [Quarto website][quarto-cli] for your operating system.
77
84
78
85
### Docker
86
+
79
87
If you prefer not to install VueGen on your system, a pre-configured Docker container is available. It includes all dependencies, ensuring a fully reproducible execution environment. See the [Execution section](#execution) for details on running VueGen with Docker. The official Docker image is available at [quay.io/dtu_biosustain_dsp/vuegen][vuegen-docker-quay].
80
88
81
89
### Nextflow and nf-core
90
+
82
91
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].
83
92
84
93
## Execution
94
+
85
95
> [!IMPORTANT]
86
96
> Here we use the `Earth_microbiome_vuegen_demo_notebook` directory and the `Earth_microbiome_vuegen_demo_notebook.yaml` configuration file 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.
87
97
@@ -111,6 +121,7 @@ The current report types supported by VueGen are:
111
121
* Jupyter
112
122
113
123
### Running VueGen with Docker
124
+
114
125
Instead of installing VueGen locally, you can run it directly from a Docker container with the following command:
115
126
116
127
```bash
@@ -121,6 +132,7 @@ docker run --rm \
121
132
```
122
133
123
134
## Case studies
135
+
124
136
VueGen’s functionality is demonstrated through two case studies:
125
137
126
138
**1. Predefined Directory**
@@ -139,6 +151,7 @@ This advanced case study demonstrates the application of VueGen in a real-world
139
151
> The EMP case study is available online as [HTML][emp-html-demo] and [Streamlit][emp-st-demo] reports.
140
152
141
153
## Web application deployment
154
+
142
155
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:
143
156
144
157
***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.
@@ -147,12 +160,18 @@ Once a Streamlit report is generated, it can be deployed as a web application to
147
160
148
161
These options provide flexibility depending on whether the goal is online accessibility, lightweight execution, or local application distribution.
149
162
163
+
## Contributing
164
+
165
+
VueGen is an open-source project, and we welcome contributions of all kinds via GitHub issues and pull requests. You can report bugs, suggest improvements, propose new features, or implement changes. Please follow the guidelines in the [CONTRIBUTING.md](CONTRIBUTING.md) file to ensure that your contribution is easily integrated into the project.
166
+
150
167
## Credits and acknowledgements
168
+
151
169
- VueGen was developed by the [Multiomics Network Analytics Group (MoNA)][Mona] at the [Novo Nordisk Foundation Center for Biosustainability (DTU Biosustain)][Biosustain].
152
170
- VueGen relies on the work of numerous open-source projects like [Streamlit](streamlit), [Quarto][quarto], and others. A big thank you to their authors for making this possible!
153
171
- The vuegen logo was designed based on an image created by [Scriberia][scriberia] for The [Turing Way Community][turingway], which is shared under a CC-BY licence. The original image can be found at [Zenodo][zenodo-turingway].
154
172
155
173
## Citation
174
+
156
175
If you use VueGen in your research or publications, please cite it as follows:
157
176
158
177
**APA:**
@@ -175,6 +194,7 @@ Ayala-Ruano, S., Webel, H., & Santos, A. (2025). *VueGen: Automating the generat
175
194
```
176
195
177
196
## Contact and feedback
197
+
178
198
We appreciate your feedback! If you have any comments, suggestions, or run into issues while using VueGen, feel free to [open an issue][new-issue] in this repository. Your input helps us make VueGen better for everyone.
0 commit comments