Skip to content

Instantly share code, notes, and snippets.

View PhrenoVermouth's full-sized avatar
🎯
Focusing

Gran Young PhrenoVermouth

🎯
Focusing
  • Stanford University
  • Palo Alto
View GitHub Profile
@HJianBo
HJianBo / LC_CTYPE.txt
Created November 7, 2017 02:02 — forked from jampajeen/LC_CTYPE.txt
Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
@rudeboybert
rudeboybert / splines.R
Last active January 18, 2023 02:18
Intro to Splines
# This is the source code of Albert Y. Kim (rudeboybert)'s "Introduction to
# Splines" video.
# Lines 4-86 were run before the video and hidden from the viewer in order to
# simplify the content of the video.
library(tidyverse)
library(broom)
# Set options, random number generator seed value, & ggplot geom() + theme()
# arguments
@gireeshkbogu
gireeshkbogu / convert_GTF_to_BED12.sh
Last active February 10, 2025 10:25
How to convert GTF format into BED12 or BIGBED format?
# see below for UPDATES that include more shorter ways of conversions
# How to convert GTF format into BED12 format (Human-hg19)?
# How to convert GTF or BED format into BIGBED format?
# Why BIGBED (If GTF or BED file is very large to upload in UCSC, you can use trackHubs. However trackHubs do not accept either of the formats. Therefore you would need bigBed format)
# First, download UCSC scripts
wget http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/gtfToGenePred
wget http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/genePredToBed
wget http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/bedToBigBed