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
### My favourite ggplot2 themes, always accessible ### | |
## just source this gist from any project ## | |
##################################################################################### | |
# Noam's default ggplot2 styling ##### | |
# Source: https://github.com/noamross/noamtools/blob/master/R/theme_nr.R | |
theme_nr <-theme(text=element_text(family="Helvetica", size=14), | |
panel.grid.major.x=element_blank(), |
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 | |
##run from results directory | |
##Output BED file is sorted for indexing and loading into IGV | |
##awk for converting SJ.out.tab to bed12 format | |
##based on code originally published by frymor at http://seqanswers.com/forums/showthread.php?t=62896 | |
for sj in */*SJ.out.tab | |
do | |
echo ${sj} | |
echo "Converting..." | |
awk \ |