File: run_benchmark_01_parse.sh

package info (click to toggle)
golang-github-shenwei356-bio 0.0~git20201213.18e3e64-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 448 kB
  • sloc: perl: 114; sh: 21; makefile: 12
file content (36 lines) | stat: -rwxr-xr-x 721 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh

echo Test: FASTA/Q Parsing
echo Output sequences of all apps are not wrapped to fixed length.


echo -en "\n============================================\n";

for f in dataset_*.f{a,q}; do

    echo read file once with cat
    cat $f > /dev/null;
    
    
    echo -en "\n------------------------------------\n";    
    
    echo == seqkit
    echo data: $f;
    
    memusg -t -H seqkit seq $f -w 0 > $f.seqkit.fa;    
    
    md5sum $f.seqkit.fa;    
    /bin/rm $f.seqkit.fa;
    
    
    echo -en "\n------------------------------------\n";  
    
    echo == seqtk
    echo data: $f;

    memusg -t -H seqtk seq $f > $f.seqtk.fa;
    
    md5sum $f.seqtk.fa;    
    /bin/rm $f.seqtk.fa;        
done