Skip to content

USCbiostats/Annoq_Overrepr_Workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Overview

This is a project that provides an application to run an overrepresentation analysis on a list of genes given a list of SNPs.

The API utilizes AnnoQ to get a list of genes from a list of SNPs. The list of genes is then used to run an overrepresentation analysis using PantherDB

Installation

To install the project, clone the repository.

  1. CD into the backend directory.

    cd backend
  2. Create a virtual environment.

    python3 -m venv venv
  3. Activate the virtual environment.

    source venv/bin/activate
  4. Install the dependencies.

    pip install -r requirements.txt

Building the Frontend

Before running the application, the frontend must be built and the files must be moved to the backend directory.

To do this, CD into the backend directory if you are not already there.

cd backend

Then run the following script.

chmod +x ./scripts/build_frontend.sh
./scripts/build_frontend.sh

Running the API

First switch to the backend directory, if you are not already there.

cd backend

Activate the virtual environment.

source venv/bin/activate

To run the API, use the following command:

uvicorn main:app --port 8002 --reload

About

A workflow to query Annoq and run the overrepresentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages