Skip to content

Instantly share code, notes, and snippets.

@timrandg
Created March 6, 2013 09:57
Show Gist options
  • Select an option

  • Save timrandg/5098204 to your computer and use it in GitHub Desktop.

Select an option

Save timrandg/5098204 to your computer and use it in GitHub Desktop.
reminder to self about the useful paste funciton for looking at histogram peptide files side by side
% paste mapped_PRRC2A.txt mapped_PRRC2B.txt mapped_PRRC2C.txt | column -s $'\t' -t > all_mapped_order_CBA.txt% head !$head all_mapped_order_CBA.txt
1 M 0 1 M 0 1 M 0
2 S 0 2 S 0 2 S 0
3 D 0 3 D 0 3 E 0
4 R 0 4 R 0 4 K 0
5 S 0 5 L 1 | 5 S 0
6 G 0 6 G 1 | 6 G 0
7 P 0 7 Q 1 | 7 Q 0
8 T 0 8 I 1 | 8 S 0
9 A 0 9 T 1 | 9 T 0
10 K 0 10 Q 1 | 10 K 0
% tail $!tail: 0: No such file or directory
% tail !$tail $!
tail: 0: No such file or directory
% head all_mapped_order_CBA.txt 1 M 0 1 M 0 1 M 0
2 S 0 2 S 0 2 S 0
3 D 0 3 D 0 3 E 0
4 R 0 4 R 0 4 K 0
5 S 0 5 L 1 | 5 S 0
6 G 0 6 G 1 | 6 G 0
7 P 0 7 Q 1 | 7 Q 0
8 T 0 8 I 1 | 8 S 0
9 A 0 9 T 1 | 9 T 0
10 K 0 10 Q 1 | 10 K 0
% tail !$ tail all_mapped_order_CBA.txt
2837 Q 5 |||||
2838 A 5 |||||
2839 I 5 |||||
2840 K 5 |||||
2841 T 0
2842 E 0
2843 E 0
2844 T 0
2845 K 0
2846 S 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment