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

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