Command line and batch files Molekular Phylogenetics Practical

Similar documents
Lab - Common Windows CLI Commands

USING THE OOSIML/JAVA COMPILER. With the Command Window

C:\> command prompt DOS prompt cursor

1 of 5 17/06/2013 9:10 AM

Addoro for Axapta 2009

Upgrade EZ-Pay V6 Guide

Software Installation for CS121

Estuary Model MatLab Compiler Runtime for PCs

USING THE OOSIML/JAVA. With a Terminal Window

Disk Operating System

DualSPHysics Interface Documentation

Command-driven, event-driven, and web-based software

Gradle and Command Line Workshop Activity

1. Go to the URL Click on JDK download option

The Command Shell. Fundamentals of Computer Science

PostMaster Enterprise v8.xx Setup Guide Windows

In order to support developers, there needs to be a number of tools available which may be involved in the ultimate solution.

COMP 110/401 WINDOWS COMMAND INTERPRETER. Instructor: Prasun Dewan (FB 150,

EventLog Monitor Tool Setup

Downloading and Running TF32J Time-frequency Analysis for Java. Paul Milenkovic Department of Electrical and Computer Engineering

HELP Use the help command to list all the following supported commands:

Genomic Island Hunter (GIHunter)

Chapter 4 Java Language Fundamentals

Axel Menu. Publishing Applications and Securing the Desktop for Windows TSE. November Ref.: AxMenuE-11

Dashboard Installations & Troubleshooting Guide

Don t jump ahead, there is more you need to do first in order for this to work properly.

These will serve as a basic guideline for read prep. This assumes you have demultiplexed Illumina data.

GET TO KNOW YOUR COMMAND PROMPT

1 - Download the VarAFT software. Go to click on the Download section

Getting Started with Command Prompts

Instructions. First, download the file

Internal Commands COPY and TYPE

About Boxoft All to AMR Converter

Input Validation For Free Text Fields

ArgoUML Quick Guide. Get started with ArgoUML Kunle Odutola Anthony Oguntimehin Linus Tolke Michiel van der Wulp

Moose for Java Enterprise Application

Worldox and Microsoft Office 2013 Integration

Description of the Windows XP Recovery Console for advanced users

Installing Lemur on Mac OS X and CSE Systems

Degenio. MouliForms. Migration Oracle forms 6-10g

HP Point of Sale (POS) Peripherals Configuration Guide Barcode Scanner

Release Date April 9, Adeptia Inc. 443 North Clark Ave, Suite 350 Chicago, IL 60654, USA

Automate Secure Transfers with SAS and PSFTP

The QuickCalc BASIC User Interface

Department of Computer Science. Software Usage Guide. CSC132 Programming Principles 2. By Andreas Grondoudis

MATLAB The first steps. Edited by Péter Vass

Tutorial 2: Compiling and Running C++ Source Code

Chapter 2: Operating-System Structures. Operating System Concepts 9 th Edit9on

Logging on to the Hadoop Cluster Nodes. To login to the Hadoop cluster in ROGER, a user needs to login to ROGER first, for example:

Fundamental 2. Lec#04. Shugofa Hassani

NetSim - Batch Automation

Lecture 2 DOS & Windows file commands by: lecturer Raya N.Ismail

WA2031 WebSphere Application Server 8.0 Administration on Windows. Student Labs. Web Age Solutions Inc. Copyright 2012 Web Age Solutions Inc.

Deployment Manual. SAP J2EE Engine 6.20

User Manual. Contents. Conrad Koppitz August 18, I Client 1. II Server 5. 1 Requirements 2

BladeLogic Command Line Interface (BLCLI)

Introduction to Linux. Fundamentals of Computer Science

Stat Server Deployment Guide. Java Sections

Introduction to GDAL/OGR

Addoro Local 3.0. Installation and Configuration

1. The Apache Derby database

Programming Principles 1 (CSC131) & 2 (CSC132) Software usage guide

JReport Enterprise Viewer for JREntServer Manual

JD Edwards EnterpriseOne 8.12 (Tools Release 8.96) Standalone Version

Modifying image file contents with Ghost Explorer. This section includes the following topics:

02/03/15. Compile, execute, debugging THE ECLIPSE PLATFORM. Blanks'distribu.on' Ques+ons'with'no'answer' 10" 9" 8" No."of"students"vs."no.

Basic DOS Commands MCQ

Creating Android Apps from Rh10

1. The Apache Derby database

10 Overdue Notices & Reports by Class or Homeroom CCSD Symphony Circulation Manual (08/17) OVERDUE NOTICES

MnCHOICES Assessment 1.0 and Windows 10 troubleshooting

For convenience in typing examples, we can shorten the wordnet name to wn.

NETCONF Client GUI. Client Application Files APPENDIX

Intro to Linux. this will open up a new terminal window for you is super convenient on the computers in the lab

Release Date September 30, Adeptia Inc. 443 North Clark Ave, Suite 350 Chicago, IL 60654, USA

TreeCollapseCL 4 Emma Hodcroft Andrew Leigh Brown Group Institute of Evolutionary Biology University of Edinburgh

HT Remote Management System User Manual

CS370 Operating Systems

Installing DevPartner Java Edition Release 4.1

Central Administration Console Installation and User's Guide

Batch Watermark Creator Software

Installing the Management Software

Installing Fabric Manager

Introduction to Linux Environment. Yun-Wen Chen

Introduction. 1. Deactivating Anti-Executable. 2. Updating the virus definitions. 3. Reactivating Anti-Executable.

PT-X Drive. Installation Guide

Sherlock Tutorial Getting Started

KNIME workflow with the reporting functionality

Supplement B. Creating, Compiling and Running Java Programs from the Command Window

Prepared by Heena Patel(Asst. Prof) Page 1

CSC116: Introduction to Computing - Java

WinFlexOne v6.30 Claims Entry Documentation

Open a command prompt window and change to the directory containing the file just downloaded. Run this command:

CSC 453 Operating Systems

COURSE OUTLINE. Division of Business and Technology NET 239. WAN Data Communications. Credits: 3 Class Hours: 2 Lab Hours: 2

MapXtreme Java Edition Install Guide

Operating Systems. Designed and Presented by Dr. Ayman Elshenawy Elsefy

Chap2: Operating-System Structures

Version S Cincinnati, Suite 105 Tulsa, OK (918) Fax (918)

Computer Principles and Components 1

Transcription:

Command line and batch files Molekular Phylogenetics Practical

2 1.1 The command line Alternative to the graphical user interface (GUI) of an operating system Advantages: Commands can be saved for repeated use One program is able to execute other programs Experienced users can perform some tasks faster than with the GUI Drawbacks: Commands and options have to be known by the user (or displayed in a more time-consuming way than in the GUI)

1.2 Usage 3 An input consists of a command and a list of parameters. Command: Name of an executable file (e.g. winword.exe ) Standard command (e.g. cd for change directory) Parameter list: Separated by spaces Provide further information to the executed application e.g. the name of a file to opened with the application Befehl abgetrennt durch Leerzeichen Parameter

1.3 Working directory 4 The current working directory is displayed in front of the input cursor Files in there can be referenced without the full path The command cd changes the working directory command path relative to the current working directoty ( C:\ ) as the only parameter Changed working directory

1.4 Specifiying paths (1) 5 File locations (as commands or parameters) can be specified in different ways: Application and document are both located in the current working directory (relative paths can be used for both) Application is in the working directory, the document is referenced by a relative path.. means one level upwards

1.4 Specifiying paths (2) 6 Application in the current working directory, document referenced by an absolute path Application referenced by an absolute path, document in the current working directory Since the path to the application contains spaces, is has to be put in quotation marks Otherwise C:\Program would be the command and there would be 4 parameters: Files (x86)\editoren\microsoft Office\Office14\winword.exe Dokument.docx Of course is is always possible to specify application and dokument with absolute paths

1.5 Important commands cd <path> dir del <path> md <name> rd <path> copy <source> <target> Copies a file move <source> <target> Moves a file exit Changes the working directory Lists the contents of the working directory Deletes the specified file (or all files in the specified folder) Creates a new directory Deletes the specified directory Terminates the command line session (The same effect as closing the command line window) 7

1.6 Batch files 8 Expressions for the command line can also be saved in text files Repeated tasks can be saved and do have to retyped every time Files have the extension bat Every line in the file contains one expression (consisting of a command and possible parameters) Example: Sets the working directory to the Documents of the user BenStoever and starts Word To execute a batch file simple type its name into the command line (or double click on it)

2. Java Technologie 9 2.1 Java Virtual Machine Java applications cannot be executed directly They have to be executed by a virtual machine (JVM) The virtual machine is an executable file compiled for the according operating system The java application is contained in a JAR file and can be executed on all operating systems where a virtual machine is available Advantage: Java applications are indendant on the operating system Disatvantage: A JVM has to be installed, Complex calculations in Java code might take longer than in native applications

2.2 Starting a Java application 2. Java Technologie 10 Der command (executable file) is the JVM in this case Its first parameter is always -jar The Java application file (JAR file) is the second parameter Additional parameters that are specified are passed to the application by the JVM Command (JVM) Parameter for the Java application Java application

Titel der Präsentation 11 2.3 Example RandSeq RandSeq is a program to generate equally distributed random DNA and RAN sequences It is written in Java and therefore has to be started via java jar RandSeq expects the following command line parameters: java jar RandSeq.jar <outputfile> <nucleotidecount> <sequencetype> <cytosinerate> <guaninerate> <adeninerate> <sequencetype> can either be dna or -rna The remaining rate for thymine or uracil is calculated from the others