comparison COBRAxy/ras_generator.py @ 42:ec7d0f8d34e4 draft

Uploaded
author bimib
date Tue, 08 Oct 2024 16:43:43 +0000
parents a1ab05a70185
children a15126d5cd60
comparison
equal deleted inserted replaced
41:a1ab05a70185 42:ec7d0f8d34e4
229 elif args.rules_selector == 'Recon': 229 elif args.rules_selector == 'Recon':
230 gene_in_rule = pk.load(open(args.tool_dir + '/local/pickle files/Recon_genes.p', 'rb')) 230 gene_in_rule = pk.load(open(args.tool_dir + '/local/pickle files/Recon_genes.p', 'rb'))
231 231
232 elif args.rules_selector == 'ENGRO2': 232 elif args.rules_selector == 'ENGRO2':
233 gene_in_rule = pk.load(open(args.tool_dir + '/local/pickle files/ENGRO2_genes.p', 'rb')) 233 gene_in_rule = pk.load(open(args.tool_dir + '/local/pickle files/ENGRO2_genes.p', 'rb'))
234 print(gene_in_rule) 234 #print(gene_in_rule)
235 print(type_gene) 235 print(type_gene)
236 gene_in_rule = gene_in_rule.get(type_gene) 236 gene_in_rule = gene_in_rule.get(type_gene)
237 237
238 else: 238 else:
239 gene_in_rule = gene_custom 239 gene_in_rule = gene_custom