perl : while(defined(my $f1=<FQ1>) && defined(my $f2=<FQ2>)){ condition } python3 : for line1,line2 in zip(fileHandle1,fileHandle2): condition
perl : while(defined(my $f1=<FQ1>) && defined(my $f2=<FQ2>)){ condition } python3 : for line1,line2 in zip(fileHandle1,fileHandle2): condition