in reply to Re^4: Tag protein names in sentences
in thread Tag protein names in sentences

Hi, thanks for the explanation, I get to understand the code better. Sorry, I have another question as I want to use this data structure in future. Is it possible to use a loop to traverse the whole proteinLU hash of hash table? I spent sometimes trying to do it, but I could not successfully traverse it. Thanks for your help!

Replies are listed 'Best First'.
Re^6: Tag protein names in sentences
by GrandFather (Saint) on Feb 18, 2010 at 19:53 UTC

    %proteinLU is a nested structure that is best traversed using recursive code. If you can't figure out how to achieve what you need when you get to the future, come back with a specific question to get a specific answer.

    In the mean time, don't worry about it! By the time you get to writing that code you will have a little more Perl understanding and with a little luck a solution will present itself. It is good to gain understanding from an exercise like this, but avoid spending too much time solving future problems that may not ever present themselves.


    True laziness is hard work