Skip to content

Instantly share code, notes, and snippets.

Jeff Wintersinger jwintersinger

View GitHub Profile
View gist:e636b2fd3bfafb947d5b
Olympic Weightlifting Level I (eight one-hour classes)
This 8 week class is designed for true beginners with little to no previous weight training experience. Participants will learn the basics of weightlifting starting with the Olympic squat and deadlift and moving to the power snatch and power clean in a progressive manner. By the end of the session, participants will gain hip and shoulder flexibility along with leg and core strength.
Fundamentals of Weight Training (six one-hour classes)
Learn to train effectively and safely following appropriate exercise progressions under the supervision of a certified trainer. Participants will be introduced to a series of fundamental exercises commonly used in training programs such as squats, lunges and rows. Participants will learn how to create a personalized program using a variety of training methods and be familiarized with most of the equipment in the weight room.
@jwintersinger
jwintersinger / find-best-hit.py
Created Jul 14, 2014
Multiple methods for finding best set of mutually compatible BLAST hits
View find-best-hit.py
#!/usr/bin/env python3
'''
For each query listed in a BLAST XML results file, determine how much of the
query sequence is covered by the "best" hit. The best hit is deemed to be the
one in which the summed bitscores of its compatible HSPs is highest. Mutually
compatible HSPs are deemed to be ones that neither overlap nor "cross" each
other.
Usage:
cat blast_results.xml | find-best-hit.py
View checkerboard.py
import random
recur_calls = 0
dp_calls = 0
def make_board(n, max_val_mag):
board = []
for i in range(n):
board.append([])
for j in range(n):
View ids.sorted-alphabetically
Configurator/Accordion/Canvas###21
Configurator/Accordion/Canvas###27
Configurator/Accordion/Canvas###31
Configurator/Accordion/Canvas###42
Configurator/Accordion/Canvas###45
Configurator/Accordion/Canvas###48
Configurator/ActionScript/ScriptFile/desc###100
Configurator/ActionScript/ScriptFile/desc###104
Configurator/ActionScript/ScriptFile/desc###108
Configurator/ActionScript/ScriptFile/desc###112
View Output.PRJEB506.munged.fa-PRJNA205202.munged.fa
This file has been truncated, but you can view the full file.
24775 sequences in file PRJEB506.munged.fa
24942 sequences in file PRJNA205202.munged.fa
26312 sequences in file PRJNA13758.munged.fa
15408 sequences PRJEB506.munged.fa have homologs in dataset PRJNA205202.munged.fa
11651 sequences PRJNA205202.munged.fa have homologs in dataset PRJEB506.munged.fa
71943 PRJEB506.munged.fa-PRJEB506.munged.fa matches
25919 PRJNA205202.munged.fa-PRJNA205202.munged.fa matches
###################################
7008 groups of orthologs
View interval-tree.py
#!/usr/bin/env python2
# Efficient means of determining which ranges from set overlap a given query
# range. See http://www.cise.ufl.edu/~sahni/cop5536/powerpoint/lec34.ppt for
# details.
class Node(object):
def __init__(self, intervals):
self._olap = []
self.l = None
View genomicintervalset.py
from HTSeq import GenomicInterval
from collections import defaultdict
class IntervalCmp(object):
'''
Implements GenomicInterval comparison functions that ignore strandedness,
unlike the methods included in HTSeq.
'''
@staticmethod
def overlaps(a, b):
View gist:5359799
CREATE TABLE Employee (
SSN TEXT(10),
Birthdate DATETIME,
First_Name TEXT,
Last_Name TEXT,
Salary DOUBLE,
Super_SSN TEXT(10),
Storefront_ID INTEGER,
Depot_ID INTEGER,
Spaceship_ID INTEGER,
View gist:5211225
Overall view
Catalytic site
Cofactor?
Noncovalent interactions of wt aa
Indicate that quaternary structure occurs
Mutated catalytic site
Where does non-conserved residue point – inside structure, toward substrate/cofactor/subunit, toward outisde without interaction with other molecules?
S210F:
Overpacking of residues
You can’t perform that action at this time.