Tools for making and processing computable phenotype descriptions
Project description
Phenospy (= Phenoscript Python tools)
Phenospy is a Python package that facilitates the automatic analysis and comparison of ontology-based (= semantic) descriptions of species and phenotypes. Phenospy works with descriptions written in Phenoscript, a computer language designed for describing species (support for other semantic approaches is under development).
The Phenoscript language allows rapid coding of morphological and ecological traits using an individual-based approach (ontology's A-box). You can efficiently code Phenoscript by using the VS Code Phenoscript extension that provides syntax highlighting and snippet support. It can be installed from the Marketplace from within the VS Code. Its GitHub repository can be accessed here. Afterward, Phenospy can be used to analyze and process the semantic descriptions.
What can I do with Phenospy?
- Create snippets based on selected ontologies for writing semantic phenotypes with the VS Code Phenoscript extension.
- Convert the Phenoscript description into an OWL file.
- Convert the Phenoscript description into an annotated Natural Language description (Markdown format).
- Automatically compare species and phenotypes (under development).
Requirements
Python >=3.0
If you are a new user with Python 2 installed, you should uninstall it and install Python 3 instead. For more information, please refer to this discussion.
Install
Phenospy can be installed directly from the PyPI repository by running the following command in your terminal (macOS) or a command prompt (Windows):
pip install phenospy
Troubleshooting
Pip is usually pre-installed with Python on macOS and Windows. However, if pip is not installed or you want to upgrade it to the latest version, you can follow these steps:
For macOS:
- In your terminal type the following command to download the get-pip.py script:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
- Type the following command to run the get-pip.py script and install pip:
sudo python get-pip.py
- Verify that pip is installed by typing the following command:
pip --version
For Windows:
Open a command prompt by clicking on the "Start" menu, typing "cmd" into the search box, and selecting "Command Prompt" from the search results.
- Type the following command to install pip:
py -m ensurepip --default-pip
- Type the following command to upgrade pip to the latest version:
py -m pip install --upgrade pip
Quick start guide
Coming soon.
Let's create snippets
Coming soon.
Let's convert Phenoscript into OWL
Coming soon.
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
File details
Details for the file phenospy-0.12.tar.gz
.
File metadata
- Download URL: phenospy-0.12.tar.gz
- Upload date:
- Size: 34.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 929d36166e1629baf041712e940db7b9eba3721567050d0b46634862d5934b26 |
|
MD5 | f373a95cf1f8be3d7fe634f20473bf66 |
|
BLAKE2b-256 | 76e3d890742d2dd15d6150f0661c3cdab1d70bb8e9b0a3e9ea00d27308a71e75 |
File details
Details for the file phenospy-0.12-py3-none-any.whl
.
File metadata
- Download URL: phenospy-0.12-py3-none-any.whl
- Upload date:
- Size: 41.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 172a871cff3d14e13faabc19d31fd177728a462073a52d78c10ab281fcf053a5 |
|
MD5 | a0e9dd6958ea01bbab79dbdc89561ec6 |
|
BLAKE2b-256 | 9cf1378751bef889d294a4f73142b508d887ed4b8de0f1581fbba6f70fcf2f38 |