Skip to content

Instantly share code, notes, and snippets.

View TomConlin's full-sized avatar
💭
Data Gardener

Tom Conlin TomConlin

💭
Data Gardener
View GitHub Profile
@TomConlin
TomConlin / balanced_triangular_allocation.jl
Last active November 3, 2017 23:48
Fair allocation of a triangular matrix for parallel processing
ignore = """
given N side of (lower) triangle matrix
k is number of processors
N^2 / 2 is the apx area of work to be done
N^2 / 2k is each processors fairish share
a:x is an interval in 1:N
@TomConlin
TomConlin / collatz_tree64_final.jl
Last active October 2, 2017 18:41
ncats puzzle 2 backend: Collatz sibblings
import JSON
function init(mytype)
# vector of vectors of whatever type is passed in
vv = Vector{Vector{mytype}}(64)
vv[1]=[mytype(1)] #
vv[2]=[mytype(2)] # even double -1,/3 == .333 not int
vv[3]=[mytype(4)] # even double -1,/3 == 1 is previously done
vv[4]=[mytype(8)] # even double -1,/3 == 7/3 not int
vv[5]=[mytype(16)] # even double -1,/3 == 5 (start a new chain @ 5)
This file has been truncated, but you can view the full file.
<http://www.informatics.jax.org/accession/MGI:101759> <http://purl.obolibrary.org/obo/GO_0001786>
<http://www.informatics.jax.org/accession/MGI:101764> <http://purl.obolibrary.org/obo/GO_0004693>
<http://www.informatics.jax.org/accession/MGI:101835> <http://purl.obolibrary.org/obo/GO_0008766>
<http://www.informatics.jax.org/accession/MGI:101835> <http://purl.obolibrary.org/obo/GO_0018169>
<http://www.informatics.jax.org/accession/MGI:101835> <http://purl.obolibrary.org/obo/GO_0043773>
<http://www.informatics.jax.org/accession/MGI:101835> <http://purl.obolibrary.org/obo/GO_0043774>
<http://www.informatics.jax.org/accession/MGI:101835> <http://purl.obolibrary.org/obo/GO_0070735>
<http://www.informatics.jax.org/accession/MGI:101835> <http://purl.obolibrary.org/obo/GO_0070736>
<http://www.informatics.jax.org/accession/MGI:101835> <http://purl.obolibrary.org/obo/GO_0070737>
<http://www.informatics.jax.org/accession/MGI:101835> <http://purl.obolibrary.org/obo/GO_0070738>
@TomConlin
TomConlin / cluster_trait.tab
Created April 2, 2016 21:10
clinvar submitter trait-free-text clustered by triglyph scoring
1 infantile-onset spinocerebellar ataxia
1 spinocerebellar ataxia 1
1 spinocerebellar ataxia 10
1 spinocerebellar ataxia 11
1 spinocerebellar ataxia 12
1 spinocerebellar ataxia 13
1 spinocerebellar ataxia 14
1 spinocerebellar ataxia 15
1 spinocerebellar ataxia 17
1 spinocerebellar ataxia 19