If i have the following alignment
P1;1ji4
structureX:1ji4:FIRST:A:LAST:A::::
MKTFEILKHLQADAIVLFMKVHNFHWNVKGTDFFNVHKATEEI---------Y
EEFADMFDDLAERIVQLGHHPLVTLSEAIKLTRV-----KEETKTSFHSKDIF
KEILEDYKYLEKEFKELSNTAEKEGDKVTVTYADDQLAKLQKSIWMLQAHL--
-----A*
P1;madeup
sequence:madeup:::::::
-------------------------------------------MSFIEKMIGS
LNDKREWKAMEARAKAL---PKEYHHAYKAIQKYMWTSGG--PTDWQDTKRIF
GGILDLFEEGAAEGKKVTDLTGE--D--VAAFCDELMKDTKTWMDKYRTKLND
SIGRD-*
and i want to transfer the coordinates from my template to my sequence
without building the loops. How should I change my code so it would do
that for me??