Skip to content

Instantly share code, notes, and snippets.

View nathanhaigh's full-sized avatar

Nathan S. Watson-Haigh nathanhaigh

  • Alkahest Inc.
  • Adelaide, Australia
  • 18:45 (UTC +09:30)
  • X @watsonhaigh
View GitHub Profile
sudo apt-get install libtool
git clone git:// dnaa-git
cd dnaa-git
# bfast required. see above gist
cp -r ../bfast-git ./bfast
# samtools require. see above gist.
cp -r ../samtools-svn/ ./samtools
sh && ./configure && make && sudo make install
stwalkerster /
Created May 17, 2011 17:18 svn repo to github git repo import script

Licence (MIT Licence)

Copyright (c) 2011 Simon Walker

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

padcom /
Created August 3, 2011 09:26
Gitorious installation on Ubuntu 12.04
lemonlatte /
Created July 9, 2012 03:22
Login authentication from a LDAP server
cat << EOF > user_example.ldif
dn: cn=$username,ou=users,ou=login,$dn
rcoup /
Created April 10, 2013 21:52
Parallel-ise an rsync transfer when you want multiple concurrent transfers happening,
set -e
# Usage:
# [--parallel=N] [rsync args...]
# Options:
# --parallel=N Use N parallel processes for transfer. Defaults to 10.
# Notes:
ar0ch /
Last active May 6, 2022 03:38
Automatically create blastdb + restart sequence server
j=$(basename $1)
/usr/bin/makeblastdb -in $1 -dbtype $2 -title $j
killall sequenceserver
/usr/bin/screen -dmS ss /usr/local/bin/sequenceserver -d=/home//blast/public/blast/ -H -p 4567 > /dev/null