-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
head_vs_ht_ratio = head_vs_ht_ratio_list[each_read] IndexError: list index out of range #228
Comments
Hi @huangxin0221, Could you please provide us with more information, including:
Thank you for your interest in NanoSim! |
Hi @lcoombe, I have the same issue. I'm using NanoSim version 3.2.1 (installed via Conda on linux 64), and the command I used:
My genome size is about 373MB, it is a simulated genome from grch38 reference chr1. I used pretrained model Thanks for your help!
|
Hi @RunpengLuo, I have a tentative fix in #233, which will hopefully be merged to master branch later today. I will also update when the fix is integrated in a new release - but feel free to test out that code in the meantime to see if it fixes your error! |
The fix has been included in the newly released v3.2.2 |
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
The text was updated successfully, but these errors were encountered: