in reply to Re: Extracting field information from a GenBank file.
in thread Extracting field information from a GenBank file.
A couple of comments on your code:
use strict; use autodie; open my $fh, '<', 'fluseq.txt'; my @tmp = do {local $/='ORIGIN'; <$fh>}; my $dna = pop @tmp; $dna =~ s/[^acgt]//gi; # delete all but a, c, g, and t print $dna;
|
|---|