Skip to content

cchoirat/gentb-site

 
 

Repository files navigation

genTB website

Basic django site to facilitate the contribution and analysis of fastQ and VCF files.


Authentication

Currently users the basic Django auth.

Pages

Homepage

A basic view/template combination

homepage screenshot

Predict

This pages requires the user to be logged in.

Share

A basic view/template combination. The template includes embedded Dataverse Widgets in the form of javascript snippets

Share Page screenshot

Map

A basic view/template combination. The maps are actually hosted by a Shiny application and embedded in an iframe. The url to the iframe is written directly into the template.

Map Page screenshot

  • Note: The Shiny app url is currently https://hmdc.shinyapps.io/genTB and part of the IQSS Shinyapps.io service

Explore (TwoRavens)

TwoRavens is a system of interlocking statistical tools for data exploration, analysis, and meta-analysis. This page uses TwoRavens via an iframe to analyze the genTB master data file.

TwoRavens needs two values which are supplied via the genTB database:

  1. codebook_file_url - This url links directly to PDF file on Dataverse and identified by file id number - Example ```codebook_file_url``: https://dataverse.harvard.edu/api/access/datafile/2694344
  2. two_ravens_url - This url contains the TwoRavens link and is used within an iframe.
    - The url contains both a Dataverse file id number and an API key

These values may be supplied via the Django admin:

- Models.py file for the values above:
    - [gentb_website/tb_website/apps/explore/models.py](gentb_website/tb_website/apps/explore/models.py)

Explore Admin Page screenshot

The view/template files may be found here:

Explore Page screenshot

About Page

A basic view/template combination

about page screenshot

About

Part of the genTB project, the Django site with hooks to the pipeline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 78.7%
  • Python 16.5%
  • R 2.9%
  • CSS 0.9%
  • JavaScript 0.8%
  • Shell 0.2%