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
use IO::File; | |
use IO::Seekable; | |
use Data::Dumper; | |
use strict; | |
use warnings; | |
my @files = qw( test_input.txt); | |
my @fileHndls; | |
foreach my $file (@files) { |
This file has been truncated, but you can view the full file.
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
1 2 all chr1 | |
2 2 all chr1 | |
3 2 all chr1 | |
4 2 all chr1 | |
5 2 all chr1 | |
6 2 all chr1 | |
7 2 all chr1 | |
8 2 all chr1 | |
9 2 all chr1 | |
10 2 all chr1 |
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
class User < ActiveRecord::Base | |
has_many :study_groups | |
has_many :studies, :through => :study_groups | |
has_many :roles, :through => :user_roles | |
def admin | |
true if self.roles.include?("admin") | |
end | |
def manager |
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
var userRef = new Firebase("https://shining-fire-453.firebaseio.com/users"); | |
userRef.child(authData.uid).once("value",function(snapshot) { | |
console.log("snapshot in userREf",snapshot); | |
var fullName = snapshot.val().name; | |
console.log("fullname",fullName); | |
var displayName = fullName.split(' '); | |
localStorage.setItem("firstName", displayName[0]); | |
//redirect to user-enabled home page | |
console.log("welcome back, welcome back, welcoooome baack..."); | |
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
require 'optparse' | |
namespace :schedule do |args| | |
desc "Create schedule entries for recurring events" | |
task :create_recurring => :environment do | |
options = {} | |
optparse = OptionParser.new(args) do |opts| | |
opts.on("--from_date {from_date}", "Date to start creating Schedules") do |from_date| | |
options[:from_date] = from_date | |
end | |
opts.on("-e", "--event_id {event_id}", "Event to create Schedules for") do |event_id| |
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
##fileformat=VCFv4.1 | |
##FILTER=<ID=PASS,Description="All filters passed"> | |
##contig=<ID=chrY,length=59373566,assembly=B37,md5=1e86411d73e6f00a10590f976be01623,species="Homo sapiens"> | |
##contig=<ID=chrM,length=16569,assembly=B37,md5=c68f52674c9fb33aef52dcf399755519,species="Homo sapiens"> | |
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> | |
##FORMAT=<ID=HQ,Number=2,Type=Integer,Description="Haplotype Quality"> | |
##FORMAT=<ID=GQX,Number=1,Type=Integer,Description="Minimum of {Genotype quality assuming variant position,Genotype quality assuming non-variant position}"> | |
##FORMAT=<ID=GQ,Number=1,Type=Integer,Description="Genotype Quality"> | |
##FORMAT=<ID=EHQ,Number=2,Type=Integer,Description="Haplotype Quality, Equal Allele Fraction Assumption"> | |
##INFO=<ID=AN,Number=1,Type=Integer,Description="Total number of alleles in called genotypes"> |
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
##fileformat=VCFv4.1 | |
##FILTER=<ID=PASS,Description="All filters passed"> | |
##FILTER=<ID=LowGQX,Description="Locus GQX is less than 30 or not present"> | |
##FILTER=<ID=HighDPFRatio,Description="The fraction of basecalls filtered out at a site is greater than 0.3"> | |
##FILTER=<ID=nc,Description="No-call"> | |
##contig=<ID=chrY,length=59373566,assembly=B37,md5=1e86411d73e6f00a10590f976be01623,species="Homo sapiens"> | |
##contig=<ID=chrM,length=16569,assembly=B37,md5=c68f52674c9fb33aef52dcf399755519,species="Homo sapiens"> | |
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> | |
##FORMAT=<ID=HQ,Number=2,Type=Integer,Description="Haplotype Quality"> | |
##FORMAT=<ID=GQX,Number=1,Type=Integer,Description="Minimum of {Genotype quality assuming variant position,Genotype quality assuming non-variant position}"> |
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 () { | |
System.config({ | |
// map tells the System loader where to look for things | |
map: { | |
'app': '/static/app', | |
// angular bundles | |
'@angular/core': '/static/libs/@angular/core/bundles/core.umd.js', | |
'@angular/common': '/static/libs/@angular/common/bundles/common.umd.js', | |
'@angular/compiler': '/static/libs/@angular/compiler/bundles/compiler.umd.js', |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# | |
# Expects either a setup.yml file or a command line parameter for the github_ssh_key | |
require 'getoptlong' | |
def provisioned?(vm_name='default', provider='virtualbox') | |
File.exist?(".vagrant/machines/#{vm_name}/#{provider}/action_provision") | |
end |
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
<!DOCTYPE html> | |
<style> | |
.counties :hover { | |
fill: red; | |
} | |
.county-borders { | |
fill: none; | |
stroke: #fff; |
OlderNewer