Skip to content

Instantly share code, notes, and snippets.

View jil24's full-sized avatar

Jonathan Lake jil24

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jil24
jil24 / 8gb-4096bpc.sh
Created October 22, 2023 18:02
Create a 8 GB FAT32 Partition with 4096 bits/cluster in MacOS (regardless of actual device size)
newfs_msdos -F 32 -c 8 -s 16777216 -v CRE3 $1
# where $1 is your target partition e.g. disk9s1
@jil24
jil24 / hgvs2cdna.py
Created February 12, 2020 22:19
hgvs2cdna: explode a list of HGVS CDS variants and their cDNA reference sequences to complete variant cDNA sequences
import sys
import argparse
import re
from Bio.Seq import Seq
from Bio.SeqRecord import SeqRecord
from Bio import SeqIO
from Bio.Alphabet import generic_dna
parser = argparse.ArgumentParser(description="HGVS to cDNA")