SlideShare a Scribd company logo
1 of 9
Programmatic Access to WormBase Data
Sibyl Gao
WormBase Web APIs
Special URLs that are intended for programs
- Provide data in formats that are easy for programs to handle (JSON etc)
- Will refer to them as Web API or API
Why?
- Avoid repetitive manual tasks
- e.g. write a program to gather information, about a list of identifiers
- Develop custom visualization tools powered WormBase data
How?
- By making an HTTP request to a URL in your programming language
- Example libraries: requests (Python), HTTP::Tiny (Perl), Curl (command line)
RESTful API
- Get the data that powers a
widget or a field on WormBase
curl -X GET --header 'Accept: application/json'
'http://rest.wormbase.org/rest/widget/gene/WBGene00015146/overview'
RESTful API
- documentations on which
URLs you can access
Excerpt:
GraphQL API
(Experimental)
- provides access to
any WormBase data
(not just what we
have a widget for)
curl -X GET --header 'Accept: application/json'
'http://graphql-dev.wormbase.org' --data-urlencode
'query={
gene(id: "WBGene00015146") {
public_name
}
}'
GraphQL API (Experimental)
Features an interactive
development environment
(IDE) to help with query
construction:
- it “speaks” the
GraphQL query language
and understands WB data
schema
- auto-completion
- query validation
Which one to use?
Short answer: RESTful API for now
Long answer:
- RESTful API:
- time-tested
- will continue to be supported
- default choice
- GraphQL API:
- experimental (bugs, instability, changes)
- suitable for exploring data through IDE
Please always sanity check the results your program produces 😃
For More Info
Acknowledgement
Todd Harris
Adam Wright
Matt Russell
Juancarlos Chan

More Related Content

What's hot

Yahoo! Hadoop User Group - May Meetup - HBase and Pig: The Hadoop ecosystem a...
Yahoo! Hadoop User Group - May Meetup - HBase and Pig: The Hadoop ecosystem a...Yahoo! Hadoop User Group - May Meetup - HBase and Pig: The Hadoop ecosystem a...
Yahoo! Hadoop User Group - May Meetup - HBase and Pig: The Hadoop ecosystem a...Hadoop User Group
 
Meet Hadoop Family: part 4
Meet Hadoop Family: part 4Meet Hadoop Family: part 4
Meet Hadoop Family: part 4caizer_x
 
HBaseConEast2016: HBase and Spark, State of the Art
HBaseConEast2016: HBase and Spark, State of the ArtHBaseConEast2016: HBase and Spark, State of the Art
HBaseConEast2016: HBase and Spark, State of the ArtMichael Stack
 
My First Hadoop Program !!!
My First Hadoop Program !!!My First Hadoop Program !!!
My First Hadoop Program !!!Ayapparaj SKS
 
hbaseconasia2017: HBase on Beam
hbaseconasia2017: HBase on Beamhbaseconasia2017: HBase on Beam
hbaseconasia2017: HBase on BeamHBaseCon
 
GRIN-Global Status - II, CRI 2016 February
GRIN-Global Status - II, CRI 2016 FebruaryGRIN-Global Status - II, CRI 2016 February
GRIN-Global Status - II, CRI 2016 FebruaryEdwin Rojas
 
Consuming External Content and Enriching Content with Apache Camel
Consuming External Content and Enriching Content with Apache CamelConsuming External Content and Enriching Content with Apache Camel
Consuming External Content and Enriching Content with Apache Cameltherealgaston
 
Always on. 2018-10 Reactive Summit
Always on. 2018-10 Reactive SummitAlways on. 2018-10 Reactive Summit
Always on. 2018-10 Reactive SummitEnno Runne
 
An E-commerce App in action built on top of a Multi-model Database
An E-commerce App in action built on top of a Multi-model DatabaseAn E-commerce App in action built on top of a Multi-model Database
An E-commerce App in action built on top of a Multi-model DatabaseArangoDB Database
 
HBaseConEast2016: How yarn timeline service v.2 unlocks 360 degree platform i...
HBaseConEast2016: How yarn timeline service v.2 unlocks 360 degree platform i...HBaseConEast2016: How yarn timeline service v.2 unlocks 360 degree platform i...
HBaseConEast2016: How yarn timeline service v.2 unlocks 360 degree platform i...Michael Stack
 
Technical SEO: .htaccess & 301 Redirects
Technical SEO:  .htaccess & 301 RedirectsTechnical SEO:  .htaccess & 301 Redirects
Technical SEO: .htaccess & 301 RedirectsRob Bertholf
 

What's hot (20)

Yahoo! Hadoop User Group - May Meetup - HBase and Pig: The Hadoop ecosystem a...
Yahoo! Hadoop User Group - May Meetup - HBase and Pig: The Hadoop ecosystem a...Yahoo! Hadoop User Group - May Meetup - HBase and Pig: The Hadoop ecosystem a...
Yahoo! Hadoop User Group - May Meetup - HBase and Pig: The Hadoop ecosystem a...
 
Meet Hadoop Family: part 4
Meet Hadoop Family: part 4Meet Hadoop Family: part 4
Meet Hadoop Family: part 4
 
The ABC of Big Data
The ABC of Big DataThe ABC of Big Data
The ABC of Big Data
 
Apache hive
Apache hiveApache hive
Apache hive
 
HBaseConEast2016: HBase and Spark, State of the Art
HBaseConEast2016: HBase and Spark, State of the ArtHBaseConEast2016: HBase and Spark, State of the Art
HBaseConEast2016: HBase and Spark, State of the Art
 
My First Hadoop Program !!!
My First Hadoop Program !!!My First Hadoop Program !!!
My First Hadoop Program !!!
 
Apache hive
Apache hiveApache hive
Apache hive
 
hbaseconasia2017: HBase on Beam
hbaseconasia2017: HBase on Beamhbaseconasia2017: HBase on Beam
hbaseconasia2017: HBase on Beam
 
Pig
PigPig
Pig
 
GRIN-Global Status - II, CRI 2016 February
GRIN-Global Status - II, CRI 2016 FebruaryGRIN-Global Status - II, CRI 2016 February
GRIN-Global Status - II, CRI 2016 February
 
Unit 5-apache hive
Unit 5-apache hiveUnit 5-apache hive
Unit 5-apache hive
 
Introduction to Apache Spark
Introduction to Apache SparkIntroduction to Apache Spark
Introduction to Apache Spark
 
Consuming External Content and Enriching Content with Apache Camel
Consuming External Content and Enriching Content with Apache CamelConsuming External Content and Enriching Content with Apache Camel
Consuming External Content and Enriching Content with Apache Camel
 
Always on. 2018-10 Reactive Summit
Always on. 2018-10 Reactive SummitAlways on. 2018-10 Reactive Summit
Always on. 2018-10 Reactive Summit
 
An E-commerce App in action built on top of a Multi-model Database
An E-commerce App in action built on top of a Multi-model DatabaseAn E-commerce App in action built on top of a Multi-model Database
An E-commerce App in action built on top of a Multi-model Database
 
HBaseConEast2016: How yarn timeline service v.2 unlocks 360 degree platform i...
HBaseConEast2016: How yarn timeline service v.2 unlocks 360 degree platform i...HBaseConEast2016: How yarn timeline service v.2 unlocks 360 degree platform i...
HBaseConEast2016: How yarn timeline service v.2 unlocks 360 degree platform i...
 
Apache hive
Apache hiveApache hive
Apache hive
 
Rest API
Rest APIRest API
Rest API
 
Technical SEO: .htaccess & 301 Redirects
Technical SEO:  .htaccess & 301 RedirectsTechnical SEO:  .htaccess & 301 Redirects
Technical SEO: .htaccess & 301 Redirects
 
REST API V2
REST API V2REST API V2
REST API V2
 

Similar to Programmatic access to wormbase data WormBase Workshop International Worm Meeting 2017

Design Summit - RESTful API Overview - John Hardy
Design Summit - RESTful API Overview - John HardyDesign Summit - RESTful API Overview - John Hardy
Design Summit - RESTful API Overview - John HardyManageIQ
 
Unleash the power of HTTP with ASP.NET Web API
Unleash the power of HTTP with ASP.NET Web APIUnleash the power of HTTP with ASP.NET Web API
Unleash the power of HTTP with ASP.NET Web APIFilip W
 
Resting on your laurels will get you powned
Resting on your laurels will get you pownedResting on your laurels will get you powned
Resting on your laurels will get you pownedDinis Cruz
 
Asec r01-resting-on-your-laurels-will-get-you-pwned
Asec r01-resting-on-your-laurels-will-get-you-pwnedAsec r01-resting-on-your-laurels-will-get-you-pwned
Asec r01-resting-on-your-laurels-will-get-you-pwnedDinis Cruz
 
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!Evan Mullins
 
Introduction server Construction
Introduction server ConstructionIntroduction server Construction
Introduction server ConstructionJisu Park
 
Drupal South 2015: Introduction to Web Services. Services in Drupal 8.
Drupal South 2015: Introduction to Web Services.  Services in Drupal 8.Drupal South 2015: Introduction to Web Services.  Services in Drupal 8.
Drupal South 2015: Introduction to Web Services. Services in Drupal 8.TechnocratAu
 
Restful web services rule financial
Restful web services   rule financialRestful web services   rule financial
Restful web services rule financialRule_Financial
 
WordCamp Wilmington 2017 WP-API Why?
WordCamp Wilmington 2017   WP-API Why?WordCamp Wilmington 2017   WP-API Why?
WordCamp Wilmington 2017 WP-API Why?Evan Mullins
 
RESTful web APIs (build, document, manage)
RESTful web APIs (build, document, manage)RESTful web APIs (build, document, manage)
RESTful web APIs (build, document, manage)Cisco DevNet
 
WordCamp Birmingham 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Birmingham 2016 - WP API, What is it good for? Absolutely Everything!WordCamp Birmingham 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Birmingham 2016 - WP API, What is it good for? Absolutely Everything!Evan Mullins
 
Saving Time And Effort With QuickBase Api - Sergio Haro
Saving Time And Effort With QuickBase Api - Sergio HaroSaving Time And Effort With QuickBase Api - Sergio Haro
Saving Time And Effort With QuickBase Api - Sergio HaroQuickBase, Inc.
 
High quality ap is with api platform
High quality ap is with api platformHigh quality ap is with api platform
High quality ap is with api platformNelson Kopliku
 
Honu - A Large Scale Streaming Data Collection and Processing Pipeline__Hadoo...
Honu - A Large Scale Streaming Data Collection and Processing Pipeline__Hadoo...Honu - A Large Scale Streaming Data Collection and Processing Pipeline__Hadoo...
Honu - A Large Scale Streaming Data Collection and Processing Pipeline__Hadoo...Yahoo Developer Network
 
Using the new WordPress REST API
Using the new WordPress REST APIUsing the new WordPress REST API
Using the new WordPress REST APICaldera Labs
 
ASP.NET Mvc 4 web api
ASP.NET Mvc 4 web apiASP.NET Mvc 4 web api
ASP.NET Mvc 4 web apiTiago Knoch
 

Similar to Programmatic access to wormbase data WormBase Workshop International Worm Meeting 2017 (20)

Design Summit - RESTful API Overview - John Hardy
Design Summit - RESTful API Overview - John HardyDesign Summit - RESTful API Overview - John Hardy
Design Summit - RESTful API Overview - John Hardy
 
Unleash the power of HTTP with ASP.NET Web API
Unleash the power of HTTP with ASP.NET Web APIUnleash the power of HTTP with ASP.NET Web API
Unleash the power of HTTP with ASP.NET Web API
 
Resting on your laurels will get you powned
Resting on your laurels will get you pownedResting on your laurels will get you powned
Resting on your laurels will get you powned
 
gofortution
gofortutiongofortution
gofortution
 
Asec r01-resting-on-your-laurels-will-get-you-pwned
Asec r01-resting-on-your-laurels-will-get-you-pwnedAsec r01-resting-on-your-laurels-will-get-you-pwned
Asec r01-resting-on-your-laurels-will-get-you-pwned
 
Apex REST
Apex RESTApex REST
Apex REST
 
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
 
Introduction server Construction
Introduction server ConstructionIntroduction server Construction
Introduction server Construction
 
Drupal South 2015: Introduction to Web Services. Services in Drupal 8.
Drupal South 2015: Introduction to Web Services.  Services in Drupal 8.Drupal South 2015: Introduction to Web Services.  Services in Drupal 8.
Drupal South 2015: Introduction to Web Services. Services in Drupal 8.
 
Restful web services rule financial
Restful web services   rule financialRestful web services   rule financial
Restful web services rule financial
 
5-WebServers.ppt
5-WebServers.ppt5-WebServers.ppt
5-WebServers.ppt
 
WordCamp Wilmington 2017 WP-API Why?
WordCamp Wilmington 2017   WP-API Why?WordCamp Wilmington 2017   WP-API Why?
WordCamp Wilmington 2017 WP-API Why?
 
RESTful web APIs (build, document, manage)
RESTful web APIs (build, document, manage)RESTful web APIs (build, document, manage)
RESTful web APIs (build, document, manage)
 
WordCamp Birmingham 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Birmingham 2016 - WP API, What is it good for? Absolutely Everything!WordCamp Birmingham 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Birmingham 2016 - WP API, What is it good for? Absolutely Everything!
 
Saving Time And Effort With QuickBase Api - Sergio Haro
Saving Time And Effort With QuickBase Api - Sergio HaroSaving Time And Effort With QuickBase Api - Sergio Haro
Saving Time And Effort With QuickBase Api - Sergio Haro
 
High quality ap is with api platform
High quality ap is with api platformHigh quality ap is with api platform
High quality ap is with api platform
 
Honu - A Large Scale Streaming Data Collection and Processing Pipeline__Hadoo...
Honu - A Large Scale Streaming Data Collection and Processing Pipeline__Hadoo...Honu - A Large Scale Streaming Data Collection and Processing Pipeline__Hadoo...
Honu - A Large Scale Streaming Data Collection and Processing Pipeline__Hadoo...
 
Using the new WordPress REST API
Using the new WordPress REST APIUsing the new WordPress REST API
Using the new WordPress REST API
 
Raml part 1
Raml part 1Raml part 1
Raml part 1
 
ASP.NET Mvc 4 web api
ASP.NET Mvc 4 web apiASP.NET Mvc 4 web api
ASP.NET Mvc 4 web api
 

More from raymond91105

Metabolite WormBase Workshop International Worm Meeting 2017
Metabolite WormBase Workshop International Worm Meeting 2017Metabolite WormBase Workshop International Worm Meeting 2017
Metabolite WormBase Workshop International Worm Meeting 2017raymond91105
 
WormMine and SimpleMine WormBase Workshop International Worm Meeting 2017
WormMine and SimpleMine WormBase Workshop International Worm Meeting 2017WormMine and SimpleMine WormBase Workshop International Worm Meeting 2017
WormMine and SimpleMine WormBase Workshop International Worm Meeting 2017raymond91105
 
SObA WormBase Workshop International Worm Meeting 2017
SObA WormBase Workshop International Worm Meeting 2017SObA WormBase Workshop International Worm Meeting 2017
SObA WormBase Workshop International Worm Meeting 2017raymond91105
 
AGR Portal WormBase Workshop International Worm Meeting 2017
AGR Portal WormBase Workshop International Worm Meeting 2017AGR Portal WormBase Workshop International Worm Meeting 2017
AGR Portal WormBase Workshop International Worm Meeting 2017raymond91105
 
Biomart WormBase Workshop International Worm Meeting 2017
Biomart WormBase Workshop International Worm Meeting 2017Biomart WormBase Workshop International Worm Meeting 2017
Biomart WormBase Workshop International Worm Meeting 2017raymond91105
 
J browse: new features for genome browsing WormBase Workshop International Wo...
J browse: new features for genome browsing WormBase Workshop International Wo...J browse: new features for genome browsing WormBase Workshop International Wo...
J browse: new features for genome browsing WormBase Workshop International Wo...raymond91105
 
Community Curation WormBase Workshop International Worm Meeting 2017
Community Curation WormBase Workshop International Worm Meeting 2017Community Curation WormBase Workshop International Worm Meeting 2017
Community Curation WormBase Workshop International Worm Meeting 2017raymond91105
 
Parasite Programmatic Access WormBase Workshop International Worm Meeting 2017
Parasite Programmatic Access WormBase Workshop International Worm Meeting 2017Parasite Programmatic Access WormBase Workshop International Worm Meeting 2017
Parasite Programmatic Access WormBase Workshop International Worm Meeting 2017raymond91105
 
Worm Mine WormBase Workshop International Worm Meeting 2015
Worm Mine WormBase Workshop International Worm Meeting 2015Worm Mine WormBase Workshop International Worm Meeting 2015
Worm Mine WormBase Workshop International Worm Meeting 2015raymond91105
 
ParaSite Ensembl Genomes and UCSC Assembly Hub WormBase Workshop Internationa...
ParaSite Ensembl Genomes and UCSC Assembly Hub WormBase Workshop Internationa...ParaSite Ensembl Genomes and UCSC Assembly Hub WormBase Workshop Internationa...
ParaSite Ensembl Genomes and UCSC Assembly Hub WormBase Workshop Internationa...raymond91105
 
Community Curation WormBase Workshop International Worm Meeting 2015
Community Curation WormBase Workshop International Worm Meeting 2015Community Curation WormBase Workshop International Worm Meeting 2015
Community Curation WormBase Workshop International Worm Meeting 2015raymond91105
 
Ontology Browser WormBase Workshop International Worm Meeting 2015
Ontology Browser WormBase Workshop International Worm Meeting 2015Ontology Browser WormBase Workshop International Worm Meeting 2015
Ontology Browser WormBase Workshop International Worm Meeting 2015raymond91105
 
Micropublication WormBase Workshop International Worm Meeting 2015
Micropublication WormBase Workshop International Worm Meeting 2015Micropublication WormBase Workshop International Worm Meeting 2015
Micropublication WormBase Workshop International Worm Meeting 2015raymond91105
 
J browse WormBase Workshop International Worm Meeting 2015
J browse WormBase Workshop International Worm Meeting 2015J browse WormBase Workshop International Worm Meeting 2015
J browse WormBase Workshop International Worm Meeting 2015raymond91105
 
Gene Ontology WormBase Workshop International Worm Meeting 2015
Gene Ontology WormBase Workshop International Worm Meeting 2015Gene Ontology WormBase Workshop International Worm Meeting 2015
Gene Ontology WormBase Workshop International Worm Meeting 2015raymond91105
 
Gene Descriptions WormBase Workshop International Worm Meeting 2015
Gene Descriptions WormBase Workshop International Worm Meeting 2015Gene Descriptions WormBase Workshop International Worm Meeting 2015
Gene Descriptions WormBase Workshop International Worm Meeting 2015raymond91105
 

More from raymond91105 (16)

Metabolite WormBase Workshop International Worm Meeting 2017
Metabolite WormBase Workshop International Worm Meeting 2017Metabolite WormBase Workshop International Worm Meeting 2017
Metabolite WormBase Workshop International Worm Meeting 2017
 
WormMine and SimpleMine WormBase Workshop International Worm Meeting 2017
WormMine and SimpleMine WormBase Workshop International Worm Meeting 2017WormMine and SimpleMine WormBase Workshop International Worm Meeting 2017
WormMine and SimpleMine WormBase Workshop International Worm Meeting 2017
 
SObA WormBase Workshop International Worm Meeting 2017
SObA WormBase Workshop International Worm Meeting 2017SObA WormBase Workshop International Worm Meeting 2017
SObA WormBase Workshop International Worm Meeting 2017
 
AGR Portal WormBase Workshop International Worm Meeting 2017
AGR Portal WormBase Workshop International Worm Meeting 2017AGR Portal WormBase Workshop International Worm Meeting 2017
AGR Portal WormBase Workshop International Worm Meeting 2017
 
Biomart WormBase Workshop International Worm Meeting 2017
Biomart WormBase Workshop International Worm Meeting 2017Biomart WormBase Workshop International Worm Meeting 2017
Biomart WormBase Workshop International Worm Meeting 2017
 
J browse: new features for genome browsing WormBase Workshop International Wo...
J browse: new features for genome browsing WormBase Workshop International Wo...J browse: new features for genome browsing WormBase Workshop International Wo...
J browse: new features for genome browsing WormBase Workshop International Wo...
 
Community Curation WormBase Workshop International Worm Meeting 2017
Community Curation WormBase Workshop International Worm Meeting 2017Community Curation WormBase Workshop International Worm Meeting 2017
Community Curation WormBase Workshop International Worm Meeting 2017
 
Parasite Programmatic Access WormBase Workshop International Worm Meeting 2017
Parasite Programmatic Access WormBase Workshop International Worm Meeting 2017Parasite Programmatic Access WormBase Workshop International Worm Meeting 2017
Parasite Programmatic Access WormBase Workshop International Worm Meeting 2017
 
Worm Mine WormBase Workshop International Worm Meeting 2015
Worm Mine WormBase Workshop International Worm Meeting 2015Worm Mine WormBase Workshop International Worm Meeting 2015
Worm Mine WormBase Workshop International Worm Meeting 2015
 
ParaSite Ensembl Genomes and UCSC Assembly Hub WormBase Workshop Internationa...
ParaSite Ensembl Genomes and UCSC Assembly Hub WormBase Workshop Internationa...ParaSite Ensembl Genomes and UCSC Assembly Hub WormBase Workshop Internationa...
ParaSite Ensembl Genomes and UCSC Assembly Hub WormBase Workshop Internationa...
 
Community Curation WormBase Workshop International Worm Meeting 2015
Community Curation WormBase Workshop International Worm Meeting 2015Community Curation WormBase Workshop International Worm Meeting 2015
Community Curation WormBase Workshop International Worm Meeting 2015
 
Ontology Browser WormBase Workshop International Worm Meeting 2015
Ontology Browser WormBase Workshop International Worm Meeting 2015Ontology Browser WormBase Workshop International Worm Meeting 2015
Ontology Browser WormBase Workshop International Worm Meeting 2015
 
Micropublication WormBase Workshop International Worm Meeting 2015
Micropublication WormBase Workshop International Worm Meeting 2015Micropublication WormBase Workshop International Worm Meeting 2015
Micropublication WormBase Workshop International Worm Meeting 2015
 
J browse WormBase Workshop International Worm Meeting 2015
J browse WormBase Workshop International Worm Meeting 2015J browse WormBase Workshop International Worm Meeting 2015
J browse WormBase Workshop International Worm Meeting 2015
 
Gene Ontology WormBase Workshop International Worm Meeting 2015
Gene Ontology WormBase Workshop International Worm Meeting 2015Gene Ontology WormBase Workshop International Worm Meeting 2015
Gene Ontology WormBase Workshop International Worm Meeting 2015
 
Gene Descriptions WormBase Workshop International Worm Meeting 2015
Gene Descriptions WormBase Workshop International Worm Meeting 2015Gene Descriptions WormBase Workshop International Worm Meeting 2015
Gene Descriptions WormBase Workshop International Worm Meeting 2015
 

Recently uploaded

Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Lokesh Kothari
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsAArockiyaNisha
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfSwapnil Therkar
 
Work, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE PhysicsWork, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE Physicsvishikhakeshava1
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 sciencefloriejanemacaya1
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSarthak Sekhar Mondal
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​kaibalyasahoo82800
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisRaman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisDiwakar Mishra
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSérgio Sacani
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Nistarini College, Purulia (W.B) India
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfnehabiju2046
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxUmerFayaz5
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxAArockiyaNisha
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Sérgio Sacani
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSérgio Sacani
 
Artificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C PArtificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C PPRINCE C P
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
Types of different blotting techniques.pptx
Types of different blotting techniques.pptxTypes of different blotting techniques.pptx
Types of different blotting techniques.pptxkhadijarafiq2012
 

Recently uploaded (20)

Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
 
Work, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE PhysicsWork, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE Physics
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 science
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisRaman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdf
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptx
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
Artificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C PArtificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C P
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Types of different blotting techniques.pptx
Types of different blotting techniques.pptxTypes of different blotting techniques.pptx
Types of different blotting techniques.pptx
 

Programmatic access to wormbase data WormBase Workshop International Worm Meeting 2017

  • 1. Programmatic Access to WormBase Data Sibyl Gao
  • 2. WormBase Web APIs Special URLs that are intended for programs - Provide data in formats that are easy for programs to handle (JSON etc) - Will refer to them as Web API or API Why? - Avoid repetitive manual tasks - e.g. write a program to gather information, about a list of identifiers - Develop custom visualization tools powered WormBase data How? - By making an HTTP request to a URL in your programming language - Example libraries: requests (Python), HTTP::Tiny (Perl), Curl (command line)
  • 3. RESTful API - Get the data that powers a widget or a field on WormBase curl -X GET --header 'Accept: application/json' 'http://rest.wormbase.org/rest/widget/gene/WBGene00015146/overview'
  • 4. RESTful API - documentations on which URLs you can access Excerpt:
  • 5. GraphQL API (Experimental) - provides access to any WormBase data (not just what we have a widget for) curl -X GET --header 'Accept: application/json' 'http://graphql-dev.wormbase.org' --data-urlencode 'query={ gene(id: "WBGene00015146") { public_name } }'
  • 6. GraphQL API (Experimental) Features an interactive development environment (IDE) to help with query construction: - it “speaks” the GraphQL query language and understands WB data schema - auto-completion - query validation
  • 7. Which one to use? Short answer: RESTful API for now Long answer: - RESTful API: - time-tested - will continue to be supported - default choice - GraphQL API: - experimental (bugs, instability, changes) - suitable for exploring data through IDE Please always sanity check the results your program produces 😃