Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.6%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: annahaensch
  • Language: Jupyter Notebook
  • Default Branch: master
  • Size: 45.3 MB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Created about 5 years ago · Last pushed about 2 years ago
Metadata Files
Readme Citation

README.md

Hela HMM Toolkit

DOI

This repository contains various code related to hidden Markov models (HMM). For a technical overview of HMM, see this note on Inference and Imputation for Hidden Markov Models with Hybrid State Outputs.

Getting Started

There are two ways to access the Hela codebase. The first is using a Conda virtual environemnt, the other is by mounting a Docker image. Instructions for both are below.

Using Hela with Conda (recommended)

Before you get started, you'll need to create a new environment using conda (in case you need it, installation guide here). If you use conda you can create a new environment (we'll call it hela_env) and it's important (for backwards compatibility) that we create it specifically with Python version 3.7.3 as follows.

conda create --name hela_env python=3.7.3

and activate your new environment, with

conda activate hela_env To run the tools in the libarary will need to install the necessary dependencies. First you'll need to conda install pip and then install the remaining required Python libraries as follows.

conda install pip pip install -U -r requirements.txt Now, to access your Jupyter server, run the following. $ jupyter notebook This will print a link which you can cut/paste into a web browser to access the Hela notebook directory. You will see one folder called tracked which contains several tracked notebooks that will walk you through the data generation and modeling tools in hela.

Using Hela with Docker

This code is packaged as a Docker container, so before you can interact with Hela, you'll need to do a few things:

  1. Install Docker (available here), or if you think you might already have Docker installed, run docker --version from you terminal command line.
  2. Install and configure Git and (instructions here), if you think you already have Git installed, run git --version from your terminal command line.
  3. Recommended: Make sure you are prepared to connect to Github with SSH (instructions here).

Once your working environment is prepared, navigate to the directory where you'd like to install Hela. From there, run the following.

$ git clone <copy_the_link_from_Code_Clone_SSH> In case it's your first time, when we write "" in a code snippet, that means replace the angle brackets and everything between them with whatever is being suggested. Once you've cloned the repository, navigate into the top level Hela folder. From here you'll want to launch a Jupyter server in the Docker container (this step will also mount a Docker image in the background and might take a few moments).

$ cd hela $ make jupyter

Now, to access your Jupyter server, run the following. $ make jupyter_url This will print a link which you can cut/paste into a web browser to access the Hela notebook directory. You will see one folder called tracked which contains several tracked notebooks that will walk you through the data generation and modeling tools in hela.

Working with Hela

There are several tracked notebooks to help get you started in notebooks\tracked.

Unit Tests

Before pushing any code you should run the unit tests. You can do this from the top level directory with

$ pytest If you get any errors that means your code has broken Hela and you should figure out why. Don't worry if you get warnings, that's totally fine.

Contact

If you have questions or comments not suited for the Github workflow, please reach out to anna.haensch@tufts.edu.

Owner

  • Name: Anna Haensch
  • Login: annahaensch
  • Kind: user
  • Location: Boston, MA

Citation (CITATION.cff)

cff-version: 1.1.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Haensch
    given-names: Anna
    orcid: https://orcid.org/0000-0002-2299-2106
title: "Hela HMM Toolkit"
version: 1.0.0
doi: https://doi.org/10.5281/zenodo.7429961
date-released: 2023-12-21
url: https://github.com/annahaensch/hela

GitHub Events

Total
Last Year

Dependencies

Dockerfile docker
  • jupyter/datascience-notebook 5ed91e8e3249 build
requirements.txt pypi
  • altair ==3.2.0
  • altair_saver ==0.1.0
  • dask ==2.11.0
  • distributed ==2.11.0
  • ipywidgets *
  • isort ==4.3.21
  • matplotlib ==3.1.2
  • notebook *
  • numpy ==1.19
  • pandas ==1.1.4
  • pgmpy ==0.1.18
  • pyarrow *
  • pytest ==5.3.2
  • vega ==2.6.0
  • yapf ==0.20.1
setup.py pypi