Skip to content

MSDLLCpapers/TraceTrack

 
 

Repository files navigation

TraceTrack

Sanger sequencing analysis web app. View the publication or try the app online.

Overview

The TraceTrack application serves for automatic batch analysis of Sanger sequencing trace files. It accepts a set of trace files and a reference file, performs alignments of trace sequences to corresponding reference sequences and displays an overview of resulting alignments.

For more information on how to use the app, see the "Help" page in the application itself.

Run TraceTrack in Docker container

1. Install Docker

See https://docs.docker.com/docker-for-mac/install/

2. Build all images using Docker Compose

make docker-build

3. Run all services using Docker Compose

make docker-run

To build and run, you can use:

make docker-build docker-run

4. Handle code updates

After your code is updated, you will need to stop the services, run build and start again. See the next section for info on running locally with flask auto-reload.

5. Frontend

Frontend is available through your browser at http://localhost:5001/

Run TraceTrack using Conda

1. Install Conda

See https://docs.conda.io/en/latest/miniconda.html

2. Install Redis server

You can install Redis using Brew.

3. Setup environment

# Install dependencies using environment.yml
make install
# Update environment with:
make update-env

4. Run all services

You will have to run each service in a separate terminal (Use Cmd+T to open a new tab):

# Run Redis server
make redis

# In a separate terminal, run celery worker queue
make celery

# In a separate terminal, run flask web server
make web

5. Handle code updates

After your code is updated, the flask web service should refresh automatically. However, the celery service needs to be stopped and started manually, so you will need to do that if you update code that is executed from the workers.

6. Frontend

Frontend is available through your browser at http://localhost:5001/

Files

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 60.0%
  • HTML 22.6%
  • JavaScript 12.6%
  • CSS 3.6%
  • Other 1.2%