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