def writeJackalScapFile(mutationData=None, filename='1xxx_scap.list',
    options=None):
    """
    writing a scap file for, i.e., generating a mutated protein
    """
    file = open(filename, 'w')
    for chainID, code1, resNumb, code2 in mutationData:
        str = '%s, %d, %s\n' % (chainID, resNumb, code2)
        file.write(str)
    file.close()
