a file bash in loop code example
Example 1: bash iterate over lines of a file
while read p; do
echo "$p"
done <peptides.txt
Example 2: how to collect values from each iteration of a loop and save them bash
VARIABLE=$(for time in ...; do ...; done)