I have this file:
NC_003037.1 453555 454448
NC_007493.2 2279220 2278345
NC_007952.1 1763831 1762950
NC_005791.1 844089 844916
I want to iterate of each line to obtain variables "id" "column1" "column2", that I will use in this command:
efetch -db nuccore -id $id -chr_start $column1 -chr_stop $column2 -format fasta > file.txt
Could you guide me with a way to do this in a shell script?