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/env python3 | |
#=============================================================================== | |
# | |
# FILE: change_indent_length.py | |
# | |
# USAGE: cange_indent_length.py [-h] file_name old_tab_length new_tab_length | |
# | |
# DESCRIPTION: Change indent length, only change those at start of line | |
# | |
# AUTHOR: Michael D Dacre, [email protected] |
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 | |
HOMEMOUNT=$(mount | grep home | sed 's/ .*//' | sed 's#.*/##' ) | |
if [[ ! "$(eval lsmod | grep "^flashcache")" ]]; then | |
modprobe flashcache | |
fi | |
if [[ ! "$HOMEMOUNT" == "flashcache" ]]; then | |
umount /home |
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/env python3 | |
dsript="""\ | |
#=============================================================================== | |
# | |
# FILE: selective-backup.py | |
# | |
# USAGE: ./selective-backup.py [-o] [-l] [-r] file1 [file2]...[folder1... | |
# | |
# DESCRIPTION: Duplicate a directory to a given location using only hard links | |
# REQUIREMENTS: python3 |
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 python3 | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 tabstop=4 expandtab shiftwidth=4 softtabstop=4 | |
""" | |
#==================================================================================== | |
# | |
# FILE: std-arg.py | |
# AUTHOR: Michael D Dacre, [email protected] | |
# LICENSE: Open Source | |
# CREATED: 2013-08-26 10:56 |
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 python3 | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 tabstop=4 expandtab shiftwidth=4 softtabstop=4 | |
# | |
# Copyright © Mike Dacre <[email protected]> | |
# | |
# Distributed under terms of the MIT license | |
""" | |
=============================================================================== |
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 python3 | |
# -*- coding: utf-8 -*- | |
# Distributed under terms of the MIT license | |
""" | |
================================================================================ | |
FILE: bed2vcf (python 3) | |
AUTHOR: Michael D Dacre, [email protected] | |
ORGANIZATION: Stanford University | |
LICENSE: MIT License, Property of Stanford, Use as you wish |
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
Only in ./: cnvnator | |
diff -u ../../../CNVnator_v0.3/src/cnvnator.cpp ./cnvnator.cpp | |
--- ../../../CNVnator_v0.3/src/cnvnator.cpp 2014-02-01 20:29:35.000000000 -0800 | |
+++ ./cnvnator.cpp 2014-07-21 13:06:23.022155584 -0700 | |
@@ -39,7 +39,7 @@ | |
usage += argv[0]; | |
usage += " -pe file1.bam ... -qual val(20) -over val(0.8) [-f file]\n"; | |
usage += "\n"; | |
- usage += "Valid genomes (-genome option) are: NCBI36, hg18, GRCh37, hg19\n"; | |
+ usage += "Valid genomes (-genome option) are: NCBI36, hg18, GRCh37, hg19, black6\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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 tabstop=4 expandtab shiftwidth=4 softtabstop=4 | |
# | |
# Copyright © Mike Dacre <[email protected]> | |
# | |
# Distributed under terms of the MIT license | |
""" | |
#==================================================================================== | |
# |
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 python3 | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 tabstop=4 expandtab shiftwidth=4 softtabstop=4 | |
""" | |
#==================================================================================== | |
# | |
# FILE: logme (python 3) | |
# AUTHOR: Michael D Dacre, [email protected] | |
# ORGANIZATION: Stanford University | |
# LICENSE: Open Source - Public - Do as you wish (no license) - Mike Dacre |
This file has been truncated, but you can view the full file.
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
Oct 13 09:25:50 fraser-server kernel: [774197.362929] usb 2-3: USB disconnect, device number 2 | |
Oct 13 09:25:50 fraser-server kernel: [774197.362931] usb 2-3.1: USB disconnect, device number 3 | |
Oct 13 09:25:50 fraser-server kernel: [774197.362933] usb 2-3.1.1: USB disconnect, device number 7 | |
Oct 13 09:25:50 fraser-server kernel: [774197.364620] sd 12:0:0:0: [sdj] Synchronizing SCSI cache | |
Oct 13 09:25:50 fraser-server kernel: [774197.373022] usb 1-3.1-port2: cannot reset (err = -71) | |
Oct 13 09:25:50 fraser-server kernel: [774197.373519] usb 1-3.1-port2: cannot reset (err = -71) | |
Oct 13 09:25:50 fraser-server kernel: [774197.374019] usb 1-3.1-port2: cannot reset (err = -71) | |
Oct 13 09:25:50 fraser-server kernel: [774197.374518] usb 1-3.1-port2: cannot reset (err = -71) | |
Oct 13 09:25:50 fraser-server kernel: [774197.375019] usb 1-3.1-port2: cannot reset (err = -71) | |
Oct 13 09:25:50 fraser-server kernel: [774197.375020] usb 1-3.1-port2: Cannot enable. Maybe the USB cable is bad? |
OlderNewer