Hi!
I have a problem (surprise

).
I have no programming skills at all, but I need to write a script that reads data from a file (tab delimited list, three entries each line), places those three paramters in a textfile, which is then fed into a program. The goal is to run each line of parameters through this program and create a resultfile for each.
My problem is with the parsing of the inputfile. I know that I may be able to solve my problem by reading sed/awk/perl/bash manuals, but I do this for several hours already without making major advances.
So if you are a programming specialist, for whom this is a task of several seconds, could you please push me into the right direction (maybe with an example script)? Thank you very much!
More info:
Input file:
Code:
1 CTTGCTATTGGTAAGGAAACTG GTATTTGTGCTCTGGGAAGAC
2 CTTGCTATTGGTAAGGAAACTG TATTTGTGCTCTGGGAAGAC
3 CTTGCTATTGGTAAGGAAACTG ATTTGTGCTCTGGGAAGAC
4 TTGCTATTGGTAAGGAAACTGG GTATTTGTGCTCTGGGAAGAC
...
Temporary text file:
Code:
PRIMER_SEQUENCE_ID=NUM
PRIMER_LEFT_INPUT=FWD
PRIMER_RIGHT_INPUT=REV
PRIMER_PICK_ANYWAY=1
PRIMER_MIN_TM=55
PRIMER_EXPLAIN_FLAG=1
...
The parameters to be replaced are NUM, FWD and REV (can be renamed).