bioperl-live icon indicating copy to clipboard operation
bioperl-live copied to clipboard

Could Bio::DB::Fasta support gzipped FASTA?

Open Tong-Chen opened this issue 5 months ago • 0 comments

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

Tong-Chen avatar Sep 10 '24 00:09 Tong-Chen