Skip to content

Commit

Permalink
mac tr combined with /dev/urandom was not working
Browse files Browse the repository at this point in the history
  • Loading branch information
aerijman committed Dec 23, 2024
1 parent 63b024b commit a671e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ rm tmp_fq

gen_rand_seq() {
length=$1
tr -dc 'ACGT' < /dev/urandom | head -c ${length}
LC_CTYPE=C tr -dc 'ACGT' < /dev/urandom | head -c ${length}
}
export -f gen_rand_seq
revcomp() {
Expand Down

0 comments on commit a671e5f

Please sign in to comment.