My command is:
simulator.py genome --ref_g $file
--model_prefix ${Model_Output}
--output ${output_dir1}
--number 300
--max_len ${max_len}
--fastq --num_threads 1
But the following error occur (latest version of NanoSim):
Traceback (most recent call last):
File ".conda/envs/NanoSim/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File ".conda/envs/NanoSim/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File ".conda/envs/NanoSim/bin/simulator.py", line 1349, in simulation_aligned_genome
head_vs_ht_ratio = head_vs_ht_ratio_list[each_read]
IndexError: list index out of range