Corresponding lecture

Lecture 2 - Ultra-fast read mapping with Kallisto

If you’re new to R

Please take time to work through this Learn R! module on basic R

Description

In our lecture, we covered the basics for running Kallisto with a single sample. However, you will rarely, if ever, be dealing with a single sample. In this lab, we’ll work through how to automate alignments and other command-line work using shell scripts and ‘for loops’. To keep the lab moving along, we’ll work with very small fastq files (see below)

Files you’ll need for this lab

subsampled fastq files - This is the course dataset, but each file has been subsampled to retrieve only 10,000 reads per sample.

shell script – To carry out read mapping and QC analysis for multiple samples.

Follow along

Bash basics - this is the code I’ll be running and discussing in lab today. You can copy/paste lines from this page to follow along.

On your own

You should be able to run a for loop, using your bash program, to create a shell script. You should then be able to run this shell script in bash to iterate over the subsampled fastq files (linked above) to quality check these reads, map to the human reference transcriptome, and produce a multiQC output.