Skip to content

Commit

Permalink
Fix tests/small_mers.sh
Browse files Browse the repository at this point in the history
* Don't use bashisms. Use file system instead of <() construct.
  • Loading branch information
gmarcais committed Aug 23, 2019
1 parent 08d7446 commit e4ad80f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/small_mers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ mkdir -p tests-data; cd tests-data
for i in $(seq 2 10); do
$JF count -t $nCPUs -o ${pref}_m${i}_10M_25.jf -s 10M -c 25 -m $i -C seq10m.fa
$JF count -t $nCPUs -o ${pref}_m${i}_10M_5.jf -s 1k -c 5 -m $i -C seq10m.fa
diff -q <($JF histo ${pref}_m${i}_10M_25.jf) <($JF histo ${pref}_m${i}_10M_5.jf)
$JF histo ${pref}_m${i}_10M_25.jf > ${pref}_m${i}_10M_25.histo
$JF histo ${pref}_m${i}_10M_5.jf > ${pref}_m${i}_10M_5.histo
diff -q ${pref}_m${i}_10M_25.histo ${pref}_m${i}_10M_5.histo
done

0 comments on commit e4ad80f

Please sign in to comment.