tfcb_2020

Software installation

We ask you come prepared to class with a laptop on which you can participate in coding activities (talk to Kate if you don’t have access to a computer and we can arrange one to borrow). Please follow the instructions below to install the required software for this course (all programs should come pre-installed on your computer, or are freely available for academic use). We’ll use the other files in this directory to test the software together in class. The tools you’ll need include:

Text Editor

Biological data is almost exclusively represented as text, and we will be writing code in text files. It’s useful to be able to open, examine, and edit text files using a light-weight text editor. Microsoft Word is not suitable for these types of files, and we do not recommend the text editors set as default on your computer, as these programs are often not optimized for working with code. If you have a text editor already installed that you have previously used for code, you are welcome to use that software. If not, please install one of our recommendations below, which are appropriate for viewing very large text files and doing find-and-replace tasks using regular expressions.

MacOSX

BBEdit can be downloaded from here or installed via the App Store.

Windows

Notepad++ can be downloaded by going to the Download page and selecting the latest release.

Spreadsheet program

Spreadsheet programs are a useful way for us as humans to interact with data. The most common of these is Microsoft Excel. Commands may differ a bit between programs, but the general ideas for thinking about spreadsheets are the same. If you are working on a computer owned by Fred Hutch, Microsoft Office (including Excel) is available through the Self Service application. If you are working on a personal computer that doesn’t have a spreadsheet program, you can use a free, open source program called LibreOffice.

Install LibreOffice by going to the installation page. The version for your operating system should automatically be selected. Click Download Version X.X.X (whichever is the most recent version). You will go to a page that asks about a donation, but you don’t need to make one. Your download should begin automatically. Once the installer is downloaded, double click on it and LibreOffice should install.

Git

Git is version control software, which helps you keep track of changes made to files. GitHub is a repository for data and code tracked with Git, and is a mechanism for publishing and collaborating on project development.

GitHub Account

If you do not already have one, please register for a GitHub account. Please note that your name and email will be publicly visible through GitHub by default, but more information on controlling privacy settings can be found here.

Please share your GitHub username with us here so we can add you to GitHub classroom (used for homework submission).

GitHub Desktop App

The website for GitHub Desktop should auto-detect your operating system and allow you to download and install the software. If you are using a Windows machine, please select the option to install command line tools.

R

R and RStudio are separate downloads. R is the “engine”, while RStudio is an integrated desktop environment (IDE) that makes using R much more pleasant. R must be installed before RStudio. Follow the instructions below for your operating system to install them. If you are working on a computer owned by Fred Hutch, RStudio + R is available through the Self Service application.

Windows

MacOSX

Installing tidyverse

Unix command line (shell)

Windows

Windows 10 comes with a new feature called Windows Subsystem for Linux (WSL) that allows you to access Unix tools on your computer. Installation instructions can be found here.

Another option (such as if you are not running Windows 10) is Git for Windows, which also installs Git command-line tools. You can download here and install with default options.

MacOSX

Macintosh operating systems are built on Unix, so many of the tools you’ll need are pre-installed on your computer. You can access the command line through an application called Terminal. You can either search for this in Finder, or use the Go drop-down menu to locate it in the Utilities folder.

Logging on to rhino

We’ll be using a computer cluster at Fred Hutch called rhino for the unix classes. Please see these instructions for logging on to rhino, and note there is an extra step to log in off campus.

Python

We will use Jupyter notebooks to record code, output, and text throughout the course. We recommend installing Python using Anaconda, which includes Jupyter notebooks and most of the other packages we’ll use for the course, according to the following instructions: