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