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