perl open gz gz compressed file compressed file output

Open the zip file

open(FILE,"gunzip -c $file|") or die "can't open!";

Output file compression

open(my $result,"|gzip >file_name.fq.gz");

Guess you like

Origin www.cnblogs.com/artesian0526/p/11532766.html