in reply to Re^5: Shorten a list...
in thread Shorten a list...
I guess it would have helped if I was more specific in exactly what my file looks like. Sorry about that. In reality, there are thousands of groups and my input file looks like this:
>Group 42 0 25ap, >name_06-T_1_0... at 92.00% 1 28ap, >name_06-T_1_0... * >Group 43 0 28ap, >name_07-N_1_0... * >Group 44 0 29ap, >name_07-N_1_0... * >Group 45 0 25ap, >name_03-T_1_0... * 1 25ap, >name_06-T_1_0... at 100.00% 2 25ap, >name_07-N_1_0... at 100.00% 3 25ap, >name_11-N_1_0... at 100.00% 4 25ap, >name_14-T_1_0... at 100.00%
I would want an output that looks like this:
>Group 42 0 25ap, >name_06-T_1_0... at 92.00% 1 28ap, >name_06-T_1_0... * >Group 45 0 25ap, >name_03-T_1_0... * 1 25ap, >name_06-T_1_0... at 100.00% 2 25ap, >name_07-N_1_0... at 100.00% 3 25ap, >name_11-N_1_0... at 100.00% 4 25ap, >name_14-T_1_0... at 100.00%
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Shorten a list...
by Cristoforo (Curate) on Oct 18, 2011 at 15:59 UTC | |
by la (Novice) on Oct 18, 2011 at 17:12 UTC | |
by la (Novice) on Oct 18, 2011 at 18:11 UTC | |
by Cristoforo (Curate) on Oct 18, 2011 at 20:23 UTC |