Practical Sessions Metagenomics course
|
|
- Grace Powers
- 6 years ago
- Views:
Transcription
1 Practical Sessions Metagenomics course Aitor Gonzaga, Ana-Belen Martin- Cuadrado, Carolina Mizuno, Inmaculada Garcia-Heredia, Mario López-Pérez, Nikole Kimes, Rohit Ghai
2 Program 9-12 th December Session 1: Introduction to UNIX (Carolina Mizuno and Rohit Ghai) Session 2: Genome assembly and annotation (Mario Lopez-Perez and Aitor Gonzaga) Session 3: Metagenomic reads (Ana-Belen Martin-Cuadrado and Inmaculada Garcia-Heredia) Session 4: Assembling metagenomes (Rohit Ghai and Carolina Mizuno) Session 5: Sampling Cruise
3 Practical Session 1 December 9 th Introduction to UNIX Carolina Mizuno, Rohit Ghai Mario López-Pérez, Aitor Gonzaga, Ana-Belen Martin-Cuadrado, Inmaculada Garcia-Heredia, Nikole Kimes
4 The Third Generation Microbiology Genomics and Metagenomics (1995-) Introduction to UNIX DNA SEQUENCING ANALYSIS BIOLOGICAL MEANING (pure culture, SAG, environmental, enrichments,...) (Illumina, 454, sanger, pacbio, Ion Torrent, ) (assembly, annotation, recruitment, )
5 Computer power SEQUENCING Illumina 15 Gb data 200 million reads Storage Processing Analysis OUR STRUCTURE: Server 1: 48-Cores, 400 GB RAM Server 2: 48-Cores, 256 GB RAM Server 3: 24-Cores, 128 GB RAM Server 4: 16-Cores, 96 GB RAM Storage systems: 3 storage servers (storage capacity of 100 TB)
6 Tools READS CONTIGS? COMPLETE GENOMES
7 Why UNIX? Introduction to UNIX Many of the most useful programs are designed in and for UNIX. What is UNIX? UNIX is an Operating System (OS). The most popular operating system: Windows Unix is a term often used for a class of Operating Systems: Solaris, Linux, Mac OS. Linux is Unix re-coded under an open-source license.
8 What are we going to learn today? Connect to the servers Basic Linux commands to be able to: manage files (copy, move,..) simple data analysis run the programs we will use in the next days For the practical lessons of the following days we will use and reuse these commands many times, so it is important to understand well the concept of today s lessons!
9 Installing programs From the room computer: X:\San_Juan\Curso Metagenomics From the website: Please INSTALL today s programs: -SSH (Secure Shell) -PSPad Important: change language for excel
10 Getting access to the servers Introduction to UNIX
11 Getting access to the servers GROUPS HOST NAME SERVER HERON FLAMINGO User Name: guest Password: 12345
12 Getting access to the servers CONGRATULATIONS! You are connected with the servers
13 Getting access to the servers YOUR DESKTOP SERVER YOUR DESKTOP SERVER DESKTOP
14 Getting access to the servers SSH: Secure Shell - Use a command-line interface (CLI) in a terminal.
15 Basic navigation ENTER ls ENTER data group5 group6 group7 group8 Introduction to UNIX ls: list directory contents options: ls l ls -1 ls lhtr man ls (exit with q)
16 Basic navigation pwd: show current directory pwd /home/guest cd: change directory ls data group5 group6 group7 group8 cd data ls day1 day2 day3 day4 pwd /home/guest/data cd.. ls data group5 group6 group7 group8 cd /home/guest/data/day1
17 Basic navigation *: match anything ls Groups.csv Groups.txt Numbers.txt pch.faa pch.ffn pch.gbk pch.txt ls *.txt Groups.txt Numbers.txt pch.txt ls G* Groups.csv Groups.txt cd /home/guest ls data group5 group6 group7 group8 pwd /home/guest
18 Basic navigation mkdir: make a directory guest@flamingo:~$ ls data group5 group6 group7 group8 guest@flamingo:~$ mkdir EGG guest@flamingo:~$ ls data group5 group6 group7 group8 EGG guest@flamingo:~$ cd EGG guest@flamingo:~/egg$ pwd /home/guest/egg cp: copy files guest@flamingo:~/egg$ cd /home/guest/data/day1 guest@flamingo:~/data/day1$ ls *.txt Groups.txt Numbers.txt pch.txt guest@flamingo:~/data/day1$ cp Groups.txt /home/guest/egg guest@flamingo:~/data/day1$ cd /home/guest/egg guest@flamingo:~/egg$ ls Groups.txt guest@flamingo:~/egg$ cp Groups.txt groups guest@flamingo:~/egg$ ls Groups.txt groups
19 Basic navigation mv: rename a file or move rm: remove a file rmdir: remove a directory guest@flamingo:~/egg$ ls guest@flamingo:~/egg$ mv groups groups.txt guest@flamingo:~/egg$ ls Groups.txt groups.txt guest@flamingo:~/egg$ rm Groups.txt rm: remove regular file `Groups.txt'? guest@flamingo:~/egg$ ls groups.txt guest@flamingo:~/egg$ rm groups.txt rm: remove regular file `groups.txt'? y guest@flamingo:~/egg$ ls guest@flamingo:~/egg$ guest@flamingo:~/egg$ cd.. guest@flamingo:~/$ ls data group5 group6 group7 group8 EGG guest@flamingo:~/$ rmdir EGG guest@flamingo:~/$ ls data group5 group6 group7 group8 y
20 Important tips TIP1: directory=folder TIP2: Do not use spaces in files or folders names. Use - or _ as word separators. TIP3: Do not use special characters (!,,?..). TIP4: You can use tab to complete the file/folder name while using the terminal. TIP5: In Linux, hello is not the same as Hello. TIP6: Files do not need EXTENSION (eg. File.txt ou table.xls). But they are a good way to help in the file organization (and are needed in WINDOWS programs). TIP7: Make sure you are in the right directory (use and abuse of ls and pwd) TIP8: If you want to stop a program, use Ctrl+C
21 Exercise 1 All the data for the practical sessions are in: /home/guest/data/ NEVER WORK INSIDE THE DATA DIRECTORY The data for today s exercises are in: /home/guest/data/day1 Make a folder with yourname (eg. carol) within your group s folder (eg. EGG). Then, copy all files we will use today in that folder. This is an important step that might be repeated in the following days of the practical sessions. From now, you should always work WITHIN your folder! 15 minutes
22 Exercise 1 - result guest@flamingo:~/$ ls data group5 group6 group7 group8 EGG guest@flamingo:~/$ cd EGG guest@flamingo:~/egg$ ls carol rohit mario aitor ana inma nikole guest@flamingo:~/egg$ cd carol guest@flamingo:~/egg/carol$ ls Groups.csv Groups.txt Numbers.txt pch.faa pch.ffn pch.gbk pch.txt
23 Working with files more: show file page by page more Groups.txt group first_name last_name country 1 Blanca Vera-Gargallo Spain 1 Mariane Schmidt Denmark 1 Ricardo Delgado-Santander Spain 1 Steffen Lott Germany 2 Coralis-delM. Rodriguez-Garcia Puerto-Rico 2 Javier Miralles-Lorenzo Spain 2 Lejla Pasic Slovenia 2 Santiago Catala-Garcia Spain 3 Laura Sanguino-Casado France 3 Laura Leite Brazil 3 Mara-F. Cuebas-Irzamy Puerto-Rico 3 Rakel Arrazuria Spain 4 Elena Gomez-Sanz Spain 4 Gerard Muyzer Netherlands 4 Julliane Medeiros Brazil 4 Ylenia Arizaga Spain
24 Working with files group first_name last_name country Blanca Vera-Gargallo Spain 1 Mariane Schmidt Denmark 1 Ricardo Delgado-Santander Spain 1 Steffen Lott Germany 2 Coralis-delM. Rodriguez-Garcia Puerto_Rico 2 Javier Miralles-Lorenzo Spain 2 Lejla Pasic Slovenia 2 Santiago Catala-Garcia Spain 3 Laura Sanguino-Casado France 3 Laura Leite Brazil 3 Mara-F. Cuebas-Irzamy Puerto_Rico 3 Rakel Arrazuria Spain 4 Elena Gomez-Sanz Spain 4 Gerard Muyzer Netherlands 4 Julliane Medeiros Brazil 4 Ylenia Arizaga Spain
25 Working with files wc l: count lines head: show top lines tail: show bottom lines cat: concatenate files. Also show the whole file at once. wc -l Groups.txt 31 Groups.txt head -3 Groups.txt group first_name last_name country 1 Blanca Vera-Gargallo Spain 1 Mariane Schmidt Denmark guest@flamingo:~/egg/carol$ tail -3 Groups.txt 8 Clara Cardoso Netherlands 8 Jose Moya-Cuevas Spain 8 Uljana Hesse South_Africa
26 Making output files Introduction to UNIX In Linux, data output can be put directly to an output file tail -1 Groups.txt 8 Uljana Hesse South_Africa guest@flamingo:~/egg/carol$ tail -1 Groups.txt > tail.txt guest@flamingo:~/egg/carol$ ls *.txt Groups.txt Numbers.txt pch.txt tail.txt guest@flamingo:~/egg/carol$ more tail.txt 8 Uljana Hesse South_Africa guest@flamingo:~/egg/carol$ head -1 Groups.txt group first_name last_name country guest@flamingo:~/egg/carol$ head -1 Groups.txt > tail.txt guest@flamingo:~/egg/carol$ more tail.txt group first_name last_name country guest@flamingo:~/egg/carol$ mv tail.txt header.txt guest@flamingo:~/egg/carol$ ls Groups.txt Numbers.txt pch.txt header.txt guest@flamingo:~/egg/carol$ ls *.txt > alltextfiles guest@flamingo:~/egg/carol$ more alltextfiles Groups.txt Numbers.txt pch.txt header.txt
27 Exercise 2 ls: list directory contents pwd: show current directory cd: change diretory mkdir: make a directory rmdir: remove directory rm: remove files mv: rename or move files cp: copy files man: manual more: show file page by page cat: concatenate files. Also show the whole file at once. head: show top lines tail: show bottom lines wc l: count lines >: redirecting output 20 minutes
28 The search tool: grep grep 7 Groups.txt 7 Allali Imane Morocco 7 Antonio Picazo Spain 7 Lucas Stal Netherlands guest@flamingo:~/egg/carol$ grep -c 7 Groups.txt 3 guest@flamingo:~/egg/carol$ grep antonio Groups.txt guest@flamingo:~/egg/carol$ guest@flamingo:~/egg/carol$ grep Antonio Groups.txt 6 Rafael-Antonio Rojas-Herrera Mexico 7 Antonio Picazo Spain guest@flamingo:~/egg/carol$ grep -i antonio Groups.txt 6 Rafael-Antonio Rojas-Herrera Mexico 7 Antonio Picazo Spain guest@flamingo:~/egg/carol$ grep i -c antonio Groups.txt 2 guest@flamingo:~/egg/carol$ grep 7 Groups.txt > group7.txt guest@flamingo:~/egg/carol$ grep 8 Groups.txt > group8.txt guest@flamingo:~/egg/carol$ cat group8.txt group7.txt > g8-7.txt
29 Cutting columns cut -f: cut a column (tab delimited by deafault) guest@flamingo:~/egg/carol$ more g8-7.txt 8 Clara Cardoso Netherlands 8 Jose Moya-Cuevas Spain 8 Uljana Hesse South_Africa 7 Allali Imane Morocco 7 Antonio Picazo Spain 7 Lucas Stal Netherlands guest@flamingo:~/egg/carol$ cut f2 g8-7.txt Clara Jose Uljana Allali Antonio Lucas guest@flamingo:~/egg/carol$ cut f2,4 g8-7.txt Clara Netherlands Jose Spain Uljana South_Africa Allali Morocco Antonio Spain Lucas Netherlands Introduction to UNIX
30 Sorting sort: sort data more g8-7.txt 8 Clara Cardoso Netherlands 8 Jose Moya-Cuevas Spain 8 Uljana Hesse South_Africa 7 Allali Imane Morocco 7 Antonio Picazo Spain 7 Lucas Stal Netherlands guest@flamingo:~/egg/carol$ sort g8-7.txt 7 Allali Imane Morocco 7 Antonio Picazo Spain 7 Lucas Stal Netherlands 8 Clara Cardoso Netherlands 8 Jose Moya-Cuevas Spain 8 Uljana Hesse South_Africa guest@flamingo:~/egg/carol$ sort k4 g8-7.txt 7 Allali Imane Morocco 7 Lucas Stal Netherlands 8 Clara Cardoso Netherlands 8 Uljana Hesse South_Africa 7 Antonio Picazo Spain 8 Jose Moya-Cuevas Spain
31 Sorting sort: sort data cut f4 g8-7.txt > country_g8-7.txt more country_g8-7.txt Netherlands Spain South_Africa Morocco Spain Netherlands sort country_g8-7.txt > sortedcountry_g8-7.txt more sortedcountry_g8-7.txt Morocco Netherlands Netherlands South_Africa Spain Spain
32 The uniq command uniq: remove duplicates more sortedcountry_g8-7.txt Morocco Netherlands Netherlands South_Africa Spain Spain uniq sortedcountry_g8-7.txt Morocco Netherlands South_Africa Spain uniq c sortedcountry_g8-7.txt 1 Morocco 2 Netherlands 1 South_Africa 2 Spain 6 total
33 Using Linux Pipes cut -f: cut column (tab delimited by default) sort: sort data uniq: remove duplicates Introduction to UNIX cut f4 g8-7.txt > country_g8-7.txt sort country_g8-7.txt > sortedcountry_g8-7.txt uniq c sortedcountry_g8-7.txt > countofcountry_g7-8.txt guest@flamingo:~/egg/carol$ more countofcountry_g8-7.txt 1 Morocco 2 Netherlands 1 South_Africa 2 Spain 6 total guest@flamingo:~/egg/carol$ cat g8-7.txt cut f4 sort uniq -c 1 Morocco 2 Netherlands 1 South_Africa 2 Spain 6 total
34 Using Linux Pipes cat Groups.txt grep 7 7 Allali Imane Morocco 7 Antonio Picazo Spain 7 Lucas Stal Netherlands guest@flamingo:~/egg/carol$ cat Groups.txt grep 7 grep Spain 7 Antonio Picazo Spain guest@flamingo:~/egg/carol$ cat Groups.txt grep 7 grep -v Spain 7 Allali Imane Morocco 7 Lucas Stal Netherlands guest@flamingo:~/egg/carol$ cat Groups.txt grep 7 grep v Spain cut f4 Morocco Netherlands guest@flamingo:~/egg/carol$ cat Groups.txt grep 7 grep Spain cut f2 Antonio
35 Using Linux Pipes cat Groups.txt cut -f4 grep -v "country" sort uniq c 2 Brazil 1 Denmark 2 France 1 Germany 1 Mexico 1 Morocco 4 Netherlands 4 Puerto_Rico 1 Scotland 1 Slovenia 1 South_Africa 11 Spain guest@flamingo:~/egg/carol$ cat Groups.txt cut -f4 grep -v "country" sort uniq c sort nrk1 head Spain 4 Puerto_Rico 4 Netherlands 2 France 2 Brazil
36 Working with fasta files Introduction to UNIX >name ATATCGCTGCATGATGGACCCTATGATAAAGGTAGTAGTAGATGAT GAGGTAGTAGTAGATGAGGTAGTAGTAGATGCATGATGGACCCTTA more single.fasta >seq1 ATATCGCTGCATGATGGACCCTATGATAAAGGTAGTAGTAGATGATGAGGTAGTAGTAGATGAGGTAGT AGTAGATGCATGATGGACCCTTA cat multi.fasta >seq1 ATATCGCTGCATGATGGACCCTATGATAAAGGTAGTAGTAGATGATGAGGTAGTAGTAGA >seq2 ATGATGAGGTAGTAGTAGATGATATAGTAGTATATGCATGATGGACCCTTATAGTAGTAG cat multi.fasta grep c > 2 guest@flamingo:~/egg/carol$ cat smallmeta.fasta grep c >
37 Exercise 3 ls, pwd, cd, mkdir, rmdir, rm, mv, cp, man more, cat, head, tail, wc l, > grep: search data cut -f: cut column (tab delimited by default) sort: sort data uniq: remove duplicates : pipe Tables, fasta and genbank files Use the manual to get the information and many options that each of these commands offer: man grep man cut 30 minutes
38 Text editor pico
39 Compressing files/folders zip file gzip file bzip2 file tar cvf folder.tar folder (make folder.tar) gzip folder.tar (make folder.tar.gz) Decompressing files/folders unzip file.zip gunzip file.gz bunzip2 file.bz2 tar xzvf folder.tar.gz
40 Home made programs convertseq: Biological sequence data can be in several different formats, fasta, genbank etc, and sometimes you need a simple method to convert from one to the other. lenseq:provides a simple way to compute lengths of sequences. It can also deal with a number of different biological sequence formats. gcseq: provides a simple way to compute gc content and lengths of sequences. It can also deal with a number of different biological sequence formats. faslice: provides a simple way to extract a few fasta sequences from a file. It works only with fasta files (not with genbank). lenfilter -h gcfilter -h
41 Exercise 4 ls, pwd, cd, mkdir, rmdir, rm, mv, cp, man more, cat, head, tail, wc l, > grep, cut f, sort, uniq convertseq lenseq gcseq faslice lenfilter gcfilter compress and decompress files Use the help whenever is needed: lenseq h lenseq -help Introduction to UNIX
42 We should be able to Connect to the servers Basic Linux commands: cp, mkdir, rmdir, mv cat, more, head, tail, redirect output grep, cut, sort, uniq, pipes compress, decompress files Simple data analysis Run the programs we will use in the next days Introduction to UNIX ASSEMBLY AND ANNOTATION then we are ready for the next session tomorrow!
43 Thank you!
44 Blast formatdb i database.fasta p T database.fasta.phr database.fasta.pin database.fasta.psq guest@flamingo:~/egg/carol$ blastall i single-or-multi.fasta d /databasepath/database.fasta p blastp a 20 o output.blastp m8 e 1e-5
45 Working with fastq 1:N:0:ACTGAT ANGACGCTGTGTGACTCCCCGCTATCAGAACCGGTGTAAGCTACTGCTAAAACACGATG + C#1ADDFFHFHHHIJJJJJJIJJJJJJIJJJJJJFHGIJIJJJGIHIJJJJJJJHHFFF guest@flamingo:~/egg/carol$ more 1:N:0:ACTGAT ANGACGCTGTGTGACTCCCCGCTATCAGAACCGGTGTAAGCTACTGCTAAAACACGATGACATGTGCTG + C#1ADDFFHFHHHIJJJJJJIJJJJJJIJJJJJJFHGIJIJJJGIHIJJJJJJJHHFFFFFEEDEEEED guest@flamingo:~/egg/carol$ more 2:N:0:ACTGAT TTTGTTCAGCGTCGCTTCGAGAATGGCGCGGAGCCAATTCAGTGGATTCAGCTTTTGTTTCCGGCAGGT + CCCFFFFFHHHGHIJJJJJJJJJEIJJJIGI:AEHEICEA?CCHE;?CDA@CCEEEA?CC;>?B@?>B2
Introduction to UNIX command-line
Introduction to UNIX command-line Boyce Thompson Institute March 17, 2015 Lukas Mueller & Noe Fernandez Class Content Terminal file system navigation Wildcards, shortcuts and special characters File permissions
More informationIntroduction to UNIX command-line II
Introduction to UNIX command-line II Boyce Thompson Institute 2017 Prashant Hosmani Class Content Terminal file system navigation Wildcards, shortcuts and special characters File permissions Compression
More informationUsing Linux as a Virtual Machine
Intro to UNIX Using Linux as a Virtual Machine We will use the VMware Player to run a Virtual Machine which is a way of having more than one Operating System (OS) running at once. Your Virtual OS (Linux)
More informationUnix Essentials. BaRC Hot Topics Bioinformatics and Research Computing Whitehead Institute October 12 th
Unix Essentials BaRC Hot Topics Bioinformatics and Research Computing Whitehead Institute October 12 th 2016 http://barc.wi.mit.edu/hot_topics/ 1 Outline Unix overview Logging in to tak Directory structure
More informationComputer Systems and Architecture
Computer Systems and Architecture Introduction to UNIX Stephen Pauwels University of Antwerp October 2, 2015 Outline What is Unix? Getting started Streams Exercises UNIX Operating system Servers, desktops,
More informationThe Unix Shell. Pipes and Filters
The Unix Shell Copyright Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See http://software-carpentry.org/license.html for more information. shell shell pwd
More informationComputer Systems and Architecture
Computer Systems and Architecture Stephen Pauwels Computer Systems Academic Year 2018-2019 Overview of the Semester UNIX Introductie Regular Expressions Scripting Data Representation Integers, Fixed point,
More informationWorking With Unix. Scott A. Handley* September 15, *Adapted from UNIX introduction material created by Dr. Julian Catchen
Working With Unix Scott A. Handley* September 15, 2014 *Adapted from UNIX introduction material created by Dr. Julian Catchen What is UNIX? An operating system (OS) Designed to be multiuser and multitasking
More informationUnix L555. Dept. of Linguistics, Indiana University Fall Unix. Unix. Directories. Files. Useful Commands. Permissions. tar.
L555 Dept. of Linguistics, Indiana University Fall 2010 1 / 21 What is? is an operating system, like DOS or Windows developed in 1969 by Bell Labs works well for single computers as well as for servers
More informationLaboratory 1 Semester 1 11/12
CS2106 National University of Singapore School of Computing Laboratory 1 Semester 1 11/12 MATRICULATION NUMBER: In this lab exercise, you will get familiarize with some basic UNIX commands, editing and
More informationThe Shell. EOAS Software Carpentry Workshop. September 20th, 2016
The Shell EOAS Software Carpentry Workshop September 20th, 2016 Getting Started You need to download some files to follow this lesson. These files are found on the shell lesson website (see etherpad) 1.
More informationCloud Computing and Unix: An Introduction. Dr. Sophie Shaw University of Aberdeen, UK
Cloud Computing and Unix: An Introduction Dr. Sophie Shaw University of Aberdeen, UK s.shaw@abdn.ac.uk Aberdeen London Exeter What We re Going To Do Why Unix? Cloud Computing Connecting to AWS Introduction
More informationCloud Computing and Unix: An Introduction. Dr. Sophie Shaw University of Aberdeen, UK
Cloud Computing and Unix: An Introduction Dr. Sophie Shaw University of Aberdeen, UK s.shaw@abdn.ac.uk Aberdeen London Exeter What We re Going To Do Why Unix? Cloud Computing Connecting to AWS Introduction
More informationVirtual Machine. Linux flavor : Debian. Everything (except slides) preinstalled for you. https://www.virtualbox.org/
Virtual Machine Anyone have problems installing it? VM: Virtual Box - allows you to run a different operating system within the current operating system of your machine. https://www.virtualbox.org/ Linux
More informationDATA 301 Introduction to Data Analytics Command Line. Dr. Ramon Lawrence University of British Columbia Okanagan
DATA 301 Introduction to Data Analytics Command Line Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Why learn the Command Line? The command line is the text interface
More informationWhy learn the Command Line? The command line is the text interface to the computer. DATA 301 Introduction to Data Analytics Command Line
DATA 301 Introduction to Data Analytics Command Line Why learn the Command Line? The command line is the text interface to the computer. DATA 301: Data Analytics (2) Understanding the command line allows
More informationRecap From Last Time:
Recap From Last Time: BGGN 213 Working with UNIX Barry Grant http://thegrantlab.org/bggn213 Motivation: Why we use UNIX for bioinformatics. Modularity, Programmability, Infrastructure, Reliability and
More informationLab Working with Linux Command Line
Introduction In this lab, you will use the Linux command line to manage files and folders and perform some basic administrative tasks. Recommended Equipment A computer with a Linux OS, either installed
More informationBGGN 213 Working with UNIX Barry Grant
BGGN 213 Working with UNIX Barry Grant http://thegrantlab.org/bggn213 Recap From Last Time: Motivation: Why we use UNIX for bioinformatics. Modularity, Programmability, Infrastructure, Reliability and
More informationShort Read Sequencing Analysis Workshop
Short Read Sequencing Analysis Workshop Day 2 Learning the Linux Compute Environment In-class Slides Matt Hynes-Grace Manager of IT Operations, BioFrontiers Institute Review of Day 2 Videos Video 1 Introduction
More informationUnix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University
Unix/Linux Basics 1 Some basics to remember Everything is case sensitive Eg., you can have two different files of the same name but different case in the same folder Console-driven (same as terminal )
More informationUser Guide Version 2.0
User Guide Version 2.0 Page 2 of 8 Summary Contents 1 INTRODUCTION... 3 2 SECURESHELL (SSH)... 4 2.1 ENABLING SSH... 4 2.2 DISABLING SSH... 4 2.2.1 Change Password... 4 2.2.2 Secure Shell Connection Information...
More informationIntroduction of Linux
Introduction of Linux 阳 oslab2018_class1@163.com 寅 oslab2018_class2@163.com PART I Brief Introduction Basic Conceptions & Environment Install & Configure a Virtual Machine Basic Commands PART II Shell
More informationUNIX Essentials Featuring Solaris 10 Op System
A Active Window... 7:11 Application Development Tools... 7:7 Application Manager... 7:4 Architectures - Supported - UNIX... 1:13 Arithmetic Expansion... 9:10 B Background Processing... 3:14 Background
More informationLinux command line basics II: downloading data and controlling files. Yanbin Yin
Linux command line basics II: downloading data and controlling files Yanbin Yin 1 Things you should know about programming Learning programming has to go through the hands-on practice, a lot of practice
More informationIntroduction to Unix and Linux. Workshop 1: Directories and Files
Introduction to Unix and Linux Workshop 1: Directories and Files Genomics Core Lab TEXAS A&M UNIVERSITY CORPUS CHRISTI Anvesh Paidipala, Evan Krell, Kelly Pennoyer, Chris Bird Genomics Core Lab Informatics
More informationWhere can UNIX be used? Getting to the terminal. Where are you? most important/useful commands & examples. Real Unix computers
Where can UNIX be used? Introduction to Unix: most important/useful commands & examples Bingbing Yuan Jan. 19, 2010 Real Unix computers tak, the Whitehead h Scientific Linux server Apply for an account
More informationIntroduction to Unix: Fundamental Commands
Introduction to Unix: Fundamental Commands Ricky Patterson UVA Library Based on slides from Turgut Yilmaz Istanbul Teknik University 1 What We Will Learn The fundamental commands of the Unix operating
More informationCSE 303 Lecture 2. Introduction to bash shell. read Linux Pocket Guide pp , 58-59, 60, 65-70, 71-72, 77-80
CSE 303 Lecture 2 Introduction to bash shell read Linux Pocket Guide pp. 37-46, 58-59, 60, 65-70, 71-72, 77-80 slides created by Marty Stepp http://www.cs.washington.edu/303/ 1 Unix file system structure
More informationFirst of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion.
Warnings Linux Commands 1 First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion. Read the relevant material
More informationCENG 334 Computer Networks. Laboratory I Linux Tutorial
CENG 334 Computer Networks Laboratory I Linux Tutorial Contents 1. Logging In and Starting Session 2. Using Commands 1. Basic Commands 2. Working With Files and Directories 3. Permission Bits 3. Introduction
More informationIntroduction: What is Unix?
Introduction Introduction: What is Unix? An operating system Developed at AT&T Bell Labs in the 1960 s Command Line Interpreter GUIs (Window systems) are now available Introduction: Unix vs. Linux Unix
More informationUsing UNIX. -rwxr--r-- 1 root sys Sep 5 14:15 good_program
Using UNIX. UNIX is mainly a command line interface. This means that you write the commands you want executed. In the beginning that will seem inferior to windows point-and-click, but in the long run the
More informationHistory. Terminology. Opening a Terminal. Introduction to the Unix command line GNOME
Introduction to the Unix command line History Many contemporary computer operating systems, like Microsoft Windows and Mac OS X, offer primarily (but not exclusively) graphical user interfaces. The user
More informationFirst of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion.
Warnings 1 First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion. Read the relevant material in Sobell! If
More informationChapter 4. Unix Tutorial. Unix Shell
Chapter 4 Unix Tutorial Users and applications interact with hardware through an operating system (OS). Unix is a very basic operating system in that it has just the essentials. Many operating systems,
More informationLinux Bootcamp Fall 2015
Linux Bootcamp Fall 2015 UWB CSS Based on: http://swcarpentry.github.io/shell-novice "Software Carpentry" and the Software Carpentry logo are registered trademarks of NumFOCUS. What this bootcamp is: A
More informationIntroduction. File System. Note. Achtung!
3 Unix Shell 1: Introduction Lab Objective: Explore the basics of the Unix Shell. Understand how to navigate and manipulate file directories. Introduce the Vim text editor for easy writing and editing
More informationModule 1. - System set-up and data-set construction. Center for Biological Sequence Analysis. Tammi Vesth, PhD student
Module 1 - System set-up and data-set construction Tammi Vesth, PhD student E-mail address: tammi@cbs.dtu.dk Building/Room: 208/061 Center for Biological Sequence Analysis Department of Systems Biology,
More informationBioinformatics? Reads, assembly, annotation, comparative genomics and a bit of phylogeny.
Bioinformatics? Reads, assembly, annotation, comparative genomics and a bit of phylogeny stefano.gaiarsa@unimi.it Linux and the command line PART 1 Survival kit for the bash environment Purpose of the
More informationChapter-3. Introduction to Unix: Fundamental Commands
Chapter-3 Introduction to Unix: Fundamental Commands What You Will Learn The fundamental commands of the Unix operating system. Everything told for Unix here is applicable to the Linux operating system
More informationUoW HPC Quick Start. Information Technology Services University of Wollongong. ( Last updated on October 10, 2011)
UoW HPC Quick Start Information Technology Services University of Wollongong ( Last updated on October 10, 2011) 1 Contents 1 Logging into the HPC Cluster 3 1.1 From within the UoW campus.......................
More informationUnix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011
Unix/Linux Operating System Introduction to Computational Statistics STAT 598G, Fall 2011 Sergey Kirshner Department of Statistics, Purdue University September 7, 2011 Sergey Kirshner (Purdue University)
More informationIntroduction to Linux Organizing Files
Introduction to Linux Organizing Files Computational Science and Engineering North Carolina A&T State University Instructor: Dr. K. M. Flurchick Email: kmflurch@ncat.edu Arranging, Organizing, Packing
More informationAn Introduction to Linux and Bowtie
An Introduction to Linux and Bowtie Cavan Reilly November 10, 2017 Table of contents Introduction to UNIX-like operating systems Installing programs Bowtie SAMtools Introduction to Linux In order to use
More informationA Brief Introduction to the Linux Shell for Data Science
A Brief Introduction to the Linux Shell for Data Science Aris Anagnostopoulos 1 Introduction Here we will see a brief introduction of the Linux command line or shell as it is called. Linux is a Unix-like
More informationLinux Essentials Objectives Topics:
Linux Essentials Linux Essentials is a professional development certificate program that covers basic knowledge for those working and studying Open Source and various distributions of Linux. Exam Objectives
More informationIntroduction to Linux Part 1. Anita Orendt and Wim Cardoen Center for High Performance Computing 24 May 2017
Introduction to Linux Part 1 Anita Orendt and Wim Cardoen Center for High Performance Computing 24 May 2017 ssh Login or Interactive Node kingspeak.chpc.utah.edu Batch queue system kp001 kp002. kpxxx FastX
More informationIntroduction to Linux
Introduction to Linux University of Bristol - Advance Computing Research Centre 1 / 47 Operating Systems Program running all the time Interfaces between other programs and hardware Provides abstractions
More informationNo Food or Drink in this room. Logon to Windows machine
While you are waiting No Food or Drink in this room Logon to Windows machine Username/password on right-hand monitor Not the username/password I gave you earlier We will walk through connecting to the
More informationIntroduction to UNIX/Linux
Introduction to UNIX/Linux Biochemistry Boot Camp 2018 Session #3 Nick Fitzkee nfitzkee@chemistry.msstate.edu Operating system (OS) Some terms Command-line interface (CLI) Graphical user interface (GUI)
More informationEECS Software Tools. Lab 2 Tutorial: Introduction to UNIX/Linux. Tilemachos Pechlivanoglou
EECS 2031 - Software Tools Lab 2 Tutorial: Introduction to UNIX/Linux Tilemachos Pechlivanoglou (tipech@eecs.yorku.ca) Sep 22 & 25, 2017 Material marked with will be in your exams Sep 22 & 25, 2017 Introduction
More informationRead the relevant material in Sobell! If you want to follow along with the examples that follow, and you do, open a Linux terminal.
Warnings 1 First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion. Read the relevant material in Sobell! If
More informationHelsinki 19 Jan Practical course in genome bioinformatics DAY 0
Helsinki 19 Jan 2017 529028 Practical course in genome bioinformatics DAY 0 This document can be downloaded at: http://ekhidna.biocenter.helsinki.fi/downloads/teaching/spring2017/exercises_day0.pdf The
More informationEE516: Embedded Software Project 1. Setting Up Environment for Projects
EE516: Embedded Software Project 1. Setting Up Environment for Projects By Dong Jae Shin 2015. 09. 01. Contents Introduction to Projects of EE516 Tasks Setting Up Environment Virtual Machine Environment
More informationIntroduction to UNIX I: Command Line 1 / 21
Introduction to UNIX I: Command Line 1 / 21 UNIX Command line The UNIX Shell: command line interface Navigating Directories and Files Running applications Reminder about helpful tutorial: http://korflab.ucdavis.edu/unix_and_perl/current.html
More informationUnix Tools / Command Line
Unix Tools / Command Line An Intro 1 Basic Commands / Utilities I expect you already know most of these: ls list directories common options: -l, -F, -a mkdir, rmdir make or remove a directory mv move/rename
More informationCS 3410 Intro to Unix, shell commands, etc... (slides from Hussam Abu-Libdeh and David Slater)
CS 3410 Intro to Unix, shell commands, etc... (slides from Hussam Abu-Libdeh and David Slater) 28 January 2013 Jason Yosinski Original slides available under Creative Commons Attribution-ShareAlike 3.0
More informationLab 1 Introduction to UNIX and C
Name: Lab 1 Introduction to UNIX and C This first lab is meant to be an introduction to computer environments we will be using this term. You must have a Pitt username to complete this lab. NOTE: Text
More informationPractical Linux examples: Exercises
Practical Linux examples: Exercises 1. Login (ssh) to the machine that you are assigned for this workshop (assigned machines: https://cbsu.tc.cornell.edu/ww/machines.aspx?i=87 ). Prepare working directory,
More informationArkansas High Performance Computing Center at the University of Arkansas
Arkansas High Performance Computing Center at the University of Arkansas AHPCC Workshop Series Introduction to Linux for HPC Why Linux? Compatible with many architectures OS of choice for large scale computing
More informationgenome[phd14]:/home/people/phd14/alignment >
Unix Introduction to Unix Shell There is a special type of window called shell or terminalwindow. Terminal windows are the principal vehicle of interaction with a UNIX machine. Their function is to perform
More informationBIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description:
BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description: This course provides Bioinformatics students with the
More informationSession 1: Accessing MUGrid and Command Line Basics
Session 1: Accessing MUGrid and Command Line Basics Craig A. Struble, Ph.D. July 14, 2010 1 Introduction The Marquette University Grid (MUGrid) is a collection of dedicated and opportunistic resources
More informationIntroduction to Linux. Roman Cheplyaka
Introduction to Linux Roman Cheplyaka Generic commands, files, directories What am I running? ngsuser@ubuntu:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu
More informationPerl and R Scripting for Biologists
Perl and R Scripting for Biologists Lukas Mueller PLBR 4092 Course overview Linux basics (today) Linux advanced (Aure, next week) Why Linux? Free open source operating system based on UNIX specifications
More informationUnix - Basics Course on Unix and Genomic Data Prague, January 2017
Unix - Basics Course on Unix and Genomic Data Prague, January 2017 Libor Mořkovský, Václav Janoušek, Anastassiya Zidkova, Anna Přistoupilová, Filip Sedlák http://ngs-course.readthedocs.org/en/praha-january-2017/
More informationShell Programming Systems Skills in C and Unix
Shell Programming 15-123 Systems Skills in C and Unix The Shell A command line interpreter that provides the interface to Unix OS. What Shell are we on? echo $SHELL Most unix systems have Bourne shell
More informationIntroduction to remote command line Linux. Research Computing Team University of Birmingham
Introduction to remote command line Linux Research Computing Team University of Birmingham Linux/UNIX/BSD/OSX/what? v All different v UNIX is the oldest, mostly now commercial only in large environments
More informationLinux Introduction to Linux
Linux Introduction to Linux Most computational biologists use either Apple Macs or Linux machines. There are a couple of reasons for this: * Much of the software is free * Many of the tools require a command
More informationContents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...
Contents Note: pay attention to where you are........................................... 1 Note: Plaintext version................................................... 1 Hello World of the Bash shell 2 Accessing
More informationIntroduction to Unix The Windows User perspective. Wes Frisby Kyle Horne Todd Johansen
Introduction to Unix The Windows User perspective Wes Frisby Kyle Horne Todd Johansen What is Unix? Portable, multi-tasking, and multi-user operating system Software development environment Hardware independent
More informationLecture # 2 Introduction to UNIX (Part 2)
CS390 UNIX Programming Spring 2009 Page 1 Lecture # 2 Introduction to UNIX (Part 2) UNIX is case sensitive (lowercase, lowercase, lowercase) Logging in (Terminal Method) Two basic techniques: 1. Network
More informationWhen talking about how to launch commands and other things that is to be typed into the terminal, the following syntax is used:
Linux Tutorial How to read the examples When talking about how to launch commands and other things that is to be typed into the terminal, the following syntax is used: $ application file.txt
More informationIntroduction to Linux for BlueBEAR. January
Introduction to Linux for BlueBEAR January 2019 http://intranet.birmingham.ac.uk/bear Overview Understanding of the BlueBEAR workflow Logging in to BlueBEAR Introduction to basic Linux commands Basic file
More informationIntroduction To Linux. Rob Thomas - ACRC
Introduction To Linux Rob Thomas - ACRC What Is Linux A free Operating System based on UNIX (TM) An operating system originating at Bell Labs. circa 1969 in the USA More of this later... Why Linux? Free
More informationIntroduction to Linux (and the terminal)
Introduction to Linux (and the terminal) 27/11/2018 Pierpaolo Maisano Delser mail: maisanop@tcd.ie ; pm604@cam.ac.uk Outline: What is Linux and the terminal? Why do we use the terminal? Pros and cons Basic
More informationLinux Command Line Primer. By: Scott Marshall
Linux Command Line Primer By: Scott Marshall Draft: 10/21/2007 Table of Contents Topic Page(s) Preface 1 General Filesystem Background Information 2 General Filesystem Commands 2 Working with Files and
More informationCS CS Tutorial 2 2 Winter 2018
CS CS 230 - Tutorial 2 2 Winter 2018 Sections 1. Unix Basics and connecting to CS environment 2. MIPS Introduction & CS230 Interface 3. Connecting Remotely If you haven t set up a CS environment password,
More informationIntroduction to the UNIX command line
Introduction to the UNIX command line Steven Abreu Introduction to Computer Science (ICS) Tutorial Jacobs University s.abreu@jacobs-university.de September 19, 2017 Overview What is UNIX? UNIX Shell Commands
More informationIntroduction to UNIX Command Line
Introduction to UNIX Command Line Files and directories Some useful commands (echo, cat, grep, find, diff, tar) Redirection Pipes Variables Background processes Remote connections (e.g. ssh, curl) Scripts
More informationhttp://xkcd.com/208/ 1. Review of pipes 2. Regular expressions 3. sed 4. Editing Files 5. Shell loops 6. Shell scripts cat seqs.fa >0! TGCAGGTATATCTATTAGCAGGTTTAATTTTGCCTGCACTTGGTTGGGTACATTATTTTAAGTGTATTTGACAAG!
More informationOrganization of a computer
Organization of a computer Organization of a computer Control Unit Task is to repeatedly perform fetch-decode-execute cycle. It consists of Two important registers PC, IR, and Instruction decoder: circuit
More informationIntroduction To. Barry Grant
Introduction To Barry Grant bjgrant@umich.edu http://thegrantlab.org Working with Unix How do we actually use Unix? Inspecting text files less - visualize a text file: use arrow keys page down/page up
More informationPractical Session 0 Introduction to Linux
School of Computer Science and Software Engineering Clayton Campus, Monash University CSE2303 and CSE2304 Semester I, 2001 Practical Session 0 Introduction to Linux Novell accounts. Every Monash student
More informationAdvanced Linux Commands & Shell Scripting
Advanced Linux Commands & Shell Scripting Advanced Genomics & Bioinformatics Workshop James Oguya Nairobi, Kenya August, 2016 Man pages Most Linux commands are shipped with their reference manuals To view
More informationIntroduction to Linux/Unix. Xiaoge Wang, ICER Jan. 14, 2016
Introduction to Linux/Unix Xiaoge Wang, ICER wangx147@msu.edu Jan. 14, 2016 How does this class work We are going to cover some basics with hands on examples. Exercises are denoted by the following icon:
More informationBasic Linux Commands. Srihari Kalgi M.Tech, CSE (KReSIT), IIT Bombay. May 5, 2009
Basic Linux Commands Srihari Kalgi M.Tech, CSE (KReSIT), IIT Bombay May 5, 2009 General Purpose utilities Linux File System File Handling Commands Compressing and Archiving Files Simple Filters General
More informationLinux at the Command Line Don Johnson of BU IS&T
Linux at the Command Line Don Johnson of BU IS&T We ll start with a sign in sheet. We ll end with a class evaluation. We ll cover as much as we can in the time allowed; if we don t cover everything, you
More informationLinux Introduction Martin Dahlö Valentin Georgiev
Linux Introduction 2018-02-12 Martin Dahlö martin.dahlo@scilifelab.uu.se Valentin Georgiev valentin.georgiev@icm.uu.se Objectives What is CLI, shell, terminal What is directory tree How to use simple commands
More informationLinux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2
Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades 2017-2018 Q2 Facultat d Informàtica de Barcelona This first lab session is focused on getting experience in working
More informationhttp://xkcd.com/208/ 1. Review of pipes 2. Regular expressions 3. sed 4. awk 5. Editing Files 6. Shell loops 7. Shell scripts cat seqs.fa >0! TGCAGGTATATCTATTAGCAGGTTTAATTTTGCCTGCACTTGGTTGGGTACATTATTTTAAGTGTATTTGACAAG!
More informationQuick Start Guide. by Burak Himmetoglu. Supercomputing Consultant. Enterprise Technology Services & Center for Scientific Computing
Quick Start Guide by Burak Himmetoglu Supercomputing Consultant Enterprise Technology Services & Center for Scientific Computing E-mail: bhimmetoglu@ucsb.edu Linux/Unix basic commands Basic command structure:
More informationIntroduction Into Linux Lecture 1 Johannes Werner WS 2017
Introduction Into Linux Lecture 1 Johannes Werner WS 2017 Table of contents Introduction Operating systems Command line Programming Take home messages Introduction Lecturers Johannes Werner (j.werner@dkfz-heidelberg.de)
More informationBioinformatics. Computational Methods I: Genomic Resources and Unix. George Bell WIBR Biocomputing Group
Bioinformatics Computational Methods I: Genomic Resources and Unix George Bell WIBR Biocomputing Group Human genome databases Human Genome Sequencing Consortium Major annotators: NCBI Ensembl (EMBL-EBI
More informationUtilities. September 8, 2015
Utilities September 8, 2015 Useful ideas Listing files and display text and binary files Copy, move, and remove files Search, sort, print, compare files Using pipes Compression and archiving Your fellow
More informationSequence Data Quality Assessment Exercises and Solutions.
Sequence Data Quality Assessment Exercises and Solutions. Starting Note: Please do not copy and paste the commands. Characters in this document may not be copied correctly. Please type the commands and
More informationCSCI 2132 Software Development. Lecture 4: Files and Directories
CSCI 2132 Software Development Lecture 4: Files and Directories Instructor: Vlado Keselj Faculty of Computer Science Dalhousie University 12-Sep-2018 (4) CSCI 2132 1 Previous Lecture Some hardware concepts
More informationFirst of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion.
Warnings 1 First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion. Read the relevant material in Sobell! If
More informationCarnegie Mellon. Linux Boot Camp. Jack, Matthew, Nishad, Stanley 6 Sep 2016
Linux Boot Camp Jack, Matthew, Nishad, Stanley 6 Sep 2016 1 Connecting SSH Windows users: MobaXterm, PuTTY, SSH Tectia Mac & Linux users: Terminal (Just type ssh) andrewid@shark.ics.cs.cmu.edu 2 Let s
More information