Skip to content

Instantly share code, notes, and snippets.

View adomingues's full-sized avatar

A. Domingues adomingues

View GitHub Profile
@Pakillo
Pakillo / themes.R
Last active September 6, 2018 05:00
ggplot_themes
### 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(),
@fabiolib
fabiolib / SJtoBED12.bash
Last active October 7, 2022 02:52
Short bash script to convert STAR SJ.out.tab into BED format similar to TopHat junctions.bed
#!/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 \