reproducibility in the clouds - harnessing the in nube paradigm · harnessing the in nube paradigm....

47
Reproducibility in the Clouds - Harnessing the in nube Paradigm

Upload: others

Post on 01-Sep-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Reproducibility in the Clouds -Harnessing the in nube

Paradigm

Page 2: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

DNA Learning Center

• Hands on education in molecular biology/bioinformatics for grade 6-12 students; faculty

• 3 dedicated centers (2 more by 2020) and 16 centers licensed/modeled on DNALC

• Approximately 30K Visitors annually (more than 2 million visitors to-date for all centers)

Page 3: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Transforming science through data-driven discovery

More than 70K users, PBs of data, and hundreds of publications, courses, and discoveries

Page 4: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Funded by the National Science Foundation

• We are your colleagues and collaborators (not a company)!

• $115 Million in investment• Freely available to the community• Spur national/international collaboration

DBI-0735191, DBI-1265383, DBI-1743442

CyVerse Funding

Page 5: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Some Jargon and Metaphors

Page 6: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Same substance, different properties, coexisting

Page 7: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Same substance, different properties, coexisting

Page 8: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Same substance, different properties, coexisting

Page 9: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

What do we mean by cloud?

Page 10: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)
Page 11: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Seeing shapes in clouds

Page 12: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Seeing shapes in clouds

PaaSPlatform-as-a-Service

Deploysoftware applications on a remote infrastructure

SaaSSoftware-as-a-Service

Use software applications on a remote infrastructure

IaaSInfrastructure-as-a-

ServiceDeployapplications and provision/orchestrate infrastructure

Page 13: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Why did you come to this session?

Page 14: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Is this being a biologist now?

Page 15: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Reproducible is beautiful

Page 16: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Reproducible is beautiful

Page 17: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Reproducibility Spectrum

Science 02 Dec 2011:Vol. 334, Issue 6060, pp. 1226-1227DOI: 10.1126/science.1213847

Page 18: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Cloud is a great opportunity to think about what reproducibility means to you

Page 19: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

4 Things to think about

when moving to the cloud

Page 20: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Tip 1: Collect your questions and translate(Computational thinking)

Page 21: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Question Mapping

• What are the questions I can’t answer now?

• What software is available/what power is required?

• What/where are the data?

• Have I optimized with what I have? (code refactoring)

• What architecture (GPUs/High-mem nodes) support the tools I’ll use?

• What/where are the data? (Co-localization)

Science? Tech?

Page 22: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Flex

ibili

ty/E

ase

of u

se

Computational Power

Page 23: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Tip 2: What resources at what costs?

Page 24: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Combine Cloud, HPC, and Reproducibility

Containers allow you to ship your problems around

Page 25: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Operating System (Version)

Platform/Language (R, Python, Linux)

Tool 1 (version)

Tool 2 (version)

Tool 3 (version)

Operating System (Version)

Docker

Dependency

Dependency

Dependency

Dependency

Dependency

Dependency

Docker Container

Tool 1 and

dependencies

Tools and dependencies separateTools and dependencies bundled

Docker Container

Tool 2 and

dependencies

Docker Container

Tool 3and

dependencies

Combine Cloud, HPC, and Reproducibility

Page 26: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Combine Cloud, HPC, and Reproducibility

Page 27: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Combine Cloud, HPC, and Reproducibility

Ç√

Page 28: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Assembling resources

Institutional resources(Your own institutional core)

Public Research Infrastructure(CyVerse, JetStream, EOSC, BPA)

Commercial Cloud(AWS, GCP, Azure)

Financial Costs

Time Costs Computational Power

Data Concerns

None-Low Low-Med Low-Med Low-Med

None Low-Med Med-High Low

Med-Inf Varies High-Inf Med-High

Page 29: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Working with Big Data

Data Commons Repository (DCR), NCBI-SRA

Publication

Community Data folders, Data Commons, quick share links

Sharing

Discovery Environment, Atmosphere, Agave API,

BisQue, DNA Subway

AnalysisAdd, delete, copy;

metadata templates; bulk

metadata

Metadata

Discovery Environment, iCommands, Cyberduck

UploadData Commons Repository

(DCR), Elasticsearch

Discovery

Page 30: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Tip 3: Take advantage of orchestration and workflows

Page 31: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Container Orchestration: Kubernetes(κυβερνήτης)

Page 32: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Workflow managers

Page 33: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Workflow managers

Page 34: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Tip 4: Don’t go it alone

Page 35: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Get Trained“Does your institution meet this need?”

(‘no’ responses)

***

*

Page 36: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

CyVerse Example in Practice

Page 37: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Needs for biologists

• Power (computational capacity)

• Usability (simple to get started)

• Usefulness (right set of tools installed, or able to install)

• Reproducibility

Page 38: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Ready to usePlatforms

FoundationalCapabilities

Established CI Components

Extensible Services

Ease

of U

se Flexibility

CyVerse Product Stack

Page 39: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

CyVerse Atmosphere

Page 40: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

CyVerse Atmosphere

Page 41: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

CyVerse Atmosphere

Page 42: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

CyVerse Atmosphere

Page 43: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Emphasis on serverless and SaaS/PaaS layer

Page 44: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Visual Interactive Computing EnvironmentCyVerse VICE

Page 45: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

RNA-Seq example: GEA Tools in Docker

1. Write a Dockerfile (1-8 hours) 2. Push container to CyVerse (10 min)

3. Create an interface and get button (10 min) 4. Use your tools (10 min)

Page 46: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Some take home messages:

• Technology problems can be solved by lots of folks – but you and your group know the science

• There isn't a “cloud” but a constellation of technologies and approaches – think about taking the pieces you need

• There are lots of free safe places to learn (public infrastructure)

Page 47: Reproducibility in the Clouds - Harnessing the in nube Paradigm · Harnessing the in nube Paradigm. DNA Learning Center ... (more than 2 million visitors to-date for all centers)

Parker AntinNirav MerchantEric Lyons

Matthew Vaughn David Micklos