Skip to content

Instantly share code, notes, and snippets.

View clintval's full-sized avatar

Clint Valentine clintval

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@clintval
clintval / genome-browser.ipynb
Created October 5, 2017 17:31
Sandbox for the genome-browser package
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@clintval
clintval / gene-graphic.ipynb
Last active October 12, 2017 23:00
Plotting SeqRecord from Uniprot API Call
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@clintval
clintval / dna-ascii.txt
Last active November 17, 2017 22:37
A little ASCII emblem in the terminal, renders better on unicode supported terminals!
${c4} G➖➖C
C➖G
TA
C➖G
G➖➖C
A➖➖➖T
G➖➖➖C
T➖➖A
C➖G
@clintval
clintval / js-rendered-html-scrape.ipynb
Last active November 18, 2017 06:43
A selenium web driver and a Python virtual display
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@clintval
clintval / polyphen-PKGBUILD
Last active January 10, 2018 17:26
Work in progress PKGBUILD for polyphen
# Maintainer: Clint Valentine <valentine.clint@gmail.com>
pkgname=polyphen
pkgver=2.2.2r405c
pkgrel=1
dbver=2.2.2
blastver=2.7.1
pkgdesc="A tool to predict impact of amino acid substitutions on the structure and function of human proteins"
arch=('any')
url="http://genetics.bwh.harvard.edu/pph2/dokuwiki/downloads"
@clintval
clintval / vep-PKGBUILD
Created January 6, 2018 16:41
Work in progress PKGBUILD for vep
# Maintainer: Clint Valentine <valentine.clint@gmail.com>
pkgname=vep
pkgver=90.10
pkgrel=1
pkgdesc="Determines the effect of variants on genes, transcripts, and protein sequences as well as regulatory regions"
arch=('x86_64')
url="https://useast.ensembl.org/info/docs/tools/vep/index.html"
license=('GPL3')
depends=('perl>=5' 'perl-module-build' 'bioperl-live-git')
@clintval
clintval / demux-wrapper-example.Snakefile
Created January 10, 2018 19:21
Snakemake Picard IlluminaBaseCallsToSam Wrapper Example
rule illumina_basecalls_to_sam:
input:
basecalls_dir=basecalls_dir,
barcodes_dir=rules.extract_illumina_barcodes.output.barcodes_dir,
library_params=rules.create_basecalling_params.output.library_params
output: list_unmerged_sample_bam()
threads: max(1, int(threads / len(lanes)))
resources:
gc_time_limit=50,
gc_heap_free_limit=10,
@clintval
clintval / mpl-animate.py
Created February 25, 2018 00:15
Matplotlib Animation in Notebook
import base64
import matplotlib.pyplot as plt
from matplotlib import animation
from tempfile import NamedTemporaryFile
__all__ = [
'Animation',
'animate_3d_scatter']