def process_genes(names_list, prefix=""):
    for gene_name in names_list:
        gene = genes.__dict__[gene_name]
        # may still fail for some lengths due to minimum nop length
        if gene.size <= host_gene.size:
            dna.create_and_run_prefix(prefix + \
                            dna.replace_procedure_prefix(host_gene, gene) + \
                            host_activation_prefix,
                            "data\\ripped_pages\\" + gene_name)
def genelist_integrity():
    gene = genes.printgenetable
    push_true = dna.push_to_blue_prefix('P')
    integrity_prefix = dna.replace_procedure_prefix(host_gene, gene, push_true) 
    
    for page in range(15):
        listpage_prefix = genes.gene_table_page_nr.patch_prefix(
                                                        dna.asnat(page, length=24))
        #genelist_prefix += guide_page_prefix(42)
        
        dna.create_and_run_prefix(listpage_prefix + integrity_prefix + \
                                  host_activation_prefix,
                        'data/guide/genelist_integrity/{0:02}'.format(page))