Field Notebook

Session 1 · Genomics in Ecology and Evolution
Walkthrough and hints ↗ Open terminal ↗
Read this first

The story

Threespine sticklebacks have colonised freshwater lakes and streams from the sea again and again. Freshwater-adapted alleles, such as the low-armour allele of the Eda gene, survive at low frequency in the sea, carried by fish that migrate between the two habitats. Each new freshwater population can pick them up from this standing variation.

On a field survey your team sampled 12 sticklebacks: six caught at a marine site and six from a nearby lake. One fish caught at sea had unusually few armour plates, so its fin clip was also sequenced on its own. In the field the label on that tube washed off.

Your job: find out which of the fish caught at sea is a freshwater migrant. Careful: one other sample looks odd too. Not every odd sample is a migrant; sometimes something went wrong in the lab.

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/hunt.zip
unzip hunt.zip
cd migrant-fish
bash preflight.sh
cat stage0/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.

Coming back later

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. One keyboard, two brains.
  • Stage 0, a 10-minute warm-up, is open. Each stage's answer is the password to the next stage: bash unlock.sh 1 <password> (that opens stage1.zip). Passwords are lowercase ASCII, no spaces. Write every password on your answer sheet: you need them to come back.
  • 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. At home, the big hint opens by itself after a while on a stage; for a rescue code, email your instructor.
  • No peeking at other teams' screens.

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