1 Automatic Processing Pipelines with XNAT and REDCap Vanderbilt University 2013-08-20 Benjamin Yvernault, Bennett Landman, Brian Boyd,

Slides:



Advertisements
Similar presentations
 hyperlinks  Audio Recordings  Video  Podcast  Text  Illustrations With creative book builder you can create interactive books that include.
Advertisements

Jerry Braun Virtual College. 7.4 Overview of the Process 1. Log into your 7.2 course 2. “Clean it up” and remove any unneeded files 3. Back up.
Test Automation Framework Ashesh Jain 2007EE50403 Manager Amit Maheshwari.
XNAT and Advanced Knowledge Vanderbilt University Benjamin Yvernault, Bennett Landman, Brian Boyd 1.
Lab6 – Debug Assembly Language Lab
Ingest and Loading DigiTool Version 3.0. Ingest and Loading 2 Ingest Agenda Ingest Overview and Introduction Ingest activity steps Transformers Task Chains.
Course Orientation Assignments Tool. If the Assignments tool has been added to the course, use the Assignments link in the Course Menu to access upcoming.
1 Introduction to Programming Environment Using MetroWerks CodeWarrior and Palm Emulator.
Reproducible Environment for Scientific Applications (Lab session) Tak-Lon (Stephen) Wu.
Python for S60 SmartPhones PostPC Workshop Fall 2006 Amnon Dekel.
The basics of the Online Portal
1 Spidering the Web in Python CSC 161: The Art of Programming Prof. Henry Kautz 11/23/2009.
Introduction to UNIX/Linux Exercises Dan Stanzione.
Deep Project Management with XNAT Vanderbilt University
XNAT and Basic Knowledge Vanderbilt University Benjamin Yvernault, Bennett Landman, Brian Boyd 1.
DELTA TAU Data Systems, Inc. 1 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC Project Management November.
ISG We build general capability Introduction to Olympus Shawn T. Brown, PhD ISG MISSION 2.0 Lead Director of Public Health Applications Pittsburgh Supercomputing.
Nancy Severe-Barnett Program Coordinator, SCIS
DTIAtlasBuilder Adrien Kaiser Neuro Image Research and Analysis Laboratories University of North Carolina at Chapel Hill A tool to create an atlas from.
Customer Service and Support Sutherland Global Services Consultant Learning Services Microsoft Store.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Compiled Matlab on Condor: a recipe 30 th October 2007 Clare Giacomantonio.
Client – Server Application Can you create a client server application: The server will be running as a service: does not have a GUI The server will run.
1 ITI 1120 Lab # 1 An Introduction to the Lab Environment Contributors: G. Arbez, M. Eid, D. Inkpen, A. Williams, D. Amyot.
Advanced AutoEntry Using Resume Parsing with Version 9 of PcHunter/Tempus Fugit Advanced AutoEntry © 2008 Micro J Systems, Inc.
Nadia LAJILI User Interface User Interface 4 Février 2002.
Execute Workflow. Home page To execute a workflow navigate to My Workflows Page.
MyBLAST standalone installation Lab of Systems Biology & Network Biology website Download link. 1.Click the Download link.
1 TME bulletin system Loading NMSC Bulletins. 2 2 Bulletins - User Guide – How to write in TD3 Writers: A. Los, M. De Wever Date:v1: 28/09/2012 Change.
Some Design Notes Iteration - 2 Method - 1 Extractor main program Runs from an external VM Listens for RabbitMQ messages Starts a light database engine.
Agenda Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Review next lab assignments Break Out Problems.
Guide to Linux Installation and Administration, 2e1 Chapter 11 Using Advanced Administration Techniques.
Grade Quick Training Level I Please do not log on.
An Introduction to Designing, Executing and Sharing Workflows with Taverna Katy Wolstencroft myGrid University of Manchester IMPACT/Taverna Hackathon 2011.
CS Capstone OS Tools for OpenBSD Overview Presentation Team Fugu.
Quick Introduction to creating Eyeblaster ads.  Steps for creating an Eyeblaster ad  Building Eyeblaster compatible flash assets  Adding Eyeblaster.
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
JDS5 Training Guide. On Start Up you will see this screen click the OK button Click OK.
ISG We build general capability Introduction to Olympus Shawn T. Brown, PhD ISG MISSION 2.0 Lead Director of Public Health Applications Pittsburgh Supercomputing.
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
Students will go to In the top right hand corner the student will type in their package code in the box that says “Place.
QC – User Interface QUALITY CENTER. QC – Testing Process QC testing process includes four phases: Specifying Requirements Specifying Requirements Planning.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Fab25 User Training Cerium Labs LabCollector - LIMS Lynette Ballast.
Scenario use cases Szymon Mueller PSNC. Agenda 1.General description of experiment use case. 2.Detailed description of use cases: 1.Preparation for observation.
Optical Flow walk through Aidean Sharghi Spring 14.
Outline of Script Import Modules Setup Workspace Environment and Assign Data Path Variables Summary of Script Title and Author Info.
GETTING STARTED WITH AWS AND PYTHON. OUTLINE  Intro to Boto  Installation and configuration  Working with AWS S3 using Bot  Working with AWS SQS using.
Downloading and Installing GRASP-AF Workshop Ian Robson Information Analyst, North of England Cardiovascular Network.
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
CACI Proprietary Information | Date 1 Upgrading to webMethods Product Suite Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8,
Indispensable tools for research at its best RefWorks 2.0 fundamental Alan Tang
Lunch & Learn & Laugh! (or at least giggle).
DU REDCap Introduction
Development Environment
ITCS-3190.
Pipelines, Data Transfer, and Reconstructions
COMP 170 – Introduction to Object Oriented Programming
Bomgar Remote support software
Introduction to Algorithm Design
Counselor Portion of the Student Profile
Managing Imaging Studies with XNAT and RedCAP
Exploring the Power of EPDM Tasks - Working with and Developing Tasks in EPDM By: Marc Young XLM Solutions
An introduction to the Linux environment v
Preparation for Assignment 2
Search for Manage Procurement Agents task in the Setup and Maintenance work area, Procurement offering, Procurement Foundation functional area. Select.
SCCM Advanced Task Sequence Part 1
Presentation transcript:

1 Automatic Processing Pipelines with XNAT and REDCap Vanderbilt University Benjamin Yvernault, Bennett Landman, Brian Boyd,

Requirements At this point, you should know how to : –Create project / sharing data –Browse data and view image previews –Search for projects, subjects, and data –Download imaging data, processed, and stored meta-data –Delete scans / sessions / projects –Use the Pre-Archive –Upload scans DICOMs –Quality Assurance 2

3 After this short course, you will be able to: Create a project on REDCap Set up the design of your REDCap project Request API access for your project on REDCap What is a spider: -source code -Which spiders already exist? -Run spiders from your computer Run a spider on your local machine ACCRE: run spiders (status / failed / ….)

Setting REDCap project for XNAT processing 4

REDCap: Setup the main instrument 5 Variable Name: project_xnat -> type: Text Box Variable Name: subject_xnat -> type: Text Box Variable Name: experiment_xnat -> type: Text Box Variable Name: scan_xnat -> type: Text Box Variable Name: scan_type_xnat -> type: Text Box Variable Name: scan_sd_type -> type: Text Box Variable Name: script_name -> type: Text Box Variable Name: script_version -> type: Text Box Variable Name: pdf_report -> type: File Upload

REDCap: Upload main instrument 6 Variable Name: project_xnat -> type: Text Box Variable Name: subject_xnat -> type: Text Box Variable Name: experiment_xnat -> type: Text Box Variable Name: scan_xnat -> type: Text Box Variable Name: scan_type_xnat -> type: Text Box Variable Name: scan_sd_type -> type: Text Box Variable Name: script_name -> type: Text Box Variable Name: script_version -> type: Text Box Variable Name: pdf_report -> type: File Upload Take time to create all this fields each time you have a new project. Upload the main instrument dictionary as a first step. File location: -> Everything about spiders -> How to upload to REDCap -> link with the csv file.

REDCap: Download Shared Libraries 7

REDCap: API Key  To send data from XNAT to REDCap, you need to have an API key for your project on REDCap 8

REDCap Project Online Designer 9

Spiders …  Script executing a process on XNAT  Download images / data from XNAT  Execute a process on them  Copy the data to a directory  A specific spider to upload results on XNAT  All the spiders on  Source code in the project Masimatlab on NITRC  Three kind of Spiders :  Spider that creates results for a Scan  Spider that corresponds to an assessor  Infrastructure spiders 10

Scan Spiders  Converter Spider :  Spider_dcm2nii_all.py (using dcm2nii)  Spider_dcm2nii_all_v2.py (using r2agui)  Changing attributes:  Spider_set_scan_type.py  Spider_Series_Description.py  Extracting/creating files:  Spider_physlog.py  Spider_Make_Preview_from_nifti.py 11

Process Spiders  This spiders can work on a scan level (one assessor per scan) or an experiment level (one assessor per session)  Spider that generates an assessor:  Spider_fMRQA.py  Spider_VBMQA.py  Spider_dtiQA_v2.py  Spider_labelFusion.py  Spider_intra_sess_reg.py  Spider_nonrigi_reg_to_ATLAS.py  Spider_FreesurferReconAllWithQC.py  Spider_ON_segmentation.py 12

Infrastructure Spider  Spider_report_for_projects.py to create a report on projects (same than Xnatreport)  Spider_send_data_to_redcap.py to send data from complet processes on XNAT to REDCap  Spider_Process_Upload to upload the processes that finished. Any process Spiders will copy the results needed to a specific directory. You should run it when you need to upload processes. 13

Spider flow 14 Spiders Python script Any language script: - Matlab/SPM - Perl - shell script Folder UPLOAD_SPIDER_DIR Download data Run process Spider_process_upload.py / Xnatprocessupload

How to run a spider?  Spiders can run on your local machine if you have the requirements.  E.G: Most of the spiders use xvfb-run  python Spider_fMRIQA.py -h to see the options  Your.bashrc or.profile set up with your XNAT logs  Python packages install  Specific python package to run spiders on ACCRE develop by our lab. 15

ACCRE and Spiders  Advanced Computing Center for Research & Education  ACCRE is a Cluster for Vanderbilt University  Python script running every night on the cluster  Submitting one job per assessor  Status on the assessor related to the job status:  NEED_INPUTS-> the inputs files are not present on XNAT  NEED_TO_RUN-> ready to be submitted on ACCRE  JOB_RUNNING -> job submitted and running on ACCRE  JOB_FAILED -> job stop with an error  READY_TO_UPLOAD-> job ended and copy the results to the Upload directory  UPLOADING-> Spider_Process_Upload running and uploading results  READY_TO_COMPLETE-> a script will check and set the walltime and memory used by the job on ACCRE.  COMPLETE-> jobs done (processes finished and uploaded) with results on XNAT 16

ACCRE and CCI package 17 CCI Package Crontab job running every night a python script Folder UPLOAD_SPIDER_DIR Get assessors that need to run Run jobs for each assessors (Spider flow on ACCRE) Spider_process_upload.py / Xnatprocessupload

Status sync between XNAT and REDCap 18

19 Interactive Assignment Add to your.bashrc the line (or.profile on Mac OS): export UPLOAD_SPIDER_DIR=path Create a project on REDCap Upload the dictionary from –Everything about Spiders -> How to upload on REDCap Download the shared libraries for fMRIQA / VBMQA / dtiQA Run the Spider VBMQA on one T1 in the project you created in the last courses (it’s going to take 10mins) Look at the results and upload them using Xnatprocessupload Delete the project