in reply to Re: motif finding
in thread motif finding
I think using File::Slurp is even easier and more perl-ish :)
(update : removed a stray space)use File::Slurp; # read file as a string my $text = read_file('dna.txt'); # now remove whitespace including line breaks $text =~ s/\s+//g; # ...do stuff
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: motif finding
by devi (Initiate) on Feb 03, 2012 at 06:08 UTC | |
by RichardK (Parson) on Feb 03, 2012 at 12:47 UTC |
In Section
Seekers of Perl Wisdom