This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-rw-rw-r-- 1 cfriedline cfriedline 462969 Jun 13 16:13 snp_calling.ipynb | |
-rw-rw-r-- 1 cfriedline cfriedline 9651811244 Jun 13 16:12 store.h5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
qhost = subprocess.check_output(["qhost"]) | |
host_dict = {} | |
for elem in qhost.split("\n"): | |
if 'godel' in elem: | |
data = elem.split() | |
host = data[0] | |
cpu = int(data[2]) | |
if cpu > 8: | |
host_dict[host] = cpu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:08fbbaacbb2f7ed6a72dbda30b0539a89fe5f1e1bb540c869d19c9976d4feba8" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:5507a20bf985d7ff9c8b454bf414997a33b671d82b7ceaaf24f89a61d1397ce0" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:24625e0326d219f8b77f0317e421df165d0adfb7925fac44e4f9cc5c35a28bd6" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:04f733fe38a12e7bbe8ee8d3f2900d3fecf0ae7a83ba728cd84650110e26b216" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rTraitDisc2 <- | |
function(phy, model = "ER", k = if (is.matrix(model)) ncol(model) else 2, | |
rate = 0.1, states = LETTERS[1:k], freq = rep(1/k, k), | |
ancestor = FALSE, root.value = 1, ...) | |
{ | |
if (is.null(phy$edge.length)) | |
stop("tree has no branch length") | |
if (any(phy$edge.length < 0)) | |
stop("at least one branch length negative") | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "snp_sim" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function latexify() { | |
var app = UiApp.createApplication(); | |
height = "400" | |
width = "500" | |
app.setHeight(height) | |
app.setWidth(width) | |
app.setTitle("LaTeXified!") | |
panel = app.createVerticalPanel() | |
panel.setHeight("350"); | |
panel.setWidth(width); |