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