This file contains 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
#!/usr/bin/env python | |
from toil.job import Job | |
def fn(job, i): | |
job.fileStore.logToMaster("Parent says: i is %s" % i, level=100) | |
return i+1 | |
def child_worker(job, i): | |
job.fileStore.logToMaster("Child says: i is %s" % i, level=100) |
This file contains 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
#!/bin/bash | |
#set -e | |
#set -x | |
# number of cycles | |
cycles_count=200 | |
# first index cycle | |
cycle_index_start=92 | |
# last index cycle |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 os | |
import time | |
import json | |
import gzip | |
import datetime | |
import requests | |
import cPickle as pickle | |
from datetime import datetime | |
slack_token = "<SLACK_TOKEN>" |
This file contains 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
FROM phusion/baseimage | |
RUN apt-get update && apt-get install -y wget picard picard-tools samtools bedtools | |
RUN apt-get autoclean | |
RUN cd /tmp && wget http://labs.oicr.on.ca/files/6993/file/SeqControl_0.0.1.tar.gz | |
RUN cd /tmp && tar xvzf SeqControl_*.tar.gz && mv SeqControl_*/* /usr/local/bin | |
RUN rm -rf /tmp/SeqControl_* |
This file contains 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
#!/bin/bash | |
# To use an Openstack cloud you need to authenticate against keystone, which | |
# returns a **Token** and **Service Catalog**. The catalog contains the | |
# endpoint for all services the user/tenant has access to - including nova, | |
# glance, keystone, swift. | |
# | |
# *NOTE*: Using the 2.0 *auth api* does not mean that compute api is 2.0. We | |
# will use the 1.1 *compute api* | |
export OS_AUTH_URL=https://pouta.csc.fi:5001/v2.0 |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box" | |
config.vm.box = "base" |
This file contains 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
FROM ubuntu:12.04 | |
ENV PGVERSION 9.3 | |
ENV CK_DEFAULT_TIMEOUT 10 | |
ENV IRODS_VAULT /usr/local/var/lib/irods/Vault | |
ENV TRAVIS_BUILD_DIR /tmp | |
RUN apt-cache search autotools | |
RUN apt-get update -qq | |
RUN apt-get install -qq odbc-postgresql unixodbc-dev build-essential libjansson-dev libjansson4 git wget autoconf |
This file contains 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
{ | |
"title": "Pacemaker", | |
"services": { | |
"query": { | |
"list": { | |
"0": { | |
"query": "verb='GET'", | |
"alias": "GET", | |
"color": "#7EB26D", | |
"id": 0, |
This file contains 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
#!/bin/bash | |
dcfldd if=/dev/$1 bs=1M count=1800 status=on statusinterval=1 | xz -z -T3 -c -e >$2 |