Syllabus
Course Description
The goal of this 1 credit course is to provide graduate students in bioengineering and biosciences with foundational understanding of modern computational tools to aid in their research. The target audience is graduate students who have little or no experience with computational tools, or who would like a refresher and exposure to a broad quiver of resources. Learning outcomes for the course are understanding the fundamental aspects of computer systems, including file types, storage structure, and the logic of programming languages. Unix command line for the manipulation of large data sets and running scripts both locally and on UO’s supercomputer Talapas. How to properly organize and format primary data and metadata files for analysis. The use of an integrated development environment (IDE) to write basic scripts in Python and R. NIH’s FAIR (findable, accessible, interoperable and reusable) principle and best practices for reproducible science including the use of Git/GitHub, Markdown and remote databases.
Course Structure
We will hold class on Mondays from 4:00 to 5:00PM in KC2 213 (September 28 - November 30, 2026), preceded by a kick-off bootcamp on Thursday, September 24 from 9:00AM to 1:00PM in the KC2 Seminar Room. These meetings will be relatively informal, and will usually begin with a 30-45 min. conceptual overview of topics with coding demonstrations. I will post all lecture slides as Markdown and HTML after class to the course website, linked from the ‘Schedule’ page. The Schedule page lists the lecture slides and the book chapters that go with each week, including the bootcamp. The remaining meeting time will be reserved for group work, questions, answers, and discussion. I encourage students to work on exercises and assignments during these periods so that questions can be directly addressed as they emerge.
Reading Materials
- The online course book, Foundational Computational Tools for Bioengineers, is the primary reading. It is organized in the same order as the course, and the Schedule lists the chapters to read for each week; the same links appear on the first slide of every lecture.
- Additional readings, cheat sheets, and links are collected on the Resources page.
Course Content and Objectives
The course is organized into five sections. For each, the topics covered are listed first, followed by what students will be able to do by the end of that section.
Your computational toolkit (Bootcamp, and used throughout)
- Topics: why computing and scripting; laptops vs. Talapas, RACS and Open OnDemand; the shell and paths (WSL/Ubuntu on Windows); VS Code and Positron; R and Python; UO resources, data protection and backups; Quarto, LaTeX and Markdown.
- Objectives:
- Install and configure R, Python, Quarto, LaTeX (TinyTeX), Git, and an IDE (VS Code, Positron or RStudio).
- Use an IDE to write, run and debug code, and know where UO resources, data protection policies and backups fit in.
Computers and shells (Weeks 1-3)
- Topics: computer systems (CPUs, GPUs, memory, storage and operating systems); the evolution of computing and local, cluster and cloud computing; Unix and the shell; paths and navigation; making, reading and writing files; wildcards; redirection, standard streams and pipes; data structures and tidy data; large genomic data files (FASTA and FASTQ); GREP and regular expressions; compressed files.
- Objectives:
- Describe the fundamental aspects of computer systems - CPUs, GPUs, memory, storage, operating systems and file types - and how local, cluster and cloud computing differ.
- Navigate a Unix shell (Terminal, or WSL/Ubuntu on Windows) using paths and core commands, and read and write files from the command line.
- Build data-processing pipelines with standard streams, redirection and pipes, and work with large and compressed genomic data files.
- Search and filter text with GREP, regular expressions, and related tools such as AWK and SED.
- Apply the principles of tidy data to properly organize and format primary data and metadata files for analysis.
Foundations of scripting (Weeks 4-6)
- Topics: shell scripts (variables, conditionals, loops, functions, error handling);
sedandawkin pipelines; R and Python side by side - scripts and IDEs, variables, arithmetic, strings, vectors and data types, getting help; reading, creating and exporting data frames; drawing samples from distributions; visualizing data and multi-panel figures; indexing and summary statistics; packages; inspecting objects and reading error messages; logical operators, filtering, type conversion and missing values; the tidyverse and the pipe; ggplot2 and the grammar of graphics; writing your own functions. - Objectives:
- Write shell scripts with variables, conditionals, loops and functions, including basic error handling.
- Read and write code in R and Python, side by side: packages, objects, vectors, data frames and functions.
- Wrangle and summarize data frames with the tidyverse (R) and pandas (Python), and write your own functions.
- Create clear, publication-quality figures from data frames (e.g., with ggplot2).
Reproducible documents and AI-assisted coding (Week 7)
- Topics: Markdown and Quarto for manuscripts, presentations and websites; LaTeX mathematical expressions; ‘vibe coding’ with large language models.
- Objectives:
- Write documents in Markdown and Quarto for manuscripts, presentations and websites, including LaTeX mathematical expressions.
- Use generative AI assistants and ‘vibe coding’ responsibly, and recognize their misuse.
Collaboration and publishing (Week 8)
- Topics: Git and GitHub for version control, project management and collaboration; publishing project websites and reports with GitHub Pages.
- Objectives:
- Articulate the importance of reproducible research and the NIH FAIR (Findable, Accessible, Interoperable, Reusable) principles.
- Use Git and GitHub for version control, project management, collaboration and GitHub Pages websites.
Software environments and high performance computing (Weeks 9-10)
- Topics: virtual environments for reproducible software (venv, conda and renv), built on your laptop and rebuilt on the cluster; UO’s supercomputer cluster, Talapas; logging in via
sshand Open OnDemand; storage; software modules; Slurm scripts for big jobs and monitoring them; parallel computing in R. - Objectives:
- Create and record per-project software environments (venv, conda, renv) and rebuild them on the cluster.
- Connect to Talapas via
sshand Open OnDemand, and load software modules. - Write and submit Slurm scripts for big jobs, monitor them, and understand the basics of parallel computing.
Graded Assignments
Problem sets: Students will be assigned two problem sets to complete independently. These will mostly focus on one or a few data sets each, and the goal will be for the students to organize, visualize, analyze, and interpret the data sets in light of specific scientific motivations - 60% of grade. Each problem set is assigned two weeks before it is due, and both are due on a Monday (HW1 assigned Nov 2, due Nov 16; HW2 assigned Nov 16, due Nov 30).
Term project: Students will choose a large dataset to process on Talapas. The goal of this project is to allow students agency in applying what they are learning in class to their own data - 40% of grade. A short project proposal (about one page: the data, the question, and the plan) is due in Week 7 and counts for 5% of the course grade; the final project is due Friday, December 11 (finals week).
Collaboration: The information required to complete all in-class assignments and problem sets will be given in instructions on Canvas. Students should carefully follow the detailed instructions associated with each assignment. Students are encouraged to work together and share information. In particular, some students will have a higher skill level than others, and we encourage those students with more experience to help their peers. However, no direct sharing of code is allowed.
Preparing and submitting assignments: Assignments will be submitted on Canvas. Be sure to include your name on the document. Be professional – appropriately name your files, make sure they are organized, and submit only the information requested. Late assignments will not be accepted.
Grading
| Assignment | Percentage of Total Grade |
|---|---|
| Problem Sets - 2 in total, 30% each | 60% |
| Term project proposal (Week 7) | 5% |
| Term project (finals week) | 35% |
| Grade Percentage | Letter Grade | Pass/No Pass Grade |
|---|---|---|
| 100% - 90% | A | Pass |
| 89% - 80% | B | Pass |
| 79% - 70% | C | No Pass |
| 69% - 60% | D | No Pass |
| 60% - 0% | F | No Pass |