Hi everyone, I am using bash (in which I am new) to perform a variant calling on 50 bam files. The 50 bam files are each in a different folders, example: ./file1/file1.bam ./file2/file2.bam ... I would like to create a loop to perform the variant calling in all my sample but I have no idea how to do it. I have file summing up the name of each file, for example: file1 file2 file3 ... Thank you a lot for your help, Best,
Lenha
Thank you so much for your help. I'll try ! Thanks !
prog **/*.bam
works in zsh. ☺Learn something new every day.
prog ./*/*.bam
should work in Bash..