S Wang wrote:
>
> i have just started writing some scripts in PERL and i am trying to
> catch a deadline, i really wish i could get some help for this problem.
> any suggestion is greatly appreciated.
>
> i have a set of files with sequences aligned in the following format.
> i wonder how i can
> -Original Message-
> From: s wang [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 04, 2002 11:00 AM
> To: [EMAIL PROTECTED]
> Subject: how can i get rid of these new line characters?
>
>
>
> i have just started writing some scripts in PERL and i am
>
Oops, forgot those newlines. Need to add the 'chomp' below...
On Friday, October 4, 2002, at 10:30 AM, James Edward Gray II wrote:
> With something like the script below. (I haven't tested it.) I
> assumed the blank lines in the sample data really exist. If they
> don't, you'll need to
With something like the script below. (I haven't tested it.) I
assumed the blank lines in the sample data really exist. If they
don't, you'll need to change it a bit.
#!/usr/bin/perl
use strict;
use warnings;
my $long_line = '';
while (<>) {
if (/^\s*$/) {
print "
On Oct 4, s wang said:
>i have just started writing some scripts in PERL and i am trying to catch
>a deadline, i really wish i could get some help for this problem. any
>suggestion is greatly appreciated.
>
>i have a set of files with sequences aligned in the following format. i
>wonder how i can
On Oct 4, s wang said:
>i have just started writing some scripts in PERL and i am trying to catch
>a deadline, i really wish i could get some help for this problem. any
>suggestion is greatly appreciated.
>
>i have a set of files with sequences aligned in the following format. i
>wonder how i can
other file.
>
>Hope this helps.
>
>Prachi.
>
>
>Original Message Follows
>From: s wang <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: how can i get rid of these new line characters?
>Date: Fri, 4 Oct 2002 08:00:19 -0700 (PDT)
>
>
>i have just s
.
Original Message Follows
From: s wang <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: how can i get rid of these new line characters?
Date: Fri, 4 Oct 2002 08:00:19 -0700 (PDT)
i have just started writing some scripts in PERL and i am trying to catch a
deadline, i really
i have just started writing some scripts in PERL and i am trying to catch a deadline,
i really wish i could get some help for this problem. any suggestion is greatly
appreciated.
i have a set of files with sequences aligned in the following format. i wonder how i
can eliminate the new line ch