11
TranSMART API & Plugin Development: A Case Study Kees van Bochove, The Hyve TranSMART Community MeeCng ChillyMazarin, France November 6, 2013

TranSMART API Plugin Case Study: Genome Browser

Embed Size (px)

DESCRIPTION

TranSMART API case study at the tranSMART Community meeting at Sanofi in Chilly-Mazarin, November 2013.

Citation preview

Page 1: TranSMART API Plugin Case Study: Genome Browser

TranSMART  API  &  Plugin  Development:  A  Case  Study  

Kees  van  Bochove,  The  Hyve  TranSMART  Community  MeeCng  

Chilly-­‐Mazarin,  France  

November  6,  2013  

Page 2: TranSMART API Plugin Case Study: Genome Browser

Requirements  

•  HTML5  Genome  Browser  (in-­‐place  in  UI)  •  Drag-­‐n-­‐drop  of  High-­‐Dimensional  Data  Nodes  – VisualizaCon  of  Genomic  Variants  

– VisualizaCon  of  Copy  Number  VariaCon  Data  

•  VisualizaCon  of  public  data  (gene  annotaCons,  SNP  chip  coverage,  COSMIC  annotaCons  etc.)  

•  Switching  between  genome  builds  

Page 3: TranSMART API Plugin Case Study: Genome Browser

Community  ConsultaCon  •  Ask  transmart-­‐discuss  mailing  list  what  people  are  using  /  planning  to  use  as  genome  browser  

•  Ask  the  same  on  the  LinkedIn  group  

•  Start  a  wiki  topic  on  the  tranSMART  FoundaCon  wiki  with  an  inventory  of  pro’s  and  con’s  of  the  various  genome  browsers  available  

Page 4: TranSMART API Plugin Case Study: Genome Browser

SoluCon  

•  Dalliance  genome  browser  chosen  as  frontend  •  MyDAS  was  chosen  as  backend  

•  Both  implemented  as  plugins  

•  Core  API  had  to  be  extended  with  methods  for  retrieving  genomic  variant  data  

Page 5: TranSMART API Plugin Case Study: Genome Browser

Emerging  tranSMART  Architecture  

Kees  van  Bochove  -­‐  The  Hyve  

Page 6: TranSMART API Plugin Case Study: Genome Browser

Extend  the  core  API  

Page 7: TranSMART API Plugin Case Study: Genome Browser

Write  some  tests  

Page 8: TranSMART API Plugin Case Study: Genome Browser

Create  some  implemenCng  plugins  

•  h`ps://github.com/thehyve/transmart-­‐mydas  •  h`ps://github.com/thehyve/dalliance-­‐plugin  

DB  

MyDAS  Backend  Plugin   Dalliance  Frontend  Plugin  

TranSMART  Core  API  

Page 9: TranSMART API Plugin Case Study: Genome Browser

Add  them  to  transmartApp  

but  don’t  force  it  upon  others  

Page 10: TranSMART API Plugin Case Study: Genome Browser

Leverage  other  branches  •  ImplemenCng  VCF  loading  (and  viewing)  and  GWAS  loading  and  viewing  in  tranSMART  

•  VCF  loader  scripts  requested  by  email  and  ported  to  Postgres  

•  Also,  conflicCng  variant  definiCons  (SNP  loading)  were  present  in  the  J&J  branch  

•  It  proved  challenging  to  merge  both  approaches,  but  we  succeeded  in  the  end  

•  GeneraCng  more  docs  on  the  wiki!  

Page 11: TranSMART API Plugin Case Study: Genome Browser

2.  Drag  genomic  node  on  genome  browser  

The  end  result