Skip to content

Instantly share code, notes, and snippets.

View gawbul's full-sized avatar

Steve Moss gawbul

View GitHub Profile
@gawbul
gawbul / keybase.md
Created April 14, 2015 20:59
keybase.md

Keybase proof

I hereby claim:

  • I am gawbul on github.
  • I am gawbul (https://keybase.io/gawbul) on keybase.
  • I have a public key whose fingerprint is 705F CA8A 945B A999 F7A9 AFE9 59C3 CB71 CBC4 3646

To claim this, I am signing this object:

@gawbul
gawbul / r67_unique_family_descriptions.csv
Created March 21, 2015 19:04
r67_unique_family_descriptions.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Family.Description
COMPLEMENT C3 COMPLEMENT C3 BETA CHAIN; COMPLEMENT C3 ALPHA CHAIN; C3A ANAPHYLATOXIN; COMPLEMENT
PROTOCADHERIN GAMMA PRECURSOR PCDH GAMMA
UNKNOWN
HISTONE H3
MHC CLASS I POLYPEPTIDE RELATED SEQUENCE PRECURSOR MIC
KERATIN TYPE II CYTOSKELETAL CYTOKERATIN CK KERATIN TYPE II KERATIN
OLFACTORY RECEPTOR
60S RIBOSOMAL L7A
PRAME FAMILY MEMBER
@gawbul
gawbul / r66_unique_family_descriptions.csv
Created March 21, 2015 19:01
r66_unique_family_descriptions.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Family.Description
AMBIGUOUS
DISINTEGRIN AND METALLOPROTEINASE DOMAIN CONTAINING 5 TRANSMEMBRANE METALLOPROTEINASE DISINTEGRIN AND CYSTEINE RICH II TMDC II
PROBABLE RIBOSOME BIOGENESIS RLP24 RIBOSOMAL L24 DOMAIN CONTAINING 1
ADENOSINE RECEPTOR A3
TRANSCRIPTION FACTOR 19 TCF 19 TRANSCRIPTION FACTOR SC1
PROLIFERATION ASSOCIATED 2G4 P38 2G4
TRIPARTITE MOTIF CONTAINING 40
ANKYRIN REPEAT AND SOCS BOX ASB
BUTYROPHILIN 2
@gawbul
gawbul / spectra_code.R
Last active August 29, 2015 13:55
Spectra data code to produce box plot
# load libraries
library(gdata)
library(reshape2)
library(ggplot2)
# load data - trim last two rows
spectra_data <- read.xls("/Users/stevemoss/Downloads/CORRECTIONS.xls", sheet="Corrected Values")[1:11,]
names(spectra_data)
head(spectra_data)
tail(spectra_data)
@gawbul
gawbul / introduction_to_loops_for_biologists.ipynb
Last active January 4, 2016 05:39
Introduction to loops for biologists
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gawbul
gawbul / parse_rad_tags.awk
Created December 9, 2013 22:33
A script to parse a RAD tags file and display the line number and individual id/tag id pairs field when the field has only a specific number of individuals (in the case n==3)
BEGIN {
FS="\t"
}
{
lena=split($9,a,",")
for (i=1;i<=lena;i++) {
split(a[i],b,"_")
freq[NR][b[1]]++
}
}
@gawbul
gawbul / primates_varied_indiv.lambda
Created October 23, 2013 13:53
primates_varied_indiv.lambda
This file has been truncated, but you can view the full file.
@@ ENSFM00500000274301 (((((((((Homosapiens<1>_0.010967:6.4,Pantroglodytes<1>_0.004562:6.4)_0.007859:2.4,Gorillagorilla<1>_0.012414:8.8)_0.005772:6.9,Pongoabelii<1>_0.004608:15.7)_0.004809:4.7,Nomascusleucogenys<1>_0.004848:20.4)_0.005138:8.8,Macacamulatta<1>_0.004726:29.2)_0.006389:13.4,Callithrixjacchus<1>_0.004113:42.6)_0.005382:22.6,Tarsiussyrichta<0>_0.012865:65.2)_0.006876:8.8,(Microcebusmurinus<1>_0.003875:57.9,Otolemurgarnettii<1>_0.002941:57.9)_0.001924:16.1)_0.005017:16,Tupaiabelangeri<1>_0.000000:90)
@gawbul
gawbul / gist:6400801
Created August 31, 2013 21:40
Microarray Heatmaps in R
{
"metadata": {
"name": "Microarray Heatmap in R"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@gawbul
gawbul / steves_pgp_pubkey
Last active December 21, 2015 03:48
My GnuPGP Public Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG/MacGPG2 v2.0.27
Comment: GPGTools - https://gpgtools.org
mQINBFUATqwBEAD5zjucZ/orZU5KLqLpVhqUyV0m3+ELVu3hNJL05X4d8go3ynWQ
6kYq2vtD9g+illHMQubA41k5/KhCWx/E/v33JpMbvr6EDuqlwZ6SUjp+k8KZ4Gja
UZu3cm2dx9JnvTvnDPb7vB16m/tbF01N22JhBu/AeX5Qv7+MesJ1gZtyC20p1iDf
660yd/wFPSiXAoCOq2inbC/quKH/1DJQbsknBmJDHR4GuMR6rybCr0GEqBUGws65
0Pj3olC8cSG6WM7OlZ9rXW57vwZeoSLWCoQoShRPFjzu3tHYPM+LTGxcs40cNydN
VluZgi7/0FpNi60JraidV5UYOUkpxTEbqgRtObACJV45K4xLQmS/CgrL5DS9HMS2
@gawbul
gawbul / Microbial_Phylogenetics.ipynb
Last active December 19, 2015 12:38
Microbial Comparative Phylogenetics
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.