CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [FishMonger] How to populate a Hash : Edit Log



vikas.deep
User

May 14, 2009, 11:28 PM


Views: 6978
Re: [FishMonger] How to populate a Hash

I am sorry for not properly explaining things. In my code the

next_seq

is a method which is returning an object of another class Bio::Seq

and the seq is the method that is actually returning the sequence seq should have been written as seq() to make things clearer and seq() will work only on an object for Bio::Seq class

So we can't get away without using seq()

next_seq() cannot be used to fetch sequences. It is only returning objects of Bio::Seq class.

And the next_seq somehow converts clone into an object of Bio::Seq class So that we can easily call seq() method to act upon the clone object
-For all my suggestions " I am sure someone else can do it in a better or elegant manner!"

(This post was edited by vikas.deep on May 14, 2009, 11:33 PM)


Edit Log:
Post edited by vikas.deep (User) on May 14, 2009, 11:29 PM
Post edited by vikas.deep (User) on May 14, 2009, 11:33 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives