Entering edit mode
6.7 years ago
lessismore
★
1.4k
I need to convert this format:
TMCS09g1008676 fleshy 0.000234939
TMCS09g1008676 fleshy 1.38379E-05
TMCS09g1008676 fleshy 0.00331883
TMCS09g1008677 fleshy 0.0481578
TMCS09g1008678 fleshy 0.0350491
TMCS09g1008679 fleshy 0.0335639
TMCS09g1008680 fleshy 0.0167087
TMCS09g1008681 fleshy 0.00301089
TMCS09g1008682 fleshy 0.00519838
TMCS09g1008682 fleshy 0.0399833
TMCS09g1008682 fleshy 0.0122184
TMCS09g1008683 fleshy 0.00202427
TMCS09g1008683 fleshy 0.00199513
TMCS09g1008683 fleshy 0.0350491
TMCS09g1008683 fleshy 0.00331883
TMCS09g1008683 fleshy 0.0399833
to this:
TMCS09g1008676 0.000234939 1.38379E-05 0.00331883
TMCS09g1008677 0.0481578
TMCS09g1008678 0.0350491
TMCS09g1008679 0.0335639
TMCS09g1008680 0.0167087
TMCS09g1008681 0.00301089
TMCS09g1008682 0.00519838 0.0399833 0.0122184
TMCS09g1008683 0.00202427 0.00199513 0.0350491 0.00331883 0.0399833
I would very much appreciate some indications with awk or R.
Hi lessismore,
There is no need to delete questions, especially not when someone helped you solving it.
Cheers,
Wouter