scripts/export/generate_ftp_files.py
def create_combined_cm_file(destination):
    """
    Create a combined Rfam.cm file.
    """
    cwd = os.getcwd()
    os.chdir(destination)
    cmd = "rm -f Rfam.cm && cat *.CM > Rfam.cm"
    status = os.system(cmd.format(destination))
    if status:
        raise Exception('There was a problem generating Rfam.cm in {}'.format(destination))
    os.chdir(cwd)

    Create a combined Rfam.cm file.
    
Create a combined Rfam.cm file.
Create a combined Rfam . cm file .
def create_combined_cm_file(destination):
    cwd = os.getcwd()
    os.chdir(destination)
    cmd = "rm -f Rfam.cm && cat *.CM > Rfam.cm"
    status = os.system(cmd.format(destination))
    if status:
        raise Exception('There was a problem generating Rfam.cm in {}'.format(destination))
    os.chdir(cwd)
def create_combined_cm_file ( destination ) : cwd = os . getcwd ( ) os . chdir ( destination ) cmd = "rm -f Rfam.cm && cat *.CM > Rfam.cm" status = os . system ( cmd . format ( destination ) ) if status : raise Exception ( 'There was a problem generating Rfam.cm in {}' . format ( destination ) ) os . chdir ( cwd )
Create a combined Rfam.cm file.
Create a combined Rfam . cm file .
"""
    Create a combined Rfam.cm file.
    """
destination