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

    Create a combined Rfam.seed file and compress it.
    
Create a combined Rfam.seed file and compress it.
Create a combined Rfam . seed file and compress it .
def create_seed_archive(destination):
    cwd = os.getcwd()
    os.chdir(destination)
    cmd = "rm -f Rfam.seed && cat *.seed > Rfam.seed && gzip -c Rfam.seed > Rfam.seed.gz"
    status = os.system(cmd.format(destination))
    if status:
        raise Exception('There was a problem generating Rfam.seed.gz in {}'.format(destination))
    os.chdir(cwd)
def create_seed_archive ( destination ) : cwd = os . getcwd ( ) os . chdir ( destination ) cmd = "rm -f Rfam.seed && cat *.seed > Rfam.seed && gzip -c Rfam.seed > Rfam.seed.gz" status = os . system ( cmd . format ( destination ) ) if status : raise Exception ( 'There was a problem generating Rfam.seed.gz in {}' . format ( destination ) ) os . chdir ( cwd )
Create a combined Rfam.seed file and compress it.
Create a combined Rfam . seed file and compress it .
"""
    Create a combined Rfam.seed file and compress it.
    """
destination