Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This is a nice join snippet that you can use for a descriptive join that will include NAs in the proper columns for each file. Input: A and B, with two columns (tabs) that give an attribute to a name (eg object count) <obj_1> <count_1> <obj_2> <count_2>
join -a 1 -a2 -e 'NA' -o '0,1.2,2.2' ce hc > join.count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.