open ($ESTs_W_SNPs, '>', $output_file) or die "Cannot write to $o +utput_file\n";
Every time you open this file it will overwrite the previous contents of the file so that at the end of the loop only the last line will be saved. Either move this open outside the loop so it only executes once, or open the file in append mode so that the file doesn't get overwritten.
In reply to Re: Help troubleshoot FASTA parsing code.
by jwkrahn
in thread Help troubleshoot FASTA parsing code.
by bigmac3000lbs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |