Excel-to-SBOL is an open source python library that converts Excel Templates to SBOL documents
Project description
Excel-to-SBOL
Excel-to-SBOL is an open source python library that converts Excel Templates to SBOL documents.
A similar utility developed for SBOL3 support (developed by Jake Beal) is in SBOL-utilities.
For further depth and information on Excel-to-SBOL, including how to contribute to the project, visit the Excel-to-SBOL wiki on github
Table of Contents
Excel-to-SBOL: Installation & How to use
Installation
Excel-to-SBOL can be installed using pip install excel2sbol
To get the latest version you can use git clone https://github.com/SynBioDex/Excel-to-SBOL followed by cd .\excel2sbol and python setup.py install
How to use
1) Choose an Excel Template Choose an excel template from the templates folder. We suggest choosing the latest version. Fill out the template as the instructions indicate.
2) Install the Converter
There are several ways to install the converter. The easiest is via pip: pip install excel2sbol but it can also be done by cloning the repository.
3) Run the Converter Use the code below to run the converter. Converter file needs to be within the same directory as the Excel template. The following script asks the user for the name of the input file, version of SBOL to use, and offers the option to sign in to gain access to private repositories.
If you want to use the tool in offline mode for a custom SynBioHub instance, leave the "Domain" field empty on the spreadsheet "Welcome page".
Tip: the use of os.getcwd() and os.path.join is recommended for the creation of the file paths. This is safer from a cybersecurity stand point and provide better operating system interoperability.
4) Use the output file The SBOL file that is output can then be used by further SBOL tools or uploaded to an SBOL repository like SynBioHub.
Example Conversion
A data-filled spreadsheet was converted to an SBOL file.
Example Spreadsheet
Example SBOL
Architecture
The repository architecture and module architecture are described in the wiki.
Publishing
A new version of the python package is automatically published via the python-publish GitHub action whenever a new release is created.
Alternatively you can also make changes to the package and then use it locally:
- Clone the directory:
git clone https://github.com/SynBioDex/Excel-to-SBOL - Change to the excel2sbol folder:
cd ./Excel_to_SBOL/excel2sbol
- Install an editable version of the package:
python -m pip install -e .(will overwrite the directory in site-packages with a symbolic link to the locations repository). If a virtual environment is being used the python -m can be left off.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file excel2sbol-1.1.18.tar.gz.
File metadata
- Download URL: excel2sbol-1.1.18.tar.gz
- Upload date:
- Size: 32.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
311dca9d09972261d6fd987c32fa631e9cfe46c44443650f665eb0402ca37acc
|
|
| MD5 |
b7fbaf7a28d0b3e7d72de0aafca2bcff
|
|
| BLAKE2b-256 |
166d0f91e57e04e059743c27c50cabaf8e6b8be16c1dc1dc22032fdf20c1c3fb
|
File details
Details for the file excel2sbol-1.1.18-py3-none-any.whl.
File metadata
- Download URL: excel2sbol-1.1.18-py3-none-any.whl
- Upload date:
- Size: 28.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4057d3d789640381b6a1f1d3559617a5ccf2d19f3ca15b33626b60f8b5d1d769
|
|
| MD5 |
19df3e353c43505746682db278180244
|
|
| BLAKE2b-256 |
dafba44067af0c971905b1b8577f40c6277fc9710ca5c33302d9a5dbd857ab03
|