I have a bash script to process ".abi" files with its reference ".fasta" file.
When I have a multiple header single FASTA file (each containing different genes), it would be split into multiple fasta files with each file containing one FASTA header and sequence.
What I need to know is how can I iterate through each of the ".fasta" gene reference files along with their respective ".abi" files through the script so that I get one result at a time for each of the ".abi" file (which is done by the script)..
Thats exactly what I want to do but the problem is that the names of each of the .abi files will be different from the .fasta file and the .fasta files header contain something like this:
>chr1:12345
Why this is needed is that 12345, for example, is the start position of the respective genes in the .fasta files and this would be necessary for the script.