MALDIquantForeign: Import/Export routines for MALDIquant



Similar documents
Creating a New Annotation Package using SQLForge

Mass Spectra Alignments and their Significance

netresponse probabilistic tools for functional network analysis

Application Note # LCMS-62 Walk-Up Ion Trap Mass Spectrometer System in a Multi-User Environment Using Compass OpenAccess Software

MultiAlign Software. Windows GUI. Console Application. MultiAlign Software Website. Test Data

HowTo: Querying online Data

Distribute your R code with R package

>

ProteinScape. Innovation with Integrity. Proteomics Data Analysis & Management. Mass Spectrometry

GEOsubmission. Alexandre Kuhn May 3, 2016

Mascot Search Results FAQ

Introduction to ACD version 12 NMR Software

Package retrosheet. April 13, 2015

Application Note # LCMS-81 Introducing New Proteomics Acquisiton Strategies with the compact Towards the Universal Proteomics Acquisition Method

Data and Projects in R- Studio

WorldShip Import Customer Addresses

OSF INTEGRATOR for INGRAM MICRO Integration Guide

Object systems available in R. Why use classes? Information hiding. Statistics 771. R Object Systems Managing R Projects Creating R Packages

Writing R packages. Tools for Reproducible Research. Karl Broman. Biostatistics & Medical Informatics, UW Madison

AB SCIEX TOF/TOF 4800 PLUS SYSTEM. Cost effective flexibility for your core needs

Master course KEMM03 Principles of Mass Spectrometric Protein Characterization. Exam

THE PERFECT CALL. ntw-software.com

Rectifier circuits & DC power supplies

Operating manual. SpectralTransfer. - Backup of measurement data - Backup and recovery of user-defined methods - Software and methods update

Bulk Downloader. Call Recording: Bulk Downloader

How Mascot Integra helps run a Core Lab

Increasing the Multiplexing of High Resolution Targeted Peptide Quantification Assays

DiskPulse DISK CHANGE MONITOR

Global Value 7. Productivity Suite for GammaVision. Optimizing Gamma Spectrometry Processes through Secure Data Management and Measurement Automation.

[ Care and Use Manual ]

Package DDIwR. R topics documented: February 19, Version Date Title DDI with R Depends R (>= 3.1.0) Imports XML, foreign

Report Writing for Data Science in R

Automate G/L Consolidation User Guide

flexanalysis User Manual

2015 Public Cloud Disaster Recovery Survey

SQL Server Instance-Level Benchmarks with DVDStore

ProteinPilot Report for ProteinPilot Software

Modelling with R and MySQL. - Manual - Gesine Bökenkamp, Frauke Wiese, Clemens Wingenbach

Importing Data into R

JMETER - MONITOR TEST PLAN

R4RNA: A R package for RNA visualization and analysis

Learning Objectives:

IMPORT / EXPORT PRODUCTS

泛 用 蛋 白 質 體 學 之 質 譜 儀 資 料 分 析 平 台 的 建 立 與 應 用 Universal Mass Spectrometry Data Analysis Platform for Quantitative and Qualitative Proteomics

JustClust User Manual

Preprocessing, Management, and Analysis of Mass Spectrometry Proteomics Data

Mascot Integra: Data management for Proteomics ASMS 2004

Market Challenges Business Drivers

IMPORT/EXPORT CUSTOMER REVIEWS. User Guide. User Guide Page 1

Windows PowerShell Cookbook

HIC.SOAP Network User Instructions last updated June 22, :39 AM

Introduction. What Can an Offline Desktop Processing Tool Provide for a Chemist?

CopyMove for SharePoint 2007 Product Documentation

Package hoarder. June 30, 2015

MIS Export via the FEM transfer software

F321 THE STRUCTURE OF ATOMS. ATOMS Atoms consist of a number of fundamental particles, the most important are... in the nucleus of an atom

MS Amanda Standalone User Manual

Magento Search Extension TECHNICAL DOCUMENTATION

AdminToys Suite. Installation & Setup Guide

Test Automation Integration with Test Management QAComplete

High Throughput Proteomics

Note: This is a general guide for initial setup and use. For detailed help please refer to the resource links below.

Package ggrepel. February 8, 2016

GeneProf and the new GeneProf Web Services

Invoice Quotation and Purchase Orders Maker

Quantum Q-Cloud Backup-as-a-Service Reference Architecture

CGS2531 Problem Solving Using Computer Software Sample Exam 3. Select the most appropriate answer(s).

Q-TOF User s Booklet. Enter your username and password to login. After you login, the data acquisition program will automatically start.

CUCM 6.x/7.x/8.x: Bulk Administration Tool (BAT) Errors

T-CONNECT EDI VIEWER. Installation and User Guide 12/16/2014 WE BUILD SOFTWARE THAT HELPS OUR CLIENTS GROW DOCUMENT CREATED BY:

TesT AuTomATion Best Practices

Pep-Miner: A Novel Technology for Mass Spectrometry-Based Proteomics

Lesson Plans Microsoft s Managing and Maintaining a Microsoft Windows Server 2003 Environment

Instructions for Installing and Using the FOCUS DL-15 Data Transfer Software

Suite. How to Use GrandMaster Suite. Exporting with ODBC

Using the Tcl VFS for Encryption

BPMS BUYER S TOOL KIT. Sample Request for Proposal for a Business Process Management Suite. Part 1 of the complete BPMS Buyer s Tool Kit

USER MANUAL (PRO-CURO LITE, PRO & ENT) [SUPPLIED FOR VERSION 3]

If you prefer to use your own SSH client, configure NG Admin with the path to the executable:

An Introduction to astercc Call Center ver /06/09

Processing millions of logs with Logstash

Data Management in an International Data Grid Project. Timur Chabuk 04/09/2007

Metabolomics Software Tools. Xiuxia Du, Paul Benton, Stephen Barnes

Integrating Oracle Analytics Content

Demo of Data transferring (.CSV Files) from EGX300 to Our local PC/Laptop using- FTP

For the next half hour I m going to be describing some of the different options for peak peaking. The profit is with getting better protein ID or

Workshop IIc. Manual interpretation of MS/MS spectra. Ebbing de Jong. Center for Mass Spectrometry and Proteomics Phone (612) (612)

Submitting UITests at the Command Line

Query OLAP Cache Optimization in SAP BW

Parallels Plesk Panel

Isotope distributions

Configuring Spectralink IP-DECT Server 400/6500 and DECT Server 2500/8000 for Cisco Unified Call Manager

SELDI-TOF Mass Spectrometry Protein Data By Huong Thi Dieu La

Strategies for Developing Optimal Synchronous SIM-Scan Acquisition Methods AutoSIM/Scan Setup and Rapid SIM. Technical Overview.

Tutorial for Proteomics Data Submission. Katalin F. Medzihradszky Robert J. Chalkley UCSF

Transcription:

MALDIquantForeign: Import/Export routines for MALDIquant Sebastian Gibb October 31, 2015 Abstract MALDIquantForeign provides routines for importing/exporting different file formats into/from MALDIquant. This vignette describes the usage of the MALDIquantForeign package. mail@sebastiangibb.de 1

Contents 1 Introduction 2 2 Setup 3 3 Import 3 4 Export 6 5 Analyse Mass Spectrometry Data 7 6 Session Information 7 Foreword MALDIquantForeign is free and open source software for the R (R Core Team, 2014) environment and under active development. If you use it, please support the project by citing it in publications: Gibb, S. and Strimmer, K. (2012). MALDIquant: a versatile R package for the analysis of mass spectrometry data. Bioinformatics, 28(17):2270 2271 If you have any questions, bugs, or suggestions do not hesitate to contact me (mail@sebastiangibb.de). Please visit http://strimmerlab.org/software/maldiquant/. 1 Introduction MALDIquant should be device and platform independent. That s why it has not any import/export functions. MALDIquantForeign fills this gap and provides import/export routines for various file formats: > supportedformats() 2

$import [1] "txt" "tab" "csv" "fid" "ciphergen" [6] "mzxml" "mzml" "imzml" "analyze" "cdf" [11] "msd" $export [1] "tab" "csv" "msd" "mzml" "imzml" 2 Setup After starting R we could install MALDIquant and MALDIquantForeign directly from CRAN using install.packages: > install.packages(c("maldiquant", "MALDIquantForeign")) Before we can use MALDIquant and MALDIquantForeign we have to load the packages. > library("maldiquant") > library("maldiquantforeign") 3 Import MALDIquantForeign provides an import function that tries to auto-detect the correct file type. Because this would never be perfect MALDIquantForeign offers also many import* functions like importbrukerflex, importmzml, etc. Please see the manual page of import for a complete list (?import). First we try to import some example data in Bruker Daltonics *flex-series file format using the import function. > ## get the example directory > exampledirectory <- system.file("exampledata", + package="maldiquantforeign") 3

> > spectra <- import(file.path(exampledirectory, + "brukerflex"), + verbose=false) Range of m/z values : 226.762-230.51 Range of intensity values: 1e+00-5e+00 : 7.773 KiB Name : brukerflex. : /tmp/rtmpc481dm/rinst31d071b7b4b0/maldiquantforeign/exa Next we use the importbrukerflex function (the result is the same as above). > spectra <- importbrukerflex(file.path(exampledirectory, + "brukerflex"), + verbose=false) Range of m/z values : 226.762-230.51 Range of intensity values: 1e+00-5e+00 : 7.773 KiB Name : brukerflex. : /tmp/rtmpc481dm/rinst31d071b7b4b0/maldiquantforeign/exa MALDIquantForeign supports compressed files, too (zip, tar.{bz2, gz,xz}). > spectra <- importcsv(file.path(exampledirectory, "compressed", + "csv.tar.gz"), verbose=false) 4

Range of intensity values: 6-10 : 1.406 KiB : /tmp/rtmprr6kn0/maldiquantforeign_uncompress/csv_31e31a > spectra <- importcsv(file.path(exampledirectory, "compressed", + "csv.zip"), verbose=false) Range of intensity values: 6-10 : 1.406 KiB : /tmp/rtmprr6kn0/maldiquantforeign_uncompress/csv_31e37f Remote files are supported as well. Data are taken from Tan et al. (2006). > spectra <- import(paste0("http://www.meb.ki.se/", + "~yudpaw/papers/spikein_xml.zip"), + centroided=false, verbose=true) If you want to read peak lists (centroided data) instead of spectra data you have to set centroided=true. > peaks <- import(file.path(exampledirectory, "ascii.txt"), + centroided=true, verbose=false) > peaks [[1]] : MassPeaks Range of intensity values: 6-10 Range of snr values : NA - NA : 1.602 KiB : /tmp/rtmpc481dm/rinst31d071b7b4b0/maldiquantforeign/exa 5

4 Export The export routines in MALDIquantForeign are very similar to the import routines. Please see manual page of export for a complete list of supported export routines (?export). First we create a simple list of MassSpectrum objects using createmassspectrum. > spectra <- list( + createmassspectrum(mass=1:5, intensity=1:5), + createmassspectrum(mass=1:5, intensity=6:10)) Now we want to export the first spectrum into a CSV file. > export(spectra[[1]], file="spectrum1.csv") > import("spectrum1.csv") [[1]] Range of intensity values: 1-5 : 1.406 KiB : /tmp/rtmpc481dm/rbuild31d05e525e6a/maldiquantforeign/vi Exporting every file by hand is cumbersome. We want to export the whole list of spectra. Instead of file we use path now to specify a directory. Please note that we have to add the file type/format information now (we can use the type argument or the corresponding export* function). If the path doesn t exists we will get an error. To force export to create/overwrite the given path, we set the argument force=true. > export(spectra, type="csv", path="spectra", force=true) > list.files("spectra") [1] "1.csv" "2.csv" 6

5 Analyse Mass Spectrometry Data Please have a look at the corresponding vignette shipped with MALDIquant and the MALDIquant website: http://strimmerlab.org/software/maldiquant/. > vignette(topic="maldiquant", package="maldiquant") 6 Session Information R Under development (unstable) (2015-10-30 r69588), x86_64-pc-linux-gnu Base packages: base, datasets, grdevices, graphics, methods, stats, utils Other packages: MALDIquant 1.13, MALDIquantForeign 0.10, knitr 1.11 Loaded via a namespace (and not attached): XML 3.98-1.3, base64enc 0.1-3, digest 0.6.8, evaluate 0.8, formatr 1.2.1, highr 0.5.1, magrittr 1.5, parallel 3.3.0, readbrukerflexdata 1.8.2, readmzxmldata 2.8.1, stringi 1.0-1, stringr 1.0.0, tools 3.3.0 References Gibb, S. and Strimmer, K. (2012). MALDIquant: a versatile R package for the analysis of mass spectrometry data. Bioinformatics, 28(17):2270 2271. R Core Team (2014). R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria. Tan, C. S., Ploner, A., Quandt, A., Lehtiö, J., and Pawitan, Y. (2006). Finding regions of significance in SELDI measurements for identifying protein biomarkers. Bioinformatics, 22(12):1515 1523. 7