File: generate_test_clusters.sh

package info (click to toggle)
dnaclust 3-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 720 kB
  • sloc: cpp: 3,630; sh: 516; makefile: 64
file content (15 lines) | stat: -rwxr-xr-x 635 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash


for test_name in small_test.fna test_600k.fna ; do 
    for threads in 1 2 3 4 ; do
    
        #run_cmd="${cmd} --no-k-mer-filter "
        eval time ./dnaclust --no-k-mer-filter -t ${threads} ../dnaclust/${test_name} > results/${test_name}.nk.${threads}.clusters
        awk '{print NF}' results/${test_name}.nk.${threads}.clusters > results/${test_name}.nk.${threads}.counts 

        eval time ./dnaclust -t ${threads} ../dnaclust/${test_name} > results/${test_name}.k.${threads}.clusters
        awk '{print NF}' results/${test_name}.k.${threads}.clusters > results/${test_name}.k.${threads}.counts 

    done
done