Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
5 of 11 committers (45.5%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.3%) to scientific vocabulary
Keywords from Contributors
Repository
Basic Info
- Host: GitHub
- Owner: bioenergy-research-centers
- License: other
- Language: JavaScript
- Default Branch: main
- Homepage: https://bioenergy.org/
- Size: 6.41 MB
Statistics
- Stars: 8
- Watchers: 7
- Forks: 2
- Open Issues: 15
- Releases: 0
Metadata Files
README.md
bioenergy.org
A site dedicated to creating FAIR datasets to share across bioenergy research centers (BRCs) and to the global research community.
Resources
- Github group
- Slack workspace
- Mailing list - Developers (google group)
- Contribution Guide
- Contributors (have emailed license agreement to Nathan Hillson)
Points of contact at each BRC
- JBEI (lead) = Nathan Hillson (njhillson@lbl.gov)
- GLBRC = Dirk Norman (dirk.norman@wisc.edu)
- CABBI = Leslie Stoecker (lensor@illinois.edu)
- CBI = Stanton Martin (martins@ornl.gov)
Tech contacts
- Hector Plahar
- Nick Thrower
- Clint Cecil
MVP Product Definition
From discussion on 01/30/2024:
- In scope
- Build a basic website on a server running at JBEI using a tech stack that is "modern" but also one one that is new to all of the technical personnel working on it.
- Use agreed upon processes, defined in the contribution guide.
- Include all tech components needed to be a database-driven site.
- Secrets management for database connectivity on the server.
- Out of scope
- Automation (CI/CD pipelines).
- Authentication and authorization within the application.
- Admin interface.
- Data import capabilities.
- Access to the server to deploy outside of JBEI users.
- Tech stack
- VM with nginx and Docker installed.
- Postgres database.
- Vue.js, node.js, express as language stack.
- Container-first approach for all components.
Development
Prerequisites:
- Docker
- Docker Compose
- Node.js (version in .nvmrc), recommend using a version manager like nvm or asdf
- Postman is useful for testing the api.
The application is a monorepo with two main components. The client is a Vue.js application and the API is an Express application.
Running a postgres container
The following command will run a postgres container with the password mysecretpassword and expose the database on port 6432.
docker run --name postgres -e POSTGRES_PASSWORD=mysecretpassword -d -p 6432:5432 postgres
Running the application
- Copy the
.env.samplefile to.envand fill in the environment variables. These can also be set as environment variables on your system. - Docker Compose:
- To run the application in production mode, run
docker-compose upin the root directory of the project. This will start the nginx server for the client, the express server for the API, and the Postgres database. - To run the application in development mode, run
docker compose -f docker-compose.dev.yml up --build --watch. This will start the client and API in development mode with hot reloading. - You can run
docker-compose downto stop the application and destroy the containers and volumes. - Running
docker-compose up --buildwill rebuild the containers and restart the application.
- To run the application in production mode, run
Import BRC Data Feeds
- run
docker compose run api node scripts/import_datafeeds.jsfrom the root folder of the project. - To redirect validation errors to a file, run
docker compose run api node scripts/import_datafeeds.js 2>&1 > import_datafeeds.txt
Resources Used to Build This Application
BRC Data End Points
- CABBI: https://cabbitools.igb.illinois.edu/brc/cabbi.json
- CBI: https://fair.ornl.gov/CBI/cbi.json
- GLBRC: https://fair-data.glbrc.org/glbrc.json
- JBEI: https://bioenergy.org/JBEI/jbei.json
Validating Data
Validating data against the BRC schema can be done with the LinkML framework. - LinkML has a docker image available here: https://hub.docker.com/r/linkml/linkml
Note for Windows users: To run the validator script on Windows: - First install WSL: wsl --install - Then run the Ubuntu terminal: wsl -d Ubuntu - Then follow the Unix instructions below. - Note that WSL does not (by default) route traffic through VPNs. If you encounter connection timeouts when running this script under WSL, either disconnect from your VPN or follow these instructions: https://learn.microsoft.com/en-us/windows/wsl/troubleshooting#wsl-has-no-network-connectivity-once-connected-to-a-vpn
This process, including installing LinkML, can be done with the validation script in this repo:
bash
./validate.sh
Alternatively, the process may be done manually:
- Install the LinkML Python package as detailed here.
- Retrieve a local copy of the data collection in JSON format. For example, run
wget https://bioenergy.org/JBEI/jbei.json - Retrieve the most recent version of the schema in YAML format. The schema is here: https://github.com/bioenergy-research-centers/brc-schema/blob/main/src/brc_schema/schema/brc_schema.yaml
- Run the following
linkmlcommand:linkml validate --schema brc_schema.yaml -C Dataset <datafile>, replacing<datafile>with the path to your data in JSON.- For example, a fully valid
jbei.jsonwill yield the following result:$ linkml validate --schema brc_schema.yaml -C Dataset jbei.json No issues found - Places where the data does not comply with the schema will be indicated like below:
$ linkml validate --schema src/brc_schema/schema/brc_schema.yaml -C Dataset jbei-bad.json [ERROR] [jbei-bad.json/0] Additional properties are not allowed ('DATE' was unexpected) in / [ERROR] [jbei-bad.json/0] 'date' is a required property in / [ERROR] [jbei-bad.json/1] 'yes' is not of type 'boolean', 'null' in /creator/0/primaryContact [ERROR] [jbei-bad.json/8] Additional properties are not allowed ('BRC' was unexpected) in / [ERROR] [jbei-bad.json/8] 'brc' is a required property in /
- For example, a fully valid
Copyright Notice
InterBRC Data Products Portal Copyright (c) 2025, The Regents of the University of California, through Lawrence Berkeley National Laboratory, and UT-Battelle LLC, through Oak Ridge National Laboratory (both subject to receipt of any required approvals from the U.S. Dept. of Energy), University of Wisconsin - Madison, University of Illinois Urbana - Champaign, and Michigan State University. All rights reserved.
If you have questions about your rights to use or distribute this software, please contact Berkeley Lab's Intellectual Property Office at IPO@lbl.gov.
NOTICE. This Software was developed under funding from the U.S. Department of Energy and the U.S. Government consequently retains certain rights. As such, the U.S. Government has been granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the Software to reproduce, distribute copies to the public, prepare derivative works, and perform publicly and display publicly, and to permit others to do so.
Owner
- Name: bioenergy-research-centers
- Login: bioenergy-research-centers
- Kind: organization
- Repositories: 1
- Profile: https://github.com/bioenergy-research-centers
GitHub Events
Total
- Create event: 17
- Issues event: 49
- Watch event: 3
- Delete event: 3
- Issue comment event: 74
- Push event: 41
- Public event: 1
- Pull request review comment event: 4
- Pull request review event: 18
- Pull request event: 33
- Fork event: 2
Last Year
- Create event: 17
- Issues event: 49
- Watch event: 3
- Delete event: 3
- Issue comment event: 74
- Push event: 41
- Public event: 1
- Pull request review comment event: 4
- Pull request review event: 18
- Pull request event: 33
- Fork event: 2
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Nick Thrower | t****n@m****u | 16 |
| Hector Plahar | h****r | 11 |
| Clint Cecil | c****l@w****u | 11 |
| Chuck Parker | c****r | 10 |
| Nathan Hillson | n****n@l****v | 9 |
| Harry Caufield | j****d@g****m | 5 |
| mkulawik | 1****k | 2 |
| StantonMartin | 6****n | 2 |
| Mark A. Miller | M****M@l****v | 2 |
| Leslie Stoecker | l****r@i****u | 1 |
| Dirk Norman (GLBRC) | 1****c | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 69
- Total pull requests: 55
- Average time to close issues: about 1 month
- Average time to close pull requests: 9 days
- Total issue authors: 10
- Total pull request authors: 6
- Average comments per issue: 1.32
- Average comments per pull request: 0.64
- Merged pull requests: 50
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 48
- Pull requests: 45
- Average time to close issues: about 1 month
- Average time to close pull requests: 11 days
- Issue authors: 10
- Pull request authors: 6
- Average comments per issue: 0.79
- Average comments per pull request: 0.64
- Merged pull requests: 40
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- ct-parker (22)
- throwern (14)
- caufieldjh (14)
- hplahar (11)
- dnorman-glbrc (3)
- StantonMartin (1)
- njhillson (1)
- mkulawik (1)
- lensor (1)
- franflame (1)
Pull Request Authors
- throwern (22)
- hplahar (12)
- ct-parker (10)
- caufieldjh (6)
- mkulawik (3)
- franflame (2)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v3.0.2 composite
- actions/setup-node v2 composite
- node 20 build
- nginx stable-alpine build
- node 20 build
- @faker-js/faker ^8.4.1 development
- @octokit/rest ^21.1.0
- ajv ^8.17.1
- ajv-formats ^3.0.1
- axios ^1.7.7
- body-parser ^1.20.2
- cors ^2.8.5
- dotenv ^16.4.5
- express ^4.18.2
- nodemon ^3.1.7
- pg ^8.11.3
- pg-hstore ^2.3.4
- sanitize-html ^2.14.0
- sequelize ^6.37.0
- swagger-jsdoc ^6.2.8
- swagger-ui-express ^5.0.0
- sync-fetch ^0.5.2
- @rushstack/eslint-patch ^1.3.3 development
- @vitejs/plugin-vue ^5.0.3 development
- @vue/eslint-config-prettier ^8.0.0 development
- @vue/test-utils ^2.4.4 development
- cypress ^13.6.3 development
- eslint ^8.49.0 development
- eslint-plugin-cypress ^2.15.1 development
- eslint-plugin-vue ^9.17.0 development
- jsdom ^24.0.0 development
- prettier ^3.0.3 development
- start-server-and-test ^2.0.3 development
- vite ^5.0.11 development
- vitest ^1.2.2 development
- @popperjs/core ^2.11.8
- axios ^1.6.7
- bootstrap ^5.3.2
- bootstrap-icons ^1.11.3
- dotenv ^16.4.5
- jquery ^3.7.1
- pinia ^2.2.4
- pinia-plugin-persistedstate ^4.1.2
- vue ^3.4.15
- vue-router ^4.2.5
- mvp file:api