I really appreciate this, but I am trying to make it with even a simple loop, the one I provided: could you please let me know what wrong I have done with that loop ?
I know it is trivial, but I want to create a variable with all names of the files, and then pass it to the echo within the loop.
you cannot get a "DEPTH" from a fastq file. the depth is associated to BAM/SAM/CRAM/VCF files.