Skip to content

Instantly share code, notes, and snippets.

View chrisamiller's full-sized avatar

Chris Miller chrisamiller

View GitHub Profile
@calkan
calkan / gist:eaad0bc4458da16a72dd
Last active January 5, 2021 02:09
Michael Hoffman's crazy bash_history backer upper on git
1 - Create a *private* GitHub/Bitbucket or similar git repo. Here I assume the repo is:
https://github.com/calkan/bash_history.git
2 - Create .history directory and initialize it for the repo:
mkdir $HOME/.history
cd $HOME/.history
git init
touch README.md
@deannachurch
deannachurch / ExcelMangledGenes
Created March 13, 2015 15:23
List of symbols that excel 'datifies'
##Mar 13, 2015
##Some 'date-names' are aliases and map to more than one gene
#symbol date name
SEPT1 1-Sep
SEPT2 2-Sep
SEPT3 3-Sep
SEPT4 4-Sep
SEPT5 5-Sep
SEPT6 6-Sep
SEPT7 7-Sep
@nathanhaigh
nathanhaigh / deinterleave_fastq.sh
Last active January 22, 2024 15:25
deinterleave FASTQ files
#!/bin/bash
# Usage: deinterleave_fastq.sh < interleaved.fastq f.fastq r.fastq [compress]
#
# Deinterleaves a FASTQ file of paired reads into two FASTQ
# files specified on the command line. Optionally GZip compresses the output
# FASTQ files using pigz if the 3rd command line argument is the word "compress"
#
# Can deinterleave 100 million paired reads (200 million total
# reads; a 43Gbyte file), in memory (/dev/shm), in 4m15s (255s)
#