in reply to Re: Re: Re: Selecting a random number, and back calculating to chromosome and contig!
in thread Selecting a random number, and back calculating to chromosome and contig!

HI,
I have tried doing this, but i keep on getting error messages saying tht the "chromosome" is not numeric to be sorted. It also gives the same error for some contigs. Is there a way around

Sameet
  • Comment on Re: Re: Re: Re: Selecting a random number, and back calculating to chromosome and contig!

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Selecting a random number, and back calculating to chromosome and contig!
by tedrek (Pilgrim) on May 05, 2004 at 19:12 UTC

    You're problem is in the way you initalize %chr_cont_pos. You use parentheses '()' for the inner hashes when you should be using braces '{}'. Refer to perlref for more info.

      hey,

      Thanks, I will rectify this mistake and get back immediately.
      regards
      Sameet