Giter Site home page Giter Site logo

cmg_eye's Introduction

CMG_EYE

CMG_EYE repo for AnVIL days demonstrations

Here's the 'dashboard description' for the AnVIL workspace

Introduction

This workspace was produced to illustrate exploration of CMG data in AnVIL using

  • RStudio to control all interactions
  • version control with git for all textual material related to the computations and the workspace
  • an Rmarkdown document specifying all aspects of
    • software extensions required
    • data acquisition using the AnVIL package for Bioconductor
    • interactive tabulation and visualization
  • a shiny app that explores available FHIR documents on a subset of CMG sequencing data

Resources and activities

  • https://github.com/vjcitn/CMG_EYE is a github repository with cmgeye.Rmd and fhirinspect.R. The following steps will help you import the content from this github repository into your own AnVIL session/workspace.
    • use Rstudio's File/New project/ widget picker

to select a version controlled project

versioncontrol

with git

gitpick

Fill in the git widget

cloner

AnVIL RStudio will run git commands to populate a folder of your workspace's disk

files

Compile cmgeye.Rmd

To begin, use the Rstudio console to run BiocManager::install("BiocStyle") as it is useful for formatting the document we are aiming for.

After installation of BiocStyle completes, click on the cmgeye.Rmd file in the Files pane, and then in the upper left pane, use the Knit to html_document widget to generate and view HTML reporting on the CMG data.

Some commands may require AnVIL_DEV group membership. Set the chunks involving DRS resolution to eval=FALSE if an error related to permissions crops up.

Use the fhirinspector app

These commands may not work if you do not have access to gs://bioc-anvildays-2021. Email stvjc at channing.harvard.edu if you are interested and authorized to work with this information.

Use the commands

source("setup_fhirapp.R")
setup_fhirapp(path=tempdir())

to copy and unzip a file of FHIR JSON.

These can then be explored with

source("fhirinspect.R")
fhirinspector(paste0(tempdir(), "/tmp/CMG"))

The gen3 export process

We've used gen3.theanvil.io/explorer to request data on 35 subjects from CMG:

sample request splash

These were exported to AnVIL via the first tab, leading to a "data view" in this workspace (selecting 'subjects'):

data view

This data view includes DRS identifiers for CRAM files resulting from WGS. The phenotypes are variously annotated, in multiple fields, with terms 'retinitis pigmentosa', 'RETINITIS PIGMENTOSA 69; RP69', 'Joubert syndrome 1'. OMIM codes are often provided.

We can also use the Gen3 system to generate PFB (portable format for bioinformatics) using the second tab in the Gen3 explorer page. This is returned as an Avro file, which can be parsed using sparklyr into a spark_tbl instance.

cmg_eye's People

Contributors

vjcitn avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.