in reply to Re^5: Listing of files using glob
in thread Listing of files using glob
No I am not. Here is the code used to store the file into hash
open(FILE, "$path_to_fastaSeqs") or die("cannot open file"); { while(<FILE>) { my $line = $_; if ($line =~ />.*/) { #print "$&\n"; } else { #print "$line\n"; } $seqInfo{$&} = $line; } close(FILE); }
Any errors or wrong approach??
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Listing of files using glob
by MidLifeXis (Monsignor) on Jan 05, 2012 at 13:26 UTC | |
by choroba (Cardinal) on Jan 05, 2012 at 14:03 UTC | |
by MidLifeXis (Monsignor) on Jan 05, 2012 at 14:12 UTC | |
by AG87 (Acolyte) on Jan 06, 2012 at 05:16 UTC | |
by AG87 (Acolyte) on Jan 06, 2012 at 08:54 UTC | |
|
Re^7: Listing of files using glob
by choroba (Cardinal) on Jan 05, 2012 at 13:22 UTC |