![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Random numbers from 0 to 1000 | wakhan | Shell Programming and Scripting | 2 | 07-15-2008 07:41 AM |
| How to set constrain on random numbers in c | ahjiefreak | High Level Programming | 6 | 01-11-2008 04:46 AM |
| how can i isolate the random sequence of numbers using awk? | rcon1 | UNIX for Dummies Questions & Answers | 2 | 01-09-2008 09:06 AM |
| genrating pseudo random numbers | hack_tom | Shell Programming and Scripting | 7 | 04-27-2007 10:10 PM |
| Random numbers without repetition | asal_email | UNIX for Dummies Questions & Answers | 8 | 07-14-2005 04:02 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
|
|
||||
|
Random Numbers - Perl
Hi Guys I have a script to find Ranomd numbers. But I want to make the file to produce more random. Could u guys help me plz.
In this Script I have the code that generates random in for loop and the range I have specified in my %chromlength input and out put will be like this chrno start end chr1 1234 9980 [/PHP] Last edited by repinementer; 03-22-2009 at 03:10 AM.. |
|
||||
|
might help to see some of what the input file looks like. I have a feeling this line is wrong:
if ($chrom[$i] =~ /chrd+/) { unless you really are looking for "chr" followed by one or more "d". Probably should be: if ($chrom[$i] =~ /chr\d+/) { in which case its searching for "chr" followed by one or more digits. Use the perl highlighter to post perl code. The php highlighter will mangle some perl code. Besides that, I also don't understand what you are wanting to do. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|