Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^2: file header change

by utpalmtbi (Acolyte)
on Feb 05, 2013 at 10:20 UTC ( #1017107=note: print w/ replies, xml ) Need Help??

in reply to Re: file header change
in thread file header change

sorry for the previous post:

use strict; use warnings; sub read_file { my( $filename ) = <STDIN>; my @lines; sub read_file { my( $filename ) = <STDIN>; my @lines; open( FILE, "< $filename" ) or die "Can't open $filename : $!" +; { if( @line =~ />contig_(\d+)\s/ ) { print ">$1\n"; } else { print "$line\n"; } }

Comment on Re^2: file header change
Download Code
Replies are listed 'Best First'.
Re^3: file header change
by Anonymous Monk on Feb 05, 2013 at 11:27 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017107]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2015-10-09 02:50 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (232 votes), past polls