Improve the performance for Dbfetch
time ./dbfetch_lwp.pl fetchBatch sp wap_rat,wap_pig fasta
real 0m 0.30s
hyperfine 'cwltool dbfetch.cwl --dbName sp --id wap_rat,wap_pig --method fetchBatch --outFormat fasta'
Benchmark #1: cwltool dbfetch.cwl --dbName sp --id wap_rat,wap_pig --method fetchBatch --outFormat fasta
Time (mean ± σ): 3.711 s ± 0.084 s [User: 1.794 s, System: 0.205 s]
Range (min … max): 3.567 s … 3.809 s
hyperfine './wes_request.sh'
Benchmark #1: ./wes_request.sh
Time (mean ± σ): 13.409 s ± 1.961 s [User: 6.681 s, System: 3.073 s]
Range (min … max): 12.023 s … 17.907 s
WES takes ~10 s more than with CWL alone.