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