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