chaste chaste : c ancer, h eart a nd s oft t issue e nvironment ivan cenci computational biology...

28
Chaste Chaste: C C ancer, ancer, H H eart eart a a nd nd S S oft oft T T issue issue E E nvironment nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

Upload: michelangela-aiello

Post on 02-May-2015

213 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

ChasteChaste:

CCancer, ancer, HHeart eart aand nd SSoft oft TTissue issue EEnvironmentnvironment

Ivan Cenci

Computational Biology Group

Computing Laboratory, University of Oxford

Page 2: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

COS’E’ CHASTECOS’E’ CHASTE

• Package di simulazione rivolto a problemi multi-scala e con un alto costo computazionale negli ambiti di biologia e fisiologia

• Simulazioni su singola cellula o tessuto: a partire da un modello matematico cellulare e’ possibile estendere lo studio a pool di cellule con disposizione spaziale e caratteristiche qualsiasi

• Attenzione focalizzata sulla riduzione dei tempi di simulazione, uno dei principali limiti della Computational Biology: 30 ms di propagazione simulati su una mesh di 3717056 nodi richiedono 13 ore su un core di un server Intel Xeon 3 GHz con 16 GB di RAM

Page 3: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

ATTUALI APPLICAZIONIATTUALI APPLICAZIONI

• Cardiologia• Simulazioni monodomain e bidomain per un ampio range di

problemi pratici• Efficiente implementazione in parallelo per simulazioni su

processori multi-core• Open source release disponibile sotto licenza GNU LGLP

• Meccanica di tessuti molli• Elasticita’ non lineare (in dipendenza dalla deformazione)• Possibilita’ di utilizzare diversi modelli cellulari in diverse zone

dello spazio

• Cancro• Attenzione su cancro colorettale e sferoidi tumorali• Vasta gamma di modelli cellulari ed equazioni di campo

Page 4: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

STORIA DI CHASTESTORIA DI CHASTE

• Inizialmente insegnato in un corso di quattro settimane in Software Engineering nel Maggio 2005

• Maggio 2005 - Settembre 2007: attivita’ part-time di un gruppo di circa 6-10 PhD e post-docs

• Settembre 2007 - Ora: stanziamento di fondi per permettere uno sviluppo full-time

• Il lavoro rimane principalmente focalizzato su elettrofisiologia cardiaca, modellazione di tessuti molli (inclusa elettro-meccanica cardiaca) e modellazione di tumori

Page 5: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

CARATTERISTICHE DEL CODICECARATTERISTICHE DEL CODICE

• Questioni di ingegneria del software• Programmazione Object-oriented• Linguaggio C++

• Metodologia “agile”• Iterazioni: piccoli progetti di breve durata• Pair programming• Test-driven• Frequenti meetings

• Il codice base attualmente contiene circa 119974 righe di codice e 69737 righe di test

Page 6: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

PRESTAZIONI IN PARALLELOPRESTAZIONI IN PARALLELO

• Propagazione monodomain in parallelo utilizzando la mesh cardiaca dell’UCSD (University of California, San Diego)

Page 7: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

MESH AD ELEMENTI FINITIMESH AD ELEMENTI FINITI

• Insieme di vertici, lati e facce che definisce forma e proprieta’ di un oggetto mono-bi-tridimensionale

• Noble – DiFrancesco cell

• Mahajan – Shiferaw cell

Page 8: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

OXFORD RABBIT HEART MESHOXFORD RABBIT HEART MESH

• MR Data Acquisition

•26.4 X 26.4 X 24.4 μm resolution

•11.7 T magnet •1024 X 1024 X 2048 voxels

Jurgen Schneider, Peter Kohl, Rebecca Burton(Physiology, Cardiovascular Medicine, University of Oxford)

Page 9: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

OXFORD RABBIT HEART MESHOXFORD RABBIT HEART MESH

• Segmentazione delle immagini

Martin Bishop, Vicente Grau(Computing Lab, Engineering/OeRC, University of Oxford)

• Discriminazione del tessuto dal volume di background• Applicazione di tre filtri di segmentazione

Page 10: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

OXFORD RABBIT HEART MESHOXFORD RABBIT HEART MESH

Blood vessels

Papillary muscles

Valves

• Generazione della mesh

Martin Bishop, Vicente Grau(Computing Lab, Engineering/OeRC, University of Oxford)

• ~ 4 milioni di vertici• ~ 20 milioni di

tetraedri• ~ 1 milione di

triangoli di bounding

Page 11: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

MONO-BIDOMAIN EQUATIONSMONO-BIDOMAIN EQUATIONS

• AP di singola cellula

(ii)=Im+Istim,i

(ee)=-Im-Istim,e

ionm

stim Idt

dVCI

KCaNaion IIII

17.4 17.7 18 18.3 18.6-100

-80

-60

-40

-20

0

20

40

60

time (s)

V (

mV

)

• Propagazione nel tessuto: Bidomain equations

Page 12: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

USE IT!USE IT!

• Tools necessari• Sistema operativo Linux (almeno per ora)• Chaste “standalone”: file eseguibile scaricabile liberamente da

http://web.comlab.ox.ac.uk/chaste/• Sorgente da compilare• Editor di testo• Meshalizer: programma in grado di processare i risultati

• Non esiste un ambiente di sviluppo!!

Page 13: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

USE IT!USE IT!

• Features dell’eseguibile

• Simulazioni monodomain e bidomain

• Costruzione di mesh elementari o lettura di mesh esterne

• Run in parallelo su processori multicore

• Possibilita’ di utilizzare stimoli multipli

• Eterogeneita’ nei parametri dei modelli cellulari e nelle conduttivita’

• Numero limitato di modelli cellulari disponibili (work in progress)

• Risultati pronti per essere letti da Meshalizer

Page 14: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

USE IT!USE IT!

• Editing: file XML

ChasteParameters.xml

Page 15: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

USE IT!USE IT!

• Compilazione

Page 16: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

USE IT!USE IT!

• Visualizzazionerisultati

Page 17: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

SIMULAZIONISIMULAZIONI

Page 18: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

MODELLING MULTI-SCALAMODELLING MULTI-SCALA

Ionic currents

ECG

Whole organ model(s)

Cell model(s)

Page 19: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

INTERFACCIA PURKINJE-INTERFACCIA PURKINJE-MIOCARDIOMIOCARDIO

• Motivazione ed obiettivo finale: investigare le interazioni elettrotoniche all’interfaccia, con modelli cellulari realistici in geometrie anatomiche realistiche (…)

• Noble – DiFrancesco cell

• Mahajan – Shiferaw cell

Stimolo unicamenteai nodi di Purkinje

3 mm3 mm

0.75 mm

Alberto Corrias(Computing Lab, University of Oxford)

Page 20: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

INTERFACCIA PURKINJE-INTERFACCIA PURKINJE-MIOCARDIOMIOCARDIO

• Attivazione del miocardio da parte della fibra di Purkinje

Alberto Corrias(Computing Lab, University of Oxford)

• Depolarizzazione • Ripolarizzazione

Page 21: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

INTERFACCIA PURKINJE-INTERFACCIA PURKINJE-MIOCARDIOMIOCARDIO

• Il potenziale d’azione dei nodi ventricolari varia in dipendenza della distanza dall’interfaccia (lungo l’asse della fibra)

Alberto Corrias(Computing Lab, University of Oxford)

Page 22: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

ECG FORWARD PROBLEMECG FORWARD PROBLEM

Alberto Corrias(Computing Lab, University of Oxford)

• Ottenere la traccia ECG partendo dai potenziali d’azione cardiaci

Page 23: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

ECG FORWARD PROBLEMECG FORWARD PROBLEM

• Geometria semplificata: (piccola) ellissoide troncata contenente il modello cellulare Faber-Rudy in un (piccolo) volume di controllo

Alberto Corrias(Computing Lab, University of Oxford)

Sezione trasversale

Stimolazione dell’apice cardiaco

Page 24: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

ECG FORWARD PROBLEMECG FORWARD PROBLEM

• Approccio accoppiato: risoluzione del set di equazioni (con condizioni al contorno) per ogni time step

Alberto Corrias(Computing Lab, University of Oxford)

Cuore

Tors

o(b

ath

)

Propagazione passivain mezzo resistivo

Page 25: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

ECG FORWARD PROBLEMECG FORWARD PROBLEM

Alberto Corrias(Computing Lab, University of Oxford)

• Simulazioni

• Extracellular/bath potentials (Φe)• Heart activation (Vm)

Page 26: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

• ECG in geometrie semplificate

ECG FORWARD PROBLEMECG FORWARD PROBLEM

Alberto Corrias(Computing Lab, University of Oxford)

• Surface potential (Φe) ControlHERG block

AP c

ard

iaco

EC

G (

punto

rosa

)

Page 27: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford

ChasteChaste:

CCancer, ancer, HHeart eart aand nd SSoft oft TTissue issue EEnvironmentnvironment

Ivan Cenci

Computational Biology Group

Computing Laboratory, University of Oxford

Page 28: Chaste Chaste : C ancer, H eart a nd S oft T issue E nvironment Ivan Cenci Computational Biology Group Computing Laboratory, University of Oxford