segName='   A'
seq="""
GLY ALA SER ASN SER GLU LYS THR ALA LEU 
LEU THR LYS THR LEU ASN GLN GLY VAL LYS 
THR ILE PHE ASP LYS LEU ASN GLU ARG CYS 
ILE PHE TYR GLN ALA GLY PHE TRP ILE TYR 
GLU TYR CYS PRO GLY ILE GLU PHE VAL GLN 
PHE HIS GLY ARG VAL ASN THR LYS THR GLY 
GLU ILE VAL ASN ARG ASP GLU SER LEU VAL 
TYR ARG LEU GLY LYS PRO LYS ALA ASN VAL 
GLU GLU ARG GLU PHE GLU LEU LEU TYR ASP 
ASP VAL GLY TYR TYR ILE SER GLU ILE ILE 
GLY SER GLY ASP ILE CYS ASP VAL THR GLY 
ALA GLU ARG MET VAL GLU ILE GLN TYR VAL 
CYS GLY GLY SER ASN SER GLY PRO SER THR 
ILE GLN TRP VAL ARG GLU THR LYS ILE CYS 
VAL TYR GLU ALA GLN VAL THR ILE PRO GLU 
LEU CYS ASN LEU GLU LEU LEU ALA LYS ASN 
GLU ASP
"""
patch_list=[]
seqType='prot'
seqSplit = seq.split()
#print "finished reading ["+`len(seqSplit)`+"] residue(s) for a ["+seqType+"] type segi: ["+segName+"]"
