bash - how to run STRUCTURE command n times for each k value? -
i running structure analysis , set k = {1..10} using command (only 1 run each k):
k in seq 10 python /home/ubuntu/bin/faststructure/structure.py -k $k --input=../file.snps --output=snpl525d --format=str done
instead of 1 run each k, want 15 runs each k. please me modify code above job? thanks
you can use seq
call:
for k in $(seq 10); run in $(seq 15); python /home/ubuntu/bin/faststructure/structure.py -k $k --input=../file.snps --output=snpl525d --format=str done done
Comments
Post a Comment