[Bioperl-l] parse columns file

Jordi Durban jordi.durban at gmail.com
Mon Feb 14 05:41:56 EST 2011


Hi all!
I'm trying to parse a three columns file. The first one could be repeated.
However, I would like to obtain the results for the first one.
That is:
my file:
*uaccno=FF56QEU12HD1LC *   *gi|166216293|sp|P0C616.1|PA2HA_BOTAS
3.52797e-18*
uaccno=FF56QEU12HD1LC    gi|164421989|gb|ABY55159.1|    3.52797e-18
*uaccno=FF56QEU12HMBY2*    *gi|166216293|sp|P0C616.1|PA2HA_BOTAS
9.01317e-19*
uaccno=FF56QEU12HMBY2    gi|164421989|gb|ABY55159.1|    9.01317e-19
*uaccno=FF56QEU12HDB9V *  * gi|166215047|sp|P24605.3|PA2H2_BOTAS
2.61668e-25*
uaccno=FF56QEU12HDB9V    gi|71041979|pdb|1Y4L|A    2.61668e-25

I'm interested in the bold lines.
I'll be grateful for some advices.
Thanks

-- 
Jordi


More information about the Bioperl-l mailing list