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

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

Ansible warning on jinja2 braces on when -