bioinformatics has asked for the wisdom of the Perl Monks concerning the following question:
open (FILE, "brca1_prettybase.txt"); our @data=''; @data = <FILE>; close (FILE); $i=0; while ($i <=300) { #for ($i=0; $i<=89; $i++) { # @zz=$data[$i]; @zz=splice(@data, 0, 89); foreach $_(@zz){ $a=''; $b=''; $c=''; $d=''; ($a, $b, $c, $d) = split(/[\t]/,$_); $qq=join ('/',$c,$d); push (@qqq, $qq); #print "$b\n"; } print "$a\n"; print @qqq; $i++; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to use printf correctly...
by BrowserUk (Patriarch) on Jul 09, 2003 at 18:53 UTC | |
|
Re: how to use printf correctly...
by pzbagel (Chaplain) on Jul 09, 2003 at 18:44 UTC | |
|
Re: how to use printf correctly...
by hardburn (Abbot) on Jul 09, 2003 at 17:40 UTC | |
|
Re: how to use printf correctly...
by jjhorner (Hermit) on Jul 09, 2003 at 17:33 UTC |