Field Notebook

Session 2 · Genomics in Ecology and Evolution
Open terminal ↗
Read this first

The story

Last week you found the freshwater migrant among the fish caught at sea. Looking at it again under the microscope, the team noticed something else: it has no pelvic spines. The marine fish it was caught with all do. Some freshwater populations have lost their pelvic spines, again and again in different lakes, perhaps because spines are a handle for the insect predators that grab young fish in lakes.

To find out how, the lab sampled developing pelvic tissue from spined and spineless fish, crossed the two to make F1 hybrids, and sequenced RNA, open chromatin (ATAC-seq) and DNA.

Your job: find the gene behind the missing spines, show whether the change sits next to the gene (cis) or elsewhere (trans), find the switch, and work out what happened to it.

GETTING STARTED (in the sandbox.bio terminal, https://sandbox.bio/playgrounds/terminal) cd ~ curl -O https://gee.pleiades-genomics.nl/hunt2.zip unzip hunt2.zip && cd missing-spines bash preflight.sh # should end with "tools ok" cat stage1/CLUE.txt # your first clue Your files live in this browser tab: do not close it. To keep a file on your laptop, type: download <file>

Getting started

  1. Open the terminal: https://sandbox.bio/playgrounds/terminal (keep this tab open all session). Use only ONE sandbox.bio tab: each tab is a separate computer with its own files. Keep it in front while a long command runs, because a background tab can pause.
  2. Paste these lines, one at a time:
cd ~
curl -O https://gee.pleiades-genomics.nl/hunt2.zip
unzip hunt2.zip
cd missing-spines
bash preflight.sh
cat stage1/CLUE.txt

preflight.sh should print "tools ok". Your files live in the browser tab: do not close it. To keep a file on your laptop, type download <file>. The last line shows your first clue.

Read each CLUE.txt all the way to the end before you type anything. The steps build on each other.

Editing a file (nano)

nano cpm_scaffold.awk

Move with the arrow keys. Delete each ___ and type your answer. Save: Ctrl+O, then Enter. Quit: Ctrl+X.

The rules

  • Read each CLUE.txt all the way to the end before you start typing: the steps build on each other.
  • Work in pairs. Stage 1 is open; each answer unlocks the next stage: bash unlock.sh 2 <password> Passwords are lowercase, with no spaces.
  • Stage 5 has no zip: write your final answer on paper and hand it in.
  • Stuck? The field notebook gives you a small nudge after a few minutes on a stage. For a bigger hint, ask your instructor for that stage's hint code. Really stuck? Your instructor can give you a rescue code that lets you move on to the next stage.
  • No peeking at other teams.
  • The groups are called "spined" (pelvic spines present) and "spineless".

Using this notebook

  • Every command is typed in the terminal. This page runs nothing.
  • Stage map: when you unlock a stage, the first lines of its CLUE.txt give a Notebook code. Enter it here to open the stage, then read the clue to the end.
  • Tool chain: pick a tool for each step. When all steps are right, the shape of the command appears, with ___ blanks for you to fill.
  • Hints: a nudge becomes available a few minutes into a stage. Your instructor has a code for the big hint, and can unblock you if you are stuck.
  • Plot: paste the output of a command to see it as a plot.
  • Notes: your team notebook. It stays in this browser only.

Stage map enter the code from each clue

Tool chain drag tools into order; nothing runs here

Hints & notes

Plot paste output from your terminal