Size: px
Start display at page:

Download "?<BACBC;@@A=2(?@?;@=2:;:%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"

Transcription

1 NGS data format

2 NGS data TGCAGGGAATCAGGGACCCACACCCGGAGCTGATTATTCACAGCCATTGCTGACCTCTCTCTGTGAGAAC

3 NGS data TGCAGGGAATCAGGGACCCACACCCGGAGCTGATTATTCACAGCCATTGCTGACCTCTCTCTGTGAGAAC Sample_ID.read_number Sequence additional_sample_info Quality Scores

4 NGS data TGCAGGGAATCAGGGACCCACACCCGGAGCTGATTATTCACAGCCATTGCTGACCTCTCTCTGTGAGAAC Sample_ID.read_number Sequence additional_sample_info Quality Scores

5 Quality GGATGATGGATGGATAGATAGATGAAGAGATGGATGGATGGGTGGGTGGTATGCAGCATACCTGAAGTGC ASCII table G = ASCII value offset G =? - offset G = G = 30

6

7 Code review from last week: write a script to get %GC of a DNA sequence get the DNA sequence as a command line argument print the percent GC hints: increment a value each time a nucleotide matches all of these lines of code do the same calculation $gc_count = $gc_count 1; $gc_count = 1; $gc_count;

8 script to get %GC of a DNA sequence./calculate_percent_gc.pl GACTCTCAG G A C T C T C A G #!/usr/bin/perl w # this script will calculate %gc of a sequence $dna_sequence = shift die DNA sequence argument needed\n ; $dna_length = length($dna_sequence); for (0.. ($dna_length 1)) { $position = $_; $nucleotide = substr($dna_sequence, $position, 1); } if ($nucleotide eq 'G' $nucleotide eq 'C') { $gc_count; } $gc_percent = ($gc_count / $dna_length) * 100; print "GC content of $dna_sequence is $gc_percent%\n";

9 Variables in Perl Variables are used to hold data. Different data types use different variable types. There are three data structures in Perl: scalar, array and hash You should use a variable name that is informative of its contents. Use lowercase characters and separate words with underscore character. array variables starts and holds multiple units of data containing text, = ( Mon, Tue, Wed, Thur, Fri = ( The cat in the hat, Grapes of Wrath = (100, 95, 80, = = (1.. 22, X, Y );

10 Arrays are structured like a linked group of scalar = ( Mon, Tue, Wed, Thur, Fri = Mon Tue Wed Thur Fri index alternate index You could think of an array as being similar to a stack of boxes where the box on the floor has an index value of 0 index Access individual array data values using the index value in square brackets [ ] and since the individual value is now a scalar, use $ instead to access individual values value Fri Thur Wed Tue Mon $weekdays[0] contains the value: Mon $weekdays[1] contains the value: Tue $weekdays[4] contains the value: Fri $weekdays[-1] contains the value: Fri

11 Use the shift function to capture the value of index 0 shift always removes the value from index = ( Mon, Tue, Wed, Thur, Fri ); $first_day = shift(@weekdays); index $weekdays[4] $weekdays[3] $weekdays[2] $weekdays[1] $weekdays[0] value Fri Thur Wed Tue Mon shift index value Fri Thur Wed Tue Now $first_day contains the value: Mon and $weekdays[0] contains: Tue Mon is shifted into the value of $first_day and the data stack shifts down and the value found at index 4 is now empty (NULL)

12 Use the push function to add data to your array (at the top of your data stack) $first_day); the value of $first_day gets pushed to the top of your array Mon index value index value Fri Thur Wed Tue push Mon Fri Thur Wed Tue $first_day still contains the value: Mon

13 Using array variables in Perl cd ~/genomics_lab/ws3 gedit using_arrays.pl & #!/usr/bin/perl = ( Mon, Tue, Wed, Thur, Fri push(@all_days, Sat ); push(@all_days, Sun ); print The days of the week are:\n ; foreach (@all_days) { $day = $_; print $day\n ; } # loop through each element in your array # capture value of $_ in the variable $day

14 Skipping and Exiting for loops gedit using_arrays.pl & #!/usr/bin/perl = ( Mon, Tue, Wed, Thur, Fri push(@all_days, Sat ); push(@all_days, Sun ); print The days of the week are:\n ; foreach (@all_days) { $day = $_; next if ($day eq Wed ); last if ($day eq Fri ); print $day\n ; } output: The days of the week are: Mon Tue Thur # skip printing if day is Wed # exit loop when day is Fri

15 File Handles in Perl: read files gedit read_file.pl & # The following will read in a file that currently exists one line at a time # you can use any text for your file handle name (INFILE, IN, FILE) just keep it in ALL_CAPS #!/usr/bin/perl -w open(infile, ws3_data.tsv ); while(<infile>) { chomp; $line = $_; print $line\n ; } close(infile); # your assigned file handle is INFILE # while will read in your file one line at a time # chomp removes newline character \n from $_ # always close your file handle when finished

16 File Handles in Perl: write files # Read in a file and write to a new file # Use > to write to a new file or overwrite existing file # Use >> to append to an existing file or create and write to the file if it doesn't exist #!/usr/bin/perl -w open(infile, ws3_data.tsv ); open(outfile, >, ws3_data_copy.tsv ); while(<infile>) { chomp; $line = $_; print OUTFILE $line\n ; } close(infile); close(outfile); # open a file for reading # open a file for writing

17 split and join functions # Data is generally delimited by some character like tab, space, comma, colon,... # tab is a good delimiter to use since it makes the data easier to visualize in your text editor You see your tab delimited data (.tsv) Perl sees your tab delimited data like this: in gedit like this: \t21\t30\t33\t36\t42\n 01\t11\t12\t23\t27\t40\n 11\t20\t22\t23\t29\t38\n #!/usr/bin/perl -w open(infile, ws3_data.tsv ); while(<infile>) { chomp; $line = $_; $line[3] $line[2] $line[1] $line[0] = split( \t, $line); $line_copy = join( print line[0] = $line[0]\n ; print line_copy = $line_copy\n ; } close(infile); # split a scalar into an array of values # join array of values into a scalar # print values for validating variables and debugging

18 Array = ( Mon, Tue, Wed ); ; $count = # initialize your array values # now $count = 3 # has same values # prints: 3 # prints: Mon Tue Wed # now $count = 0

19 use strict; Scope of variables in Perl # requires that you declare a variable using my the first time it is used in your code # helps when your scripts get long (many lines of code) by making sure you don't mistype a variable name in your code # helps if other people will be using/modifying your code # helps in debugging your code #!/usr/bin/perl -w use strict; my $name = Watson ; print My name is $name\n ; for (1.. 2) { my $name = Crick ; print My name is $name\n ; } # global declaration of your variable # local declaration of your variable # limited to region within the { } print My name is $name\n ;

20 #!/usr/bin/perl -w use strict; Reading in NGS data into Perl my $infile = SRR031028_subset.fastq.gz ; open(infile, gunzip -c $infile ); while(<infile>) { chomp; my $id = $_; my $sequence = (<INFILE>); my $id_2 = (<INFILE>); my $quality_string = (<INFILE>); chomp($sequence, $id_2, $quality_string); = split('', $quality_string); #add code to process each read here } GGATGATGGATGGATAGATAGATGAAGAGATGGATGGATGGGTGGGTGGTATGCAGCATACCTGAAGTGC BBBCB=ABBB@BA=?BABBBBA??B@BAAA>ABB;@5=@@@?8@:==99:465727:;41'.9>;933!4

21 # this splits a string between each character so each character is in a different index = split('', $quality_string); $quals[0] now contains B $quals[1] now contains B $quals[2] now contains B $quals[3] now contains C $quals[4] now contains B $quals[5] now contains =... $quals[69] now contains 4 # This is how to use Perl to get the actual Phred quality score from the ASCII character my $quality_score = ord( $quals[0] ) 33; # subtract 33 for earlier Illumina sequence fastq data # subtract 64 for Illumina v1.3 (newest sequencing GGATGATGGATGGATAGATAGATGAAGAGATGGATGGATGGGTGGGTGGTATGCAGCATACCTGAAGTGC BBBCB=ABBB@BA=?BABBBBA??B@BAAA>ABB;@5=@@@?8@:==99:465727:;41'.9>;933!4

22 To be completed before next class Programming Assignment Write a Perl script that will trim your sequence based on one of the following: - the quality scores, starting from the right, reaches a score of >= 20 - the quality scores, starting from the left, falls to a score of <= 20 Only print the sequences if the trimmed length is >= 36 Print the results to a file in FASTA format: >@SRR GATTAGCCTATATCGC >@SRR CTAGATGTCGTAGCATCGAT Read in the file SRR031028_subset.fastq.gz located in the following directory ~/genomics_lab/ws3 Use the code to open and read in a gzip file Use default trimmed length of 36 but accept an argument if provided

Perl in a nutshell. First CGI Script and Perl. Creating a Link to a Script. print Function. Parsing Data 4/27/2009. First CGI Script and Perl

Perl in a nutshell. First CGI Script and Perl. Creating a Link to a Script. print Function. Parsing Data 4/27/2009. First CGI Script and Perl First CGI Script and Perl Perl in a nutshell Prof. Rasley shebang line tells the operating system where the Perl interpreter is located necessary on UNIX comment line ignored by the Perl interpreter End

More information

#!/usr/bin/perl use strict; use warnings; use Carp; use Data::Dumper; use Tie::IxHash; use Gschem 3; 3. Setup and initialize the global variables.

#!/usr/bin/perl use strict; use warnings; use Carp; use Data::Dumper; use Tie::IxHash; use Gschem 3; 3. Setup and initialize the global variables. 1. Introduction. This program creates a Bill of Materials (BOM) by parsing a gschem schematic file and grouping components that have identical attributes (except for reference designator). Only components

More information

Joe Wood anjw@ceh.ac.uk Environmental Genomics Thematic Programme Data Centre http://envgen.nox.ac.uk

Joe Wood anjw@ceh.ac.uk Environmental Genomics Thematic Programme Data Centre http://envgen.nox.ac.uk Getting started with Perl Joe Wood anjw@ceh.ac.uk Session content Writing a perl script Running a perl script Variables Scalars Arrays Hashes Using strict Writing a perl script #!/usr/bin/perl -w Statements(;)

More information

Introduction to Matlab

Introduction to Matlab Introduction to Matlab Social Science Research Lab American University, Washington, D.C. Web. www.american.edu/provost/ctrl/pclabs.cfm Tel. x3862 Email. SSRL@American.edu Course Objective This course provides

More information

Tutorial for Windows and Macintosh. Preparing Your Data for NGS Alignment

Tutorial for Windows and Macintosh. Preparing Your Data for NGS Alignment Tutorial for Windows and Macintosh Preparing Your Data for NGS Alignment 2015 Gene Codes Corporation Gene Codes Corporation 775 Technology Drive, Ann Arbor, MI 48108 USA 1.800.497.4939 (USA) 1.734.769.7249

More information

Microsoft Windows PowerShell v2 For Administrators

Microsoft Windows PowerShell v2 For Administrators Course 50414B: Microsoft Windows PowerShell v2 For Administrators Course Details Course Outline Module 1: Introduction to PowerShell the Basics This module explains how to install and configure PowerShell.

More information

Introduction to Perl Programming

Introduction to Perl Programming Introduction to Perl Programming Oxford University Computing Services 2 Revision Information Version Date Author Changes made 1.0 09 Feb 2011 Christopher Yau Created 1.1 18 Apr 2011 Christopher Yau Minor

More information

SPSS for Windows importing and exporting data

SPSS for Windows importing and exporting data Guide 86 Version 3.0 SPSS for Windows importing and exporting data This document outlines the procedures to follow if you want to transfer data from a Windows application like Word 2002 (Office XP), Excel

More information

Introduction to Perl

Introduction to Perl Introduction to Perl March 8, 2011 by Benjamin J. Lynch http://msi.umn.edu/~blynch/tutorial/perl.pdf Outline What Perl Is When Perl Should Be used Basic Syntax Examples and Hands-on Practice More built-in

More information

Unless otherwise noted, all references to STRM refer to STRM, STRM Log Manager, and STRM Network Anomaly Detection.

Unless otherwise noted, all references to STRM refer to STRM, STRM Log Manager, and STRM Network Anomaly Detection. TECHNICAL NOTE FORWARDING LOGS USING TAIL2SYSLOG MARCH 2013 The Tail2Syslog support script provides a method for monitoring and forwarding events to STRM using syslog for real-time correlation. Tail2Syslog

More information

UNIX, Shell Scripting and Perl Introduction

UNIX, Shell Scripting and Perl Introduction UNIX, Shell Scripting and Perl Introduction Bart Zeydel 2003 Some useful commands grep searches files for a string. Useful for looking for errors in CAD tool output files. Usage: grep error * (looks for

More information

AN INTRODUCTION TO UNIX

AN INTRODUCTION TO UNIX AN INTRODUCTION TO UNIX Paul Johnson School of Mathematics September 24, 2010 OUTLINE 1 SHELL SCRIPTS Shells 2 COMMAND LINE Command Line Input/Output 3 JOBS Processes Job Control 4 NETWORKING Working From

More information

Basic C Shell. helpdesk@stat.rice.edu. 11th August 2003

Basic C Shell. helpdesk@stat.rice.edu. 11th August 2003 Basic C Shell helpdesk@stat.rice.edu 11th August 2003 This is a very brief guide to how to use cshell to speed up your use of Unix commands. Googling C Shell Tutorial can lead you to more detailed information.

More information

CD-HIT User s Guide. Last updated: April 5, 2010. http://cd-hit.org http://bioinformatics.org/cd-hit/

CD-HIT User s Guide. Last updated: April 5, 2010. http://cd-hit.org http://bioinformatics.org/cd-hit/ CD-HIT User s Guide Last updated: April 5, 2010 http://cd-hit.org http://bioinformatics.org/cd-hit/ Program developed by Weizhong Li s lab at UCSD http://weizhong-lab.ucsd.edu liwz@sdsc.edu 1. Introduction

More information

Python Lists and Loops

Python Lists and Loops WEEK THREE Python Lists and Loops You ve made it to Week 3, well done! Most programs need to keep track of a list (or collection) of things (e.g. names) at one time or another, and this week we ll show

More information

Hands-On UNIX Exercise:

Hands-On UNIX Exercise: Hands-On UNIX Exercise: This exercise takes you around some of the features of the shell. Even if you don't need to use them all straight away, it's very useful to be aware of them and to know how to deal

More information

Linux Crontab: 15 Awesome Cron Job Examples

Linux Crontab: 15 Awesome Cron Job Examples Linux Crontab: 15 Awesome Cron Job Examples < An experienced Linux sysadmin knows the importance of running the routine maintenance jobs in the background automatically. Linux Cron utility is an effective

More information

Regular Expressions and Pattern Matching james.wasmuth@ed.ac.uk

Regular Expressions and Pattern Matching james.wasmuth@ed.ac.uk Regular Expressions and Pattern Matching james.wasmuth@ed.ac.uk Regular Expression (regex): a separate language, allowing the construction of patterns. used in most programming languages. very powerful

More information

AMATH 352 Lecture 3 MATLAB Tutorial Starting MATLAB Entering Variables

AMATH 352 Lecture 3 MATLAB Tutorial Starting MATLAB Entering Variables AMATH 352 Lecture 3 MATLAB Tutorial MATLAB (short for MATrix LABoratory) is a very useful piece of software for numerical analysis. It provides an environment for computation and the visualization. Learning

More information

How to Create and Send a Froogle Data Feed

How to Create and Send a Froogle Data Feed How to Create and Send a Froogle Data Feed Welcome to Froogle! The quickest way to get your products on Froogle is to send a data feed. A data feed is a file that contains a listing of your products. Froogle

More information

Learn Perl by Example - Perl Handbook for Beginners - Basics of Perl Scripting Language

Learn Perl by Example - Perl Handbook for Beginners - Basics of Perl Scripting Language Learn Perl by Example - Perl Handbook for Beginners - Basics of Perl Scripting Language www.freebsdonline.com Copyright 2006-2008 www.freebsdonline.com 2008/01/29 This course is about Perl Programming

More information

Introduction to Python

Introduction to Python Introduction to Python Sophia Bethany Coban Problem Solving By Computer March 26, 2014 Introduction to Python Python is a general-purpose, high-level programming language. It offers readable codes, and

More information

Exercise 1: Python Language Basics

Exercise 1: Python Language Basics Exercise 1: Python Language Basics In this exercise we will cover the basic principles of the Python language. All languages have a standard set of functionality including the ability to comment code,

More information

Linux Syslog Messages in IBM Director

Linux Syslog Messages in IBM Director Ever want those pesky little Linux syslog messages (/var/log/messages) to forward to IBM Director? Well, it s not built in, but it s pretty easy to setup. You can forward syslog messages from an IBM Director

More information

Data formats and file conversions

Data formats and file conversions Building Excellence in Genomics and Computational Bioscience s Richard Leggett (TGAC) John Walshaw (IFR) Common file formats FASTQ FASTA BAM SAM Raw sequence Alignments MSF EMBL UniProt BED WIG Databases

More information

On Generation of Firewall Log Status Reporter (SRr) Using Perl

On Generation of Firewall Log Status Reporter (SRr) Using Perl On Generation of Firewall Log Status Reporter (SRr) Using Perl Sugam Sharma 1, Hari Cohly 2, and Tzusheng Pei 2 1 Department of Computer Science, Iowa State University, USA sugam.k.sharma@gmail.com 2 Center

More information

Administration Guide. BlackBerry Resource Kit for BES12. Version 12.3

Administration Guide. BlackBerry Resource Kit for BES12. Version 12.3 Administration Guide BlackBerry Resource Kit for BES12 Version 12.3 Published: 2015-10-30 SWD-20151022151109848 Contents Compatibility with other releases...4 BES12 Log Monitoring Tool... 5 Specifying

More information

Data Tool Platform SQL Development Tools

Data Tool Platform SQL Development Tools Data Tool Platform SQL Development Tools ekapner Contents Setting SQL Development Preferences...5 Execution Plan View Options Preferences...5 General Preferences...5 Label Decorations Preferences...6

More information

Using Servicelog. Servicelog is a database intended to store log entries relevant to system serviceability, such as:

Using Servicelog. Servicelog is a database intended to store log entries relevant to system serviceability, such as: Using Servicelog last modified: 23 April 2007 author: Michael Strosaker Servicelog is a database intended to store log entries relevant to system serviceability, such as: indications

More information

Part-time Diploma in InfoComm and Digital Media (Information Systems) Certificate in Information Systems Course Schedule & Timetable

Part-time Diploma in InfoComm and Digital Media (Information Systems) Certificate in Information Systems Course Schedule & Timetable Certificate in Information Systems Course Schedule & Timetable Module Code Module Title Start Date End Date Coursework Final Exam PTDIS010101 Management Information Tue, April 16, 2013 Tue, 2 April 2013

More information

CS 241 Data Organization Coding Standards

CS 241 Data Organization Coding Standards CS 241 Data Organization Coding Standards Brooke Chenoweth University of New Mexico Spring 2016 CS-241 Coding Standards All projects and labs must follow the great and hallowed CS-241 coding standards.

More information

A Simple Shopping Cart using CGI

A Simple Shopping Cart using CGI A Simple Shopping Cart using CGI Professor Don Colton, BYU Hawaii March 5, 2004 In this section of the course, we learn to use CGI and Perl to create a simple web-based shopping cart program. We assume

More information

Programming Languages CIS 443

Programming Languages CIS 443 Course Objectives Programming Languages CIS 443 0.1 Lexical analysis Syntax Semantics Functional programming Variable lifetime and scoping Parameter passing Object-oriented programming Continuations Exception

More information

IVR (Interactive Voice Response) Operation Manual. Copyright 2012 Agile Networks, Inc. All Rights Reserved.

IVR (Interactive Voice Response) Operation Manual. Copyright 2012 Agile Networks, Inc. All Rights Reserved. IVR (Interactive Voice Response) Operation Manual Copyright 2012 Agile Networks, Inc. All Rights Reserved. Table of Contents ddw Settings (Setting User Information) An Agile Cloud PBX Option feature. This

More information

2015 2016 Training. 2015 Assessments. 2016 Assessments NAEP Assessments (selected sample)

2015 2016 Training. 2015 Assessments. 2016 Assessments NAEP Assessments (selected sample) Jan 11 (Mon) ESC training for the 2016 state assessment program Jan 29 (Fri) Completion date for training of district testing coordinators by ESCs Test Date(s) TAKS Oct 19 (Mon) Oct 20 (Tues) Oct 21 (Wed)

More information

CISC 181 Project 3 Designing Classes for Bank Accounts

CISC 181 Project 3 Designing Classes for Bank Accounts CISC 181 Project 3 Designing Classes for Bank Accounts Code Due: On or before 12 Midnight, Monday, Dec 8; hardcopy due at beginning of lecture, Tues, Dec 9 What You Need to Know This project is based on

More information

JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved.

JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved. 1 6 JavaScript: Introduction to Scripting 2 Comment is free, but facts are sacred. C. P. Scott The creditor hath a better memory than the debtor. James Howell When faced with a decision, I always ask,

More information

2015 2016 STUDENT ASSESSMENT TESTING CALENDAR

2015 2016 STUDENT ASSESSMENT TESTING CALENDAR Jan (date TBD) ESC training for the 2016 state assessment program Jan (date TBD) Completion date for training of district testing coordinators by ESCs Test Date(s) TAKS Oct 19 (Mon) Oct 20 (Tues) Oct 21

More information

Lab III: Unix File Recovery Data Unit Level

Lab III: Unix File Recovery Data Unit Level New Mexico Tech Digital Forensics Fall 2006 Lab III: Unix File Recovery Data Unit Level Objectives - Review of unallocated space and extracting with dls - Interpret the file system information from the

More information

ESPResSo Summer School 2012

ESPResSo Summer School 2012 ESPResSo Summer School 2012 Introduction to Tcl Pedro A. Sánchez Institute for Computational Physics Allmandring 3 D-70569 Stuttgart Germany http://www.icp.uni-stuttgart.de 2/26 Outline History, Characteristics,

More information

VIP Quick Reference Card

VIP Quick Reference Card VIP Quick Reference Card Loading VIP (Based on VIP 3.5 in GNU Emacs 18) Just type M-x vip-mode followed by RET VIP Modes VIP has three modes: emacs mode, vi mode and insert mode. Mode line tells you which

More information

SRA File Formats Guide

SRA File Formats Guide SRA File Formats Guide Version 1.1 10 Mar 2010 National Center for Biotechnology Information National Library of Medicine EMBL European Bioinformatics Institute DNA Databank of Japan 1 Contents SRA File

More information

Maintaining the Central Management System Database

Maintaining the Central Management System Database CHAPTER 12 Maintaining the Central Management System Database This chapter describes how to maintain the Central Management System (CMS) database using CLI commands as well as using the Content Distribution

More information

NewsletterAdmin 2.4 Setup Manual

NewsletterAdmin 2.4 Setup Manual NewsletterAdmin 2.4 Setup Manual Updated: 7/22/2011 Contact: corpinteractiveservices@crain.com Contents Overview... 2 What's New in NewsletterAdmin 2.4... 2 Before You Begin... 2 Testing and Production...

More information

NLP Programming Tutorial 0 - Programming Basics

NLP Programming Tutorial 0 - Programming Basics NLP Programming Tutorial 0 - Programming Basics Graham Neubig Nara Institute of Science and Technology (NAIST) 1 About this Tutorial 14 parts, starting from easier topics Each time: During the tutorial:

More information

10.1 The Common Gateway Interface

10.1 The Common Gateway Interface 10.1 The Common Gateway Interface - Markup languages cannot be used to specify computations, interactions with users, or to provide access to databases - CGI is a common way to provide for these needs,

More information

Top 72 Perl Interview Questions and Answers

Top 72 Perl Interview Questions and Answers Top 72 Perl Interview Questions and Answers 1. Difference between the variables in which chomp function work? Scalar: It is denoted by $ symbol. Variable can be a number or a string. Array: Denoted by

More information

Xerox Standard Accounting Import/Export User Information Customer Tip

Xerox Standard Accounting Import/Export User Information Customer Tip Xerox Standard Accounting Import/Export User Information Customer Tip July 23, 2012 Overview Xerox Standard Accounting (XSA) software is a standard feature that resides locally on the device. It provides

More information

PL / SQL Basics. Chapter 3

PL / SQL Basics. Chapter 3 PL / SQL Basics Chapter 3 PL / SQL Basics PL / SQL block Lexical units Variable declarations PL / SQL types Expressions and operators PL / SQL control structures PL / SQL style guide 2 PL / SQL Block Basic

More information

Lab 2 : Basic File Server. Introduction

Lab 2 : Basic File Server. Introduction Lab 2 : Basic File Server Introduction In this lab, you will start your file system implementation by getting the following FUSE operations to work: CREATE/MKNOD, LOOKUP, and READDIR SETATTR, WRITE and

More information

Advanced Bash Scripting. Joshua Malone (jmalone@ubergeeks.com)

Advanced Bash Scripting. Joshua Malone (jmalone@ubergeeks.com) Advanced Bash Scripting Joshua Malone (jmalone@ubergeeks.com) Why script in bash? You re probably already using it Great at managing external programs Powerful scripting language Portable and version-stable

More information

Windows PowerShell Essentials

Windows PowerShell Essentials Windows PowerShell Essentials Windows PowerShell Essentials Edition 1.0. This ebook is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited. All rights

More information

Unix Sampler. PEOPLE whoami id who

Unix Sampler. PEOPLE whoami id who Unix Sampler PEOPLE whoami id who finger username hostname grep pattern /etc/passwd Learn about yourself. See who is logged on Find out about the person who has an account called username on this host

More information

Introduction to Java Applications. 2005 Pearson Education, Inc. All rights reserved.

Introduction to Java Applications. 2005 Pearson Education, Inc. All rights reserved. 1 2 Introduction to Java Applications 2.2 First Program in Java: Printing a Line of Text 2 Application Executes when you use the java command to launch the Java Virtual Machine (JVM) Sample program Displays

More information

Unix Scripts and Job Scheduling

Unix Scripts and Job Scheduling Unix Scripts and Job Scheduling Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh spring@imap.pitt.edu http://www.sis.pitt.edu/~spring Overview Shell Scripts

More information

Setting Up Database Security with Access 97

Setting Up Database Security with Access 97 Setting Up Database Security with Access 97 The most flexible and extensive method of securing a database is called user-level security. This form of security is similar to methods used in most network

More information

PharmaSUG2011 - Paper AD11

PharmaSUG2011 - Paper AD11 PharmaSUG2011 - Paper AD11 Let the system do the work! Automate your SAS code execution on UNIX and Windows platforms Niraj J. Pandya, Element Technologies Inc., NJ Vinodh Paida, Impressive Systems Inc.,

More information

FirstClass Export Tool User and Administration Guide

FirstClass Export Tool User and Administration Guide FirstClass Export Tool User and Administration Guide Werner de Jong Senior Business Product Manager Email: wdejong@opentext.com Mobile: +44 7789 691288 Twitter: @wernerdejong July 2011 (last update March

More information

Moving from CS 61A Scheme to CS 61B Java

Moving from CS 61A Scheme to CS 61B Java Moving from CS 61A Scheme to CS 61B Java Introduction Java is an object-oriented language. This document describes some of the differences between object-oriented programming in Scheme (which we hope you

More information

PHP Tutorial From beginner to master

PHP Tutorial From beginner to master PHP Tutorial From beginner to master PHP is a powerful tool for making dynamic and interactive Web pages. PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.

More information

2015 Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation

2015 Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation Advanced Topics in Licensing 2015 Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation Page 1 of 30 Table of Contents Introduction 3 Licensing Software 3 Installing the license

More information

Version 5.0 Release Notes

Version 5.0 Release Notes Version 5.0 Release Notes 2011 Gene Codes Corporation Gene Codes Corporation 775 Technology Drive, Ann Arbor, MI 48108 USA 1.800.497.4939 (USA) +1.734.769.7249 (elsewhere) +1.734.769.7074 (fax) www.genecodes.com

More information

Hands-on Exercise 1: VBA Coding Basics

Hands-on Exercise 1: VBA Coding Basics Hands-on Exercise 1: VBA Coding Basics This exercise introduces the basics of coding in Access VBA. The concepts you will practise in this exercise are essential for successfully completing subsequent

More information

VMG ONLINE TRAINING SCHEDULE WINTER 2016

VMG ONLINE TRAINING SCHEDULE WINTER 2016 Volunteer Management Certificate WEDNESDAYS Date Day Time (EDT) Volunteer Program Management Jan. 27 Wed. 7:00 pm - 9:00 pm Leadership, Management & HR Feb. 3 Wed. 7:00 pm - 9:00 pm Effective Communications

More information

PYTHON Basics http://hetland.org/writing/instant-hacking.html

PYTHON Basics http://hetland.org/writing/instant-hacking.html CWCS Workshop May 2009 PYTHON Basics http://hetland.org/writing/instant-hacking.html Python is an easy to learn, modern, interpreted, object-oriented programming language. It was designed to be as simple

More information

Introduction to Perl Programming: Summary of exercises

Introduction to Perl Programming: Summary of exercises Introduction to Perl Programming: Summary of exercises Thaddeus Aid Christopher Yau Sebastian Kelm Department of Statistics University of Oxford for the Oxford University IT Services April 17, 2013 2 A

More information

Apply PERL to BioInformatics (II)

Apply PERL to BioInformatics (II) Apply PERL to BioInformatics (II) Lecture Note for Computational Biology 1 (LSM 5191) Jiren Wang http://www.bii.a-star.edu.sg/~jiren BioInformatics Institute Singapore Outline Some examples for manipulating

More information

Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.

Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program. Name: Class: Date: Exam #1 - Prep True/False Indicate whether the statement is true or false. 1. Programming is the process of writing a computer program in a language that the computer can respond to

More information

Documentum Developer Program

Documentum Developer Program Program Enabling Logging in DFC Applications Using the com.documentum.fc.common.dflogger class April 2003 Program 1/5 The Documentum DFC class, DfLogger is available with DFC 5.1 or higher and can only

More information

Optimizing Help Desk Size

Optimizing Help Desk Size Optimizing Help Desk Size John Sauter December 20, 2009 Abstract Any large organization that uses personal computers needs a help desk to help users deal with computer problems. There is an optimum staffing

More information

Network Planning and Analysis

Network Planning and Analysis 46 Network Planning and Analysis 1. Objective: What can you tell me about the project? When will the project finish? How long will the project take (project total duration)? 2. Why is this topic Important

More information

MORPHEUS. http://biodev.cea.fr/morpheus/ Prediction of Transcription Factors Binding Sites based on Position Weight Matrix.

MORPHEUS. http://biodev.cea.fr/morpheus/ Prediction of Transcription Factors Binding Sites based on Position Weight Matrix. MORPHEUS http://biodev.cea.fr/morpheus/ Prediction of Transcription Factors Binding Sites based on Position Weight Matrix. Reference: MORPHEUS, a Webtool for Transcripton Factor Binding Analysis Using

More information

Exercise 4 Learning Python language fundamentals

Exercise 4 Learning Python language fundamentals Exercise 4 Learning Python language fundamentals Work with numbers Python can be used as a powerful calculator. Practicing math calculations in Python will help you not only perform these tasks, but also

More information

Preparing your data for analysis using SAS. Landon Sego 24 April 2003 Department of Statistics UW-Madison

Preparing your data for analysis using SAS. Landon Sego 24 April 2003 Department of Statistics UW-Madison Preparing your data for analysis using SAS Landon Sego 24 April 2003 Department of Statistics UW-Madison Assumptions That you have used SAS at least a few times. It doesn t matter whether you run SAS in

More information

Bash shell programming Part II Control statements

Bash shell programming Part II Control statements Bash shell programming Part II Control statements Deniz Savas and Michael Griffiths 2005-2011 Corporate Information and Computing Services The University of Sheffield Email M.Griffiths@sheffield.ac.uk

More information

Setting up Auto Import/Export for Version 7

Setting up Auto Import/Export for Version 7 Setting up Auto Import/Export for Version 7 The export feature button is available in the program Maintain Area of the software and is conveniently located in the grid toolbar. This operation allows the

More information

Administration Guide. BlackBerry Resource Kit for BES12. Version 12.1

Administration Guide. BlackBerry Resource Kit for BES12. Version 12.1 Administration Guide BlackBerry Resource Kit for BES12 Version 12.1 Published: 2015-03-26 SWD-20150326090858999 Contents Introduction... 4 What is BES12?...4 Key features of BES12... 4 What is the BlackBerry

More information

1 Description of The Simpletron

1 Description of The Simpletron Simulating The Simpletron Computer 50 points 1 Description of The Simpletron In this assignment you will write a program to simulate a fictional computer that we will call the Simpletron. As its name implies

More information

Appendix K Introduction to Microsoft Visual C++ 6.0

Appendix K Introduction to Microsoft Visual C++ 6.0 Appendix K Introduction to Microsoft Visual C++ 6.0 This appendix serves as a quick reference for performing the following operations using the Microsoft Visual C++ integrated development environment (IDE):

More information

Creating Charts and Graphs

Creating Charts and Graphs Creating Charts and Graphs Title: Creating Charts and Graphs Version: 1. First edition: December 24 First English edition: December 24 Contents Overview...ii Copyright and trademark information...ii Feedback...ii

More information

SAS Hints. data _null_; infile testit pad missover lrecl=3; input answer $3.; put answer=; run; May 30, 2008

SAS Hints. data _null_; infile testit pad missover lrecl=3; input answer $3.; put answer=; run; May 30, 2008 SAS Hints Delete tempary files Determine if a file exists Direct output to different directy Errs (specify # of errs f SAS to put into log) Execute Unix command from SAS Generate delimited file with no

More information

Regular Expressions. In This Appendix

Regular Expressions. In This Appendix A Expressions In This Appendix Characters................... 888 Delimiters................... 888 Simple Strings................ 888 Special Characters............ 888 Rules....................... 891

More information

SendMIME Pro Installation & Users Guide

SendMIME Pro Installation & Users Guide www.sendmime.com SendMIME Pro Installation & Users Guide Copyright 2002 SendMIME Software, All Rights Reserved. 6 Greer Street, Stittsville, Ontario Canada K2S 1H8 Phone: 613-831-4023 System Requirements

More information

ASCII Encoding. The char Type. Manipulating Characters. Manipulating Characters

ASCII Encoding. The char Type. Manipulating Characters. Manipulating Characters The char Type ASCII Encoding The C char type stores small integers. It is usually 8 bits. char variables guaranteed to be able to hold integers 0.. +127. char variables mostly used to store characters

More information

For People With Diabetes. Blood Sugar Diary

For People With Diabetes. Blood Sugar Diary For People With Diabetes Blood Sugar Diary A Circle of Help to Live a Healthy Life You are the center of a healthy life with diabetes. All the elements of good care begin and end with you. The Importance

More information

Command Line Interface User Guide for Intel Server Management Software

Command Line Interface User Guide for Intel Server Management Software Command Line Interface User Guide for Intel Server Management Software Legal Information Information in this document is provided in connection with Intel products. No license, express or implied, by estoppel

More information

10 Database Utilities

10 Database Utilities Database Utilities 10 1 10 Database Utilities 10.1 Overview of the Exporter Software PRELIMINARY NOTE: The Exporter software, catalog Item 709, is optional software which you may order should you need

More information

Thirty Useful Unix Commands

Thirty Useful Unix Commands Leaflet U5 Thirty Useful Unix Commands Last revised April 1997 This leaflet contains basic information on thirty of the most frequently used Unix Commands. It is intended for Unix beginners who need a

More information

Resources You can find more resources for Sync & Save at our support site: http://www.doforms.com/support.

Resources You can find more resources for Sync & Save at our support site: http://www.doforms.com/support. Sync & Save Introduction Sync & Save allows you to connect the DoForms service (www.doforms.com) with your accounting or management software. If your system can import a comma delimited, tab delimited

More information

UTILITIES BACKUP. Figure 25-1 Backup & Reindex utilities on the Main Menu

UTILITIES BACKUP. Figure 25-1 Backup & Reindex utilities on the Main Menu 25 UTILITIES PastPerfect provides a variety of utilities to help you manage your data. Two of the most important are accessed from the Main Menu Backup and Reindex. The other utilities are located within

More information

Retrieving Data Using the SQL SELECT Statement. Copyright 2006, Oracle. All rights reserved.

Retrieving Data Using the SQL SELECT Statement. Copyright 2006, Oracle. All rights reserved. Retrieving Data Using the SQL SELECT Statement Objectives After completing this lesson, you should be able to do the following: List the capabilities of SQL SELECT statements Execute a basic SELECT statement

More information

CHAPTER 7. E-Mailing with CGI

CHAPTER 7. E-Mailing with CGI CHAPTER 7 E-Mailing with CGI OVERVIEW One of the most important tasks of any CGI program is ultimately to let someone know that something has happened. The most convenient way for users is to have this

More information

Computational Mathematics with Python

Computational Mathematics with Python Boolean Arrays Classes Computational Mathematics with Python Basics Olivier Verdier and Claus Führer 2009-03-24 Olivier Verdier and Claus Führer Computational Mathematics with Python 2009-03-24 1 / 40

More information

PHP Authentication Schemes

PHP Authentication Schemes 7 PHP Authentication Schemes IN THIS CHAPTER Overview Generating Passwords Authenticating User Against Text Files Authenticating Users by IP Address Authenticating Users Using HTTP Authentication Authenticating

More information

Microsoft Access 2010

Microsoft Access 2010 IT Training Microsoft Access 2010 Jane Barrett, IT Training & Engagement Team Information System Services Version 3.0 Scope Learning outcomes Learn how to navigate around Access. Learn how to design and

More information

Pharmacy Affairs Branch. Website Database Downloads PUBLIC ACCESS GUIDE

Pharmacy Affairs Branch. Website Database Downloads PUBLIC ACCESS GUIDE Pharmacy Affairs Branch Website Database Downloads PUBLIC ACCESS GUIDE From this site, you may download entity data, contracted pharmacy data or manufacturer data. The steps to download any of the three

More information

Elixir Schedule Designer User Manual

Elixir Schedule Designer User Manual Elixir Schedule Designer User Manual Release 7.3 Elixir Technology Pte Ltd Elixir Schedule Designer User Manual: Release 7.3 Elixir Technology Pte Ltd Published 2008 Copyright 2008 Elixir Technology Pte

More information

USEFUL UNIX COMMANDS

USEFUL UNIX COMMANDS cancel cat file USEFUL UNIX COMMANDS cancel print requested with lp Display the file cat file1 file2 > files Combine file1 and file2 into files cat file1 >> file2 chgrp [options] newgroup files Append

More information

TCP/IP Networking, Part 2: Web-Based Control

TCP/IP Networking, Part 2: Web-Based Control TCP/IP Networking, Part 2: Web-Based Control Microchip TCP/IP Stack HTTP2 Module 2007 Microchip Technology Incorporated. All Rights Reserved. Building Embedded Web Applications Slide 1 Welcome to the next

More information