Skip to main content

Tools for making and processing computable phenotype descriptions

Project description

PyPI - Downloads

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

Issues

  • Phenospy is dependent on Owlready2, which uses the sqlite library. The latest versions of sqlite library (e.g., 3.40.0) are known to be very slow. If Phenospy package is slow, for example, when you make your snippets, downgrade your sqlite library version. In my case, 3.39.0 worked fine.

Quick start guide

Coming soon.

Let's create snippets

Coming soon.

Let's convert Phenoscript into OWL

Coming soon.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phenospy-0.14.tar.gz (34.6 kB view details)

Uploaded Source

Built Distribution

phenospy-0.14-py3-none-any.whl (41.6 kB view details)

Uploaded Python 3

File details

Details for the file phenospy-0.14.tar.gz.

File metadata

  • Download URL: phenospy-0.14.tar.gz
  • Upload date:
  • Size: 34.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for phenospy-0.14.tar.gz
Algorithm Hash digest
SHA256 0e17f0bf3bdbe7d77670e9c78ce0617d0bc1b551b0c1b592cdad8dce478c569a
MD5 402ebef98f6439d399430cbcade3f7fa
BLAKE2b-256 4ccaf3f76124c122c41719cddb19f113d4f323cf151df1d2b572ebe5f63745a2

See more details on using hashes here.

File details

Details for the file phenospy-0.14-py3-none-any.whl.

File metadata

  • Download URL: phenospy-0.14-py3-none-any.whl
  • Upload date:
  • Size: 41.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for phenospy-0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 c210ed17a82992248233796280b6ee3c3a55185575df67254fb7f279d7d7ba41
MD5 6db6e149937a5caa450b0e4a75f3e102
BLAKE2b-256 141b2620d1aed97ac6fe680be1543deca990e7452552a01aa4180966ad02b7e4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page