Mercurial > repos > bimib > cobraxy
comparison COBRAxy/ras_generator.py @ 45:95d67e76d647 draft
Uploaded
author | bimib |
---|---|
date | Tue, 08 Oct 2024 16:57:44 +0000 |
parents | 76924a2fd939 |
children | edc096339f0d |
comparison
equal
deleted
inserted
replaced
44:76924a2fd939 | 45:95d67e76d647 |
---|---|
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 | |
235 print(args.rules_selector) | |
234 gene_in_rule = gene_in_rule.get(type_gene) | 236 gene_in_rule = gene_in_rule.get(type_gene) |
235 | 237 |
236 else: | 238 else: |
237 gene_in_rule = gene_custom | 239 gene_in_rule = gene_custom |
238 tmp = [] | 240 tmp = [] |