Re: fastq file modification help

2011-06-06 Thread Raymond Wan
Hi Nathalie, On Mon, Jun 6, 2011 at 19:29, Nathalie Conte wrote: > I need to remove the first 52 bp sequences reads in a fastq file,sequence is > on line 2. > fastq file from wikipedia:A FASTQ file normally uses four lines per > sequence. Line 1 begins with a '@' character and is followed by a s

Re: fastq file modification help

2011-06-06 Thread Rob Coops
On Mon, Jun 6, 2011 at 12:29 PM, Nathalie Conte wrote: > Hi, > > I need to remove the first 52 bp sequences reads in a fastq file,sequence > is on line 2. > fastq file from wikipedia:A FASTQ file normally uses four lines per > sequence. Line 1 begins with a '@' character and is followed by a sequ

fastq file modification help

2011-06-06 Thread Nathalie Conte
Hi, I need to remove the first 52 bp sequences reads in a fastq file,sequence is on line 2. fastq file from wikipedia:A FASTQ file normally uses four lines per sequence. Line 1 begins with a '@' character and is followed by a sequence identifier and an /optional/ description. Line 2 is the raw

Re: compare file modification time

2005-02-14 Thread John W. Krahn
[EMAIL PROTECTED] wrote: #!/usr/bin/perl -w use strict; #use diagnostics; my $dir = "testdir"; opendir (DH, "$dir") || die "Could not open $dir: $!\n"; my @files; my $keep = 7; while (defined(my $file = readdir(DH))){ next if $file =~ /^\.+$/; push (@files, $file); } # Skip the rest if numb

compare file modification time

2005-02-14 Thread perl
#!/usr/bin/perl -w use strict; #use diagnostics; my $dir = "testdir"; opendir (DH, "$dir") || die "Could not open $dir: $!\n"; my @files; my $keep = 7; while (defined(my $file = readdir(DH))){ next if $file =~ /^\.+$/; push (@files, $file); } # Skip the rest if number of files isn't abo

Re: Compare file modification time

2005-02-14 Thread John W. Krahn
Babale Fongo wrote: It was just an attempt to see how someone else may tackle this issue. I thought of sorting, but I wasn't sure it will do exactly what I expect. Here is what I've have so far: my $dir = "/mydir"; opendir(DH, "$dir") || die "Failed to open $dir: $!\n"; my $counter = 0; while (def

Re: Compare file modification time

2005-02-14 Thread Wiggins d'Anconia
Please bottom post Babale Fongo wrote: It was just an attempt to see how someone else may tackle this issue. I thought of sorting, but I wasn't sure it will do exactly what I expect. Here is what I've have so far: my $dir = "/mydir"; opendir(DH, "$dir") || die "Failed to open $dir: $!\n"; my $

RE: Compare file modification time

2005-02-14 Thread Babale Fongo
sage- ||From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED] ||Sent: Saturday, February 12, 2005 5:19 PM ||To: [EMAIL PROTECTED] ||Cc: beginners@perl.org ||Subject: Re: Compare file modification time || ||[EMAIL PROTECTED] wrote: ||> How do I best compare mtime of several files. I have

Re: Compare file modification time

2005-02-12 Thread Wiggins d'Anconia
[EMAIL PROTECTED] wrote: How do I best compare mtime of several files. I have a script for making daily backups into a given directory. Now I want to modify it to delete old backups if the total exceed cetain number. The idea was to compare the mtime of all file to figure out old files to delete

Compare file modification time

2005-02-11 Thread perl
How do I best compare mtime of several files. I have a script for making daily backups into a given directory. Now I want to modify it to delete old backups if the total exceed cetain number. The idea was to compare the mtime of all file to figure out old files to delete, but somehow I think it

Re: File Modification

2004-08-19 Thread Randy W. Sims
On 8/19/2004 7:40 PM, Subrata k Bose wrote: It is extremely inapropriate to CC questions to so many people who are already members of the mailing list. If you have a question, simply post it to the list. Regards, Randy. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma