SHARE
TWEET

Untitled

a guest Jun 19th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. snp     chr     pos     pvalue
  2. LOC105758527    1       55001   0.469590
  3. LOC105758527    1       65001   0.067909
  4. LOC105758527    1       75001   0.220712
  5. LOC100218126    1       85001   0.174872
  6. LOC105758529    1       125001  0.023420
  7. NRF1    1       155001  0.242222
  8. NRF1    1       165001  0.202569
  9. NRF1    1       175001  0.327963
  10. UBE2H   1       215001  0.063989
  11. UBE2H   1       225001  0.542340
  12.      
  13. snp     chr     pos     pvalue
  14. LOC105758527    1       55001   0.191300
  15. NRF1    1       155001  0.257584
  16. UBE2H   1       215001  0.063989
  17. UBE2H   1       225001  0.3031645
  18.      
  19. awk 'BEGIN { FS = OFS = "t" }
  20.         { y[$1] += $4; $4 = y[$1]; x[$2] = $0; }
  21. END { for (i in x) { print x[i]; } }' file
  22.      
  23. CAPN6         6   18705001   1.63482
  24. DACH1         3   67845001   3.39277
  25. HSP90AB1      5   31175001   0.179808
  26. LARS          16  415001     0.478678
  27. DACH2         6   4065001    3.03408
  28. LOC100219438  4   155435001  0.133995
  29. CAPN8         5   8395001    0.655674
  30. NEB           10  38455001   2.09714
  31. CAPN9         5   42275001   0.236643
  32. AVL9          4   65205001   0.502827
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top