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