bioperl-live
bioperl-live copied to clipboard
Could Bio::DB::Fasta support gzipped FASTA?
Could Bio::DB::Fasta support gzipped FASTA or file handler?
open(my $FASTA_INPUT_FH, "zcat $opt_fastafile |") or die "gunzip $opt_fastafile: $!";
my $db = Bio::DB::Fasta->new($FASTA_INPUT_FH);
Best,
Tong Chen