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