Unix

The most powerful unix commands I have learned so far: find + parallel

please check parallel GNU page for documentations.\ parallel has changed my way to do repetitive works. Now, I use fewer and fewer for loops.\ Use case 1: I…

install shellcheck in atom

First, download and install Atom.

MACS2 parallel peak calling

I want to use MACS2 call ChIP-seq peaks for 10 samples(each with IP and input control) with 4 different set of parameters. That’s a lot of commands to type!…

sort with header maintained

We usually want to maintain header when we do something for the body of the text.\ You can find a body function here which can only accept streams and…

linux command join with header

They are small but can do small things well.\ Today, I am going to demonstrate a very useful linux command join.\ join is used to join two files based on a…

String manipulation in bash

Update on 04/24/2016. see a post Shell parameter substitution

change the mac terminal color scheme and use oh my zsh!

I just got my lab mac pro. I wanted to change the color scheme of the default terminal, which is just black and white.

Using Awk to join two files based on several columns

I was reading a thread on stackoverflow and found that this post was very interesting. I will go through the problem and the awk solution. Again, Awk is…

IBash Notebook for reproducible research

I use command line a lot. It is awesome for data processing, text data formatting and even exploratory data analysis.

My first Software Carpentry workshop as an instructor

I just came back from the software-carpentry workshop held on April 2 and 3 at the University of Miami. The workshop link is here \ and the Etherpad: