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