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