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