Skip to content
Snippets Groups Projects
Commit cfc3bf6a authored by Le, Mia's avatar Le, Mia
Browse files

seed variation configuration

parent 28e6a699
Branches
No related tags found
No related merge requests found
#!/usr/bin/env python3
import sys
from os.path import basename
import subprocess, random
import matplotlib.pyplot as plt
network = sys.argv[1]
seedfiles = sys.argv[2:]
config = 'seed_variationconf'
for seeds in seedfiles:
identifier = basename(seeds).rsplit('.')[0] + '_seedvar_different_consensus_approaches'
command = f'./cami.py -n {network} -s {seeds} -id {identifier} -v -conf {config} -var -f;'
subprocess.call(command, shell=True)
\ No newline at end of file
# ========================================
# FileName: camiconf
# Date: 21:00 10.April.2022
# Author: Marcos Chow Castro
# Email: mctechnology170318@gmail.com
# GitHub: https://github.com/mctechnology17
# Brief: main configuration for cami
# =========================================
[domino]
visualization_flag = False
output_name = 'modules.out'
para = 1
c = 'false'
[diamond]
alpha : 1
pred_factor : 3
max_preds : 200
p_value_cutoff : 1e-05
[robust]
initial_fraction = 0.25
reduction_factor = 0.9
number_steiner_trees = 30
threshold = 0.1
[cami]
seed_score = 10.0
# vim: set fdm=marker:
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment