Let's say I have a txt file like:
CGND_01234 CGND-HRA-00736
CGND_34563 CGND-HRA-00567
...
How do I create a for loop for the below line in bash that iterates every line in the file?
find ./${first_word_in_the_first_line} -name "${second_word_in_the_first_line}*.bam" -type f
find ./${first_word_in_the_second_line} -name "${second_word_in_the_second_line}*.bam" -type f
...