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