InformaticsGenomicMedicine / DraftCoreDataModel

Draft of CoreDataModel
Apache License 2.0
0 stars 0 forks source link

DraftCoreDataModel

Welcome to the DraftCoreDataModel repository. This repository contains an alpha version of the CoreVariantClass and GoldStandardDatabase. The CoreVariantClass is an internal core class developed to facilitate seamless bidirectional translations between various standards, including FHIR, VRS, SPDI, and HGVS. This repository also includes bidirectional translations between VRS and SPDI, HGVS and VRS, and SPDI and HGVS. These translations are achieved using external packages and APIs acknowledged bellow. The GoldStandardDatabase (GSDB) is a human-curated database designed to provide reliable and accurate data for various applications. This repository is in the early stages of development and may undergo occasional changes as progress is made.

Interacting with Notebooks

To interact with the notebooks without installing or cloning the repository, you can utilize Codespaces. Instructions on how to use Codespaces tools are provided below.

If you're new to using Codespace, you may find the following resources helpful:

Access Notebooks (Codespace)

Open in GitHub Codespaces

1. Starting Codespace

2. Selecting Kernel:

3. Choosing Python Environment:

4. Running Notebooks:

5. Deactivating Codespace

Running pytest scripts inside of Codespace

To run pytest scripts within a Codespace environment the following steps need to be followed:

1. Activate the pipenv virtual environment:

To execute the test scripts, it is essential to ensure that you are operating within the virtual environment configured by Pipenv.

# Activate pipenv virtual environment
pipenv shell

2. Run the pytest command:

Once the virutal environment is activated, navigate to the test directory via the terminal. You can then execute pytest by specifying the particular files you intend to test.

# Execute the specified test file 
pytest file_name.py

Acknowledgments

This project utilizes several external packages and APIs. The following packages were used: