This file contains hidden or 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 bash | |
remote='<PROJECT_PATH_HERE>' | |
for path in $@ | |
do | |
dirname=$(dirname $path) | |
basename=$(basename $path) | |
mkdir -p "$dirname" | |
# Use rsync --partial for restartable transfers. |
This file contains hidden or 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 bash | |
# Remove pairs which hit the mouse reference. | |
# | |
# I haven't tested this script, but you should be able to use the commands in it | |
# to do your contaminant filtering. | |
# It would probably be best to feed in fully trimmed reads. Otherwise you | |
# might want to use "local" mapping. | |
# See: http://bowtie-bio.sourceforge.net/bowtie2/manual.shtml#end-to-end-alignment-versus-local-alignment | |
# Adapter trim and quality trim your HiSeq reads |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
*.ipynb filter=dropoutput_jupyter | |
*.[tc]sv diff=daff-csv | |
*.[tc]sv merge=daff-csv |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
# ==================== | |
# Project Makefile | |
# ==================== | |
# User Configuration {{{1 | |
# ==================== | |
# Major targets {{{2 | |
.PHONY: figs res | |
figs: | |
# [Partially redacted] |
This file contains hidden or 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 python | |
"""From http://stackoverflow.com/a/20844506/1951857 | |
To use:: | |
# Add the script to your path | |
chmod +x path/to/this/ipynb_output_filter.py | |
echo "*.ipynb filter=dropoutput_ipynb" >> ~/.gitattributes | |
git config --global core.attributesfile ~/.gitattributes | |
git config --global filter.dropoutput_ipynb.clean ipynb_output_filter.py |