Created
January 14, 2013 17:54
-
-
Save ivan-krukov/4531912 to your computer and use it in GitHub Desktop.
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>
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
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