This repository manages and aggregates static assets from various OpenCloning-related repositories. It serves as a centralized location for accessing and serving important data files and resources used across the OpenCloning tools.
https://assets.opencloning.org/
This repository collects and organizes static assets from multiple repositories (more to come):
- SnapGene crawler data
- SEVA plasmids index
- Annotated iGEM distribution
- OpenCloning submission data
Just run ./get_assets.py to fetch the latest versions.
The repositories, commits and paths pulled are defined in the versions.json file.
The build will generate the following directory structure for a static site:
assets/
├── SnapGene_crawler/
│ └── index.json
├── seva_plasmids_index/
│ └── index.json
├── annotated-igem-distribution/
│ ├── results/
│ │ ├── index.json
│ │ └── plasmids/
├── OpenCloning-submission/
│ ├── index.json
│ └── processed/
├── ...
└── index.html
The assets are pulled from the following repositories at specific commits:
- SnapGene_crawler: Repository for SnapGene data crawling
- seva_plasmids_index: SEVA plasmids database
- annotated-igem-distribution: iGEM distribution data with annotations
- OpenCloning-submission: OpenCloning submission data
To add a new entry to the versions.json file, you need to add the following information:
repository: The URL of the repositorycommit: The commit hash to pullpaths: The paths to pull from the repository
The paths are relative to the repository root.
For now, I am just doing manual deployments to netlify. If it gets updated more often, I will set up a CI/CD pipeline.
python get_assets.py
netlify deploy --prod -d assets -s 327e12c8-ca69-44d2-adbc-2ac9cd10b3a2