Skip to content
Snippets Groups Projects
Commit d0b142c5 authored by mlmial's avatar mlmial
Browse files

added seed variation script to conduct seed variation analysis with multiple seed sets

parent dc744ae2
No related branches found
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} -conf {config} -var 5 -f -p;'
subprocess.call(command, shell=True)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment