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