def get_fasta(wtpdb):
    'Return fasta code of wtpdb'
    from pyscwrl import babel_pdb_for_scwrl
    babel_pdb_for_scwrl(wtpdb)
    fasta = ''
    for line in open('proper.fasta'):
        line = line[:(- 1)]
        if (line[0] == '>'):
            continue
        for char in line:
            fasta += char.lower()
    return fasta
Return fasta code of wtpdb
def get_fasta(wtpdb):
    
    from pyscwrl import babel_pdb_for_scwrl
    babel_pdb_for_scwrl(wtpdb)
    fasta = 
    for line in open('proper.fasta'):
        line = line[:(- 1)]
        if (line[0] == '>'):
            continue
        for char in line:
            fasta += char.lower()
    return fasta