Hi,
I need to determine the length of each of my fastq files in a directory which I know you can do by using find . | xargs wc -l
.
However I need them to be decompressed before the length can be determined. I know you use the zcat
command to do this.
What I am struggling with is how to combine the two together to get the length of each file in my directory after decompression in one line of code.
For total number of lines for each fastq.gz:
Since it is fastq, you may want to print number of reads, instead of lines.
assuming that first letter of the quality line in any of the read in the file is not
@