From a671e5fe80c00584ce0d317ea66ec0a782238980 Mon Sep 17 00:00:00 2001 From: aerijman Date: Mon, 23 Dec 2024 13:59:24 -0500 Subject: [PATCH] mac tr combined with /dev/urandom was not working --- run_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_test.sh b/run_test.sh index 8f09567..75164e9 100644 --- a/run_test.sh +++ b/run_test.sh @@ -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() {