Hi all,
I want to create a file like this:
NC_010109.1 NTRFinder motif_small_b 789 799 . . . ID=NTR-a1;Parent=NTR-a;Name=motif_small_b
NC_010109.1 NTRFinder motif_small_a 811 821 . . . ID=NTR-a2;Parent=NTR-a;Name=motif_small_a
NC_010109.1 NTRFinder motif_small_j 822 832 . . . ID=NTR-a3;Parent=NTR-a;Name=motif_small_j
NC_010109.1 NTRFinder motif_tall_a 833 880 . . . ID=NTR-a4;Parent=NTR-a;Name=motif_tall_a
NC_010109.1 NTRFinder motif_small_a 881 891 . . . ID=NTR-a5;Parent=NTR-a;Name=motif_small_a
NC_010109.1 NTRFinder motif_small_b 892 902 . . . ID=NTR-a6;Parent=NTR-a;Name=motif_small_b
I have 2 arrays: in the first array is the 3rd, 4th and 5th column saved, in the second array the other columns. Now I want to put the arrays together and crate a file like above. The problem is that the 9th column refers to the 3rd (the "Name" and the ID will is counted).
Any idea how I can realise that?
Cheers, Anja