Skip to content

head_vs_ht_ratio = head_vs_ht_ratio_list[each_read] IndexError: list index out of range #228

@huangxin0221

Description

@huangxin0221

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions