Skip to content

Instantly share code, notes, and snippets.

View gawbul's full-sized avatar
:shipit:
Deep in the shell

Steve Moss gawbul

:shipit:
Deep in the shell
View GitHub Profile
@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
Loading
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)
@@ ENSFM00500000274300 (((((((((Homosapiens<1>_0.004779:6.4,Pantroglodytes<1>_0.005284:6.4)_0.006865:2.4,Gorillagorilla<1>_0.005655:8.8)_0.004013:6.9,Pongoabelii<1>_0.004926:15.7)_0.006409:4.7,Nomascusleucogenys<0>_0.010497:20.4)_0.001390:8.8,Macacamulatta<2>_0.009068:29.2)_0.004651:13.4,Callithrixjacchus<1>_0.005251:42.6)_0.004780:22.6,Tarsiussyrichta<0>_0.008096:65.2)_0.002459:8.8,(Microcebusmurinus<1>_0.005100:57.9,Otolemurgarnettii<1>_0.001525:57.9)_0.009555:16.1)_0.008878:16,Tupaiabelangeri<1>_0.0
@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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gawbul
gawbul / roll_ipython_in_aws.md
Created March 31, 2013 20:39 — forked from iamatypeofwalrus/roll_ipython_in_aws.md
Roll your own IPython Notebook Server with AWS

What

Roll your own iPython Notebook server with Amazon Web Services (EC2) using their Free Tier.

What are we using? What do you need?

  • An active AWS account. First time sign-ups are eligible for the free tier for a year
  • One Micro Tier EC2 Instance
  • With AWS we will use the stock Ubuntu Server AMI and customize it.
  • Anaconda for Python.
  • Coffee/Beer/Time
@gawbul
gawbul / GPL.md
Created January 14, 2013 18:22 — forked from jnrbsn/GPL.md
GNU GPLv3 in Markdown

GNU GENERAL PUBLIC LICENSE

Version 3, 29 June 2007

Copyright Β© 2007 Free Software Foundation, Inc. <http://fsf.org/>

Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.