>>>>> "a:" == anamika : <anamika...@gmail.com> writes:

  a:> I have  a file like this:

  a:> NM_003273       1929.19
  a:> NM_053056       4662.262
  a:> NM_053056       5728.343
  a:> NM_024099       4009.705
  a:> NM_001085372    685.4568
  a:> NR_003098       4700.29
  a:> NM_199337       2727.46
  a:> NM_018093       477.2938
  a:> NM_018093       813.0701


  a:> I want it to be something like:
  a:> If the elements in column 1 are same then take the mean of the values (in
  a:> column 2) corresponding to these two/or more similar elements.

this is not a list that does your coding for you. what have you tried so
far? do know enough perl to get this done (it doesn't need much). one
approach is to think it through and write up a plan in english. then
translate that to perl. if you have troubles with actual perl, write
again to this list.

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to