You haven't use while loop to read the file line by line after opening the file. You don't have to use <STDIN> when you have initialized $infile before. You use <STDIN> when you want the input from the user/keyboard. Also, you haven't defined your file handler. It should be :
my $infile = "xxx_capillary_SNPs.txt\n"; open IN, $infile or die "open infile failed\n"; while(<IN>){ ## do your reverse complement } close(IN);
In reply to Re: Another Reverse Complement Question...
by snape
in thread Another Reverse Complement Question...
by lkenefic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |