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
(defun new-copyright () | |
"Generate new copyright string." | |
(format-time-string "Copyright %Y Michael M. Hoffman <michael.hoffman@utoronto.ca>")) | |
(define-auto-insert 'python-mode | |
`( | |
"Description: " | |
"#!/usr/bin/env python3.6" \n | |
"\"\"\"" (setq basename (buffer-file-basename)) ": " str \n | |
"\"\"\"" \n \n |
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 | |
# Usage: interleave_fastq.sh f.fastq r.fastq > interleaved.fastq | |
# | |
# Interleaves the reads of two FASTQ files specified on the | |
# command line and outputs a single FASTQ file of STDOUT. | |
# | |
# Can interleave 100 million paired reads (200 million total | |
# reads; a 2 x 22Gbyte files), in memory (/dev/shm), in 6m54s (414s) | |
# | |
# Latest code: https://gist.github.com/4544979 |