A demo of the visualisation tool based on d3.js for probe pairs arising in genome wide association studies.
https://github.com/chengsoonong/rede
Please view in Firefox
"""Look one level deeper for git, hg or svn repositories, and get their original URLs""" | |
import os | |
import subprocess | |
import argparse | |
def scan_repo(): | |
"""Extract the URL of the repository""" | |
get_git_url = 'git config --get remote.origin.url' | |
get_hg_url = 'hg paths default' |
# pydata with anaconda: an example | |
language: python | |
python: | |
- "3.4" | |
notifications: | |
email: false | |
before_install: | |
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; |
#!/bin/bash | |
# This script removes a file from the git repository and destroys all its history. | |
# | |
# Based on https://help.github.com/articles/remove-sensitive-data/ | |
# | |
# To do a dry run, add a -n to the git rm command. I.e. | |
# "git rm -n --cached --ignore-unmatch $1" | |
printf "Really destroy $1 ? y/[n] " |
## Motivation | |
Data provenance is metadata which keeps track of where a piece of data comes from, | |
and what operations have been done to it. This metadata provides a way to assess authenticity, | |
enable trust and allows reproducibility. This is particularly important when the data users, | |
data producers, and data wranglers are different groups of people. | |
## Overall idea | |
We have two types of objects, data and programs, of which we need to keep track of. Each dataset |
A demo of the visualisation tool based on d3.js for probe pairs arising in genome wide association studies.
https://github.com/chengsoonong/rede
Please view in Firefox
!function(){function a(a){return this.svg=d3.select(a).append("svg").attr("width",a.offsetWidth).attr("height",a.offsetHeight),this.svg}function b(a,b){var c,d;return b&&"undefined"==typeof b.scope&&(b.scope="world"),"usa"===b.scope?c=d3.geo.albersUsa().scale(a.offsetWidth).translate([a.offsetWidth/2,a.offsetHeight/2]):"world"===b.scope&&(c=d3.geo[b.projection]().scale((a.offsetWidth+1)/2/Math.PI).translate([a.offsetWidth/2,a.offsetHeight/("mercator"===b.projection?1.45:1.8)])),d=d3.geo.path().projection(c),{path:d,projection:c}}function c(){d3.select(".datamaps-style-block").empty()&&d3.select("head").attr("class","datamaps-style-block").append("style").html('path {stroke: #FFFFFF; stroke-width: 1px;} .datamaps-legend dt, .datamaps-legend dd { float: left; margin: 0 3px 0 0;} .datamaps-legend dd {width: 20px; margin-right: 6px; border-radius: 3px;} .datamaps-legend {padding-bottom: 20px; z-index: 1001; position: absolute; left: 4px; font-size: 12px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif |