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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -