Skip to content

Commit df3786e

Browse files
committed
Fix high argument in fasta_to_fastq
1 parent 7bc3695 commit df3786e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micall/utils/fasta_to_fastq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def simulate_reads(reference: Seq,
5555

5656
ref_len = len(reference)
5757
file_num = 2 if is_reversed else 1
58-
gen = stable_random_distribution(high=(ref_len - min_length)+1, rng=rng)
58+
gen = stable_random_distribution(high=(ref_len - min_length), rng=rng)
5959

6060
for i in range(n_reads):
6161
# Choose a read length uniformly between min_length and max_length.

0 commit comments

Comments
 (0)