Skip to content

Instantly share code, notes, and snippets.

View ryandward's full-sized avatar

Ryan David Ward ryandward

View GitHub Profile
@ryandward
ryandward / Recombineering.md
Created September 19, 2024 18:49
Recombineering

Lambda Red Recombination Protocol with sacB Selection

Overview

This protocol outlines the steps to prepare competent E. coli cells harboring the pSIM plasmid for lambda Red recombination using sacB as a counter-selectable marker. The process spans three days and includes streaking, culturing, induction of lambda Red proteins, cell preparation, transformation, and selection.

Materials Needed

Estimation of Bottleneck Size

The calculation of bottleneck size ($N_b$) follows the principle of effective population size estimation, adapted to quantify the 'founder' population size, i.e., the number of cells contributing descendants to the sample. The formula used in this study is taken from Krimbas and Tsakas and provides the best fit for estimating $N_b$ as per our data. It calculates $N_b$ using allele frequencies at initial and final time points ($f_{i_0}$ and $f_{i_s}$), the total number of sequence reads at both times ($s_0$ and $s_s$), and the number of generations.

This method is an attempt to formalize the intial development from this GitHub repository, which is based on the methodologies from this Nature Methods paper.


@ryandward
ryandward / Library Growth.md
Last active February 13, 2024 03:52
Library Growth

Protocol for Library Growth with LB Media

Introduction

This protocol outlines the steps to grow up your libraries and perform chemical genomics for sequence quantification.

Materials

  • Library
  • Culture tubes
  • Eppitubes

Protocol for Antibiotic Checkerboard Assay

I. Preparation of Antibiotic Serial Dilutions

  1. Add 200µL of DRUG A (100x) and 300µL of LB into the top-right well of a deep well plate, yielding a 40x concentration in a total volume of 500µL.
  2. Fill the rest of the wells in the top row with 250µL of LB.
  3. Perform a serial dilution across the top row by transferring 250µL sequentially from one well to the next.
  4. Discard 250µL from the penultimate well.
  5. Repeat steps 1-4 in the bottom-left well using DRUG B instead of DRUG A.
@ryandward
ryandward / connect_bluetooth_headphones.sh
Last active September 26, 2020 03:50 — forked from egelev/connect_bluetooth_headphones.sh
Connect bluetooth headphones on Arch Linux (Gnome settings can't do it)
#!/usr/bin/env bash
function get_headphones_index() {
echo $(pacmd list-cards | grep bluez_card -B1 | grep index | awk '{print $2}')
}
function get_headphones_mac_address() {
local temp=$(pacmd list-cards | grep bluez_card -C20 | grep 'device.string' | cut -d' ' -f 3)
temp="${temp%\"}"
temp="${temp#\"}"
= Arch Linux step-by-step installation =
= http://blog.fabio.mancinelli.me/2012/12/28/Arch_Linux_on_BTRFS.html =
== Boot the installation CD ==
== Create partition ==
cfdisk /dev/sda
* Create a partition with code 8300 (Linux)