Skip to content

Instantly share code, notes, and snippets.

View travc's full-sized avatar

Travis Collier travc

  • FMEL
  • Vero Beach, FL
View GitHub Profile
@travc
travc / multiplication_quiz.html
Last active September 24, 2022 19:24
multiplication quiz in basic HTML+Javascript
<!DOCTYPE HTML>
<html>
<head>
<title> multiplication flashcard </title>
<script>
// shared variables
var term1 = 0;
var term2 = 0;
@travc
travc / flat_perm.html
Last active September 24, 2022 18:21
html+javascript to do flat permutations
<!DOCTYPE HTML>
<html>
<head>
<title> flat permutation </title>
<script>
function myMain(event){
document.getElementById("topbox").innerHTML = "<h1> HELLO </h1>";
@travc
travc / split_ref_by_bai_datasize.py
Created January 25, 2021 14:50
Create a list of regions by splitting a reference based on the amount of data in bam files. Uses the `bai` index of the bam files.
#!/usr/bin/env python3
"""
Create a list of regions by splitting a reference based on the amount of data in bam files.
Uses the `bai` index of the bam files.
"""
import sys
import os
import argparse
import time
@travc
travc / count_doubletons.ipynb
Last active March 19, 2020 06:49
count doubletons
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@travc
travc / map_locations.ipynb
Created October 4, 2019 22:29
Plotting points on a geographic map using cartopy
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@travc
travc / Loading and interpolating Climex CDF.ipynb
Created May 26, 2017 01:48
Loading and interpolating Climex CDF file
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.