Skip to content

Instantly share code, notes, and snippets.

View dhimmel's full-sized avatar
🎯
Focusing

Daniel Himmelstein dhimmel

🎯
Focusing
View GitHub Profile
@dhimmel
dhimmel / hetionet-v1.0-metaedge-xswap-stats.tsv
Last active October 2, 2018 15:38
Analytical derivation of the prior XSwap probability of a hetnet edge
metaedge abbreviation n_edges n_connected_source_nodes n_connected_target_nodes n_source_wedges n_target_wedges n_wedges n_valid_xswaps
Anatomy–downregulates–Gene AdG 102240 36 15097 173440264 493897 173934161 5052523519
Anatomy–expresses–Gene AeG 526407 241 18094 2290279787 10749138 2301028925 136250872696
Anatomy–upregulates–Gene AuG 97848 36 15929 149352969 359661 149712630 4637353998
Compound–binds–Gene CbG 11571 1389 1689 104024 476540 580564 66357671
Compound–causes–Side Effect CcSE 138944 1071 5701 16998055 16764774 33762829 9618885267
Compound–downregulates–Gene CdG 21102 734 2880 1683615 291789 1975404 220661247
Compound–palliates–Disease CpD 390 221 50 326 2857 3183 72672
Compound–resembles–Compound CrC 12972 1281 1281 120047 120047 240094 83889812
Compound–treats–Disease CtD 755 387 77 1420 8070 9490 275145
@dhimmel
dhimmel / version-gh-pages.ipynb
Last active February 16, 2018 20:32
Convert Manubot gh-pages to use versioned directories
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dhimmel
dhimmel / bitcoin-random-outcomes.ipynb
Last active January 29, 2018 19:14
Using Bitcoin to randomly determine a future outcome involving untrusted parties
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dhimmel
dhimmel / Q5-other-responses.md
Last active January 4, 2018 01:41
Other responses from "What’s the primary reason you use Sci-Hub" survey question in https://doi.org/gbqq97

Questions

From In survey, most give thumbs-up to pirated papers by John Travis on 2016-05-06 in Science, question 5 was:

What’s the primary reason you use Sci-Hub or other pirated article repositories?

The possible answers were:

  1. I don’t have any access to the papers — 50.97% 5,046
  2. Convenience--It’s easier to use than the authentication systems provided by the publishers or my libraries — 16.90% 1,673
@dhimmel
dhimmel / 2017-04-14_richard-stallman-animal-rights.mp4
Last active November 12, 2017 10:28
Richard Stallman debates animal rights activist at Penn: https://youtu.be/eG4HrOpzQXY
This file has been truncated, but you can view the full file.
@dhimmel
dhimmel / Cheng-Table-S2.tsv
Created April 10, 2016 01:55
Catalog of treatments from Table S2 of Cheng et al 2014 (https://doi.org/10.1186/s13073-014-0095-1)
compound disease
beclometasone acute and chronic inflammation
betamethasone acute and chronic inflammation
budesonide acute and chronic inflammation
dexamethasone acute and chronic inflammation
diflorasone acute and chronic inflammation
fludroxycortide acute and chronic inflammation
flunisolide acute and chronic inflammation
fluticasone acute and chronic inflammation
hydrocortisone acute and chronic inflammation
@dhimmel
dhimmel / CIBERSORT_license.md
Last active March 11, 2017 18:23
CIBERSORT License obtained in August 2016 from an unidentified trusted source.

STANFORD NON-COMMERCIAL SOFTWARE LICENSE AGREEMENT

  1. THE BOARD OF TRUSTEES OF THE LELAND STANFORD JUNIOR UNIVERSITY ("STANFORD") provides CIBERSORT software ("Program"), including any accompanying information, materials, or manuals, free of charge for non-commercial use only. By accepting, receiving, or using the Program, you ("RECIPIENT") agree to be bound by the terms of this agreement ("Agreement"). If you do not agree to the terms of this Agreement, then do not use the Program and promptly remove all copies of the program from your computer(s).
  2. RECIPIENT acknowledges that the Program is a research tool still in the development stage and that it is being supplied as is, without any accompanying services, support, or improvements from STANFORD. STANFORD makes no representations and extends no warranties of any kind, neither express nor implied.
  3. RECIPIENT shall not use the Program on behalf of any organization that is not a non-profit organization. RECIPIENT shall not use the Program for commercial
@dhimmel
dhimmel / GSEA-license.md
Last active March 11, 2017 18:19
GSEA/MSigDB License Agreement. Retrieved from http://software.broadinstitute.org/gsea/register.jsp?next=index.jsp on 2017-01-13

GSEA/MSigDB LICENSE AGREEMENT

MASSACHUSETTS INSTITUTE OF TECHNOLOGY SINGLE USER LICENSE AGREEMENT FOR INTERNAL RESEARCH PURPOSES ONLY

This Agreement is made between Massachusetts Institute of Technology with a principal address at 77 Massachusetts Avenue, Cambridge, MA 02139 ("MIT") and the subscriber above ("LICENSEE"), and is effective at the date the downloading is completed and proper registration/licensee subscriber information submitted ("EFFECTIVE DATE").

WHEREAS, LICENSEE desires to license the PROGRAM and/or DATABASE, as defined hereinafter, MIT wishes to have this PROGRAM and DATABASE utilized in the public interest, subject only to the royalty-free, nonexclusive, nontransferable license rights of the United States Government pursuant to 48 CFR 52.227-14, and

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dhimmel
dhimmel / assignment.md
Last active October 21, 2016 17:33
Licensing Workshop for EPID 600. https://slides.com/dhimmel/epid600

EPID 600 Workshop

This page describes the activity for the EPID 600 lecture on Open Data Science (slides).

At the start of this class, every pupil was asked to list 3 databases / datasets / data resources that they have used in their research. For each of these three resources (time permitting), please report via the comments below the following information:

  1. Is the data subject to copyright? If no, end.
  2. Does the resource have a license?
  3. If no, contact the creators and inquire whether there license that allows reuse?
  4. If yes, does the license allow: