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 | |
import requests | |
import pprint | |
prettyprint = pprint.PrettyPrinter(indent=2).pprint | |
def fetch(jsondata, url="https://gnomad.broadinstitute.org/api"): | |
# The server gives a generic error message if the content type isn't | |
# explicitly set | |
headers = {"Content-Type": "application/json"} |
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 | |
""" | |
Quick clumsy script to convert an Illumina InterOp/ExtractionMetricsOut.bin v2 | |
file into CSV. | |
http://illumina.github.io/interop/extraction_v2.html | |
""" | |
import sys |
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 bash | |
# | |
# Slice a long image into a PDF of letter-sized pages. | |
# Requires ImageMagick. | |
# Page size | |
H="11" | |
W="8.5" | |
# Input handling |
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
#script created by Matt Anderson, http://tonkapark.com | |
require 'rubygems' | |
require 'bigcartel' | |
require 'csv' | |
# SET YOUR BIGCARTEL ID HERE | |
STORE = 'ugmonk' | |
# SET THE BEST NAME FOR ANY DROP DOWN OPTIONS |