You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm encountering an error when I change my simulated read depth from 5M to 10M. I'm using an abundance file for 200 draft genomes. This is on a computing cluster with at least 448 GB of RAM available. Environment details are below - any ideas on what's going wrong?
# Works fine for lower read depths
readdepth=10M
# Draft genomes are passed as a list of file paths
file_list=$(cat ./mc_input_fungprop_10_unzipped.txt)
(insilicoseq)[zrwerbin@scc-up2 01_mock_community_input]$ iss generate --draft $file_list --model hiseq --output $out_simulated_reads_path --cpus
4 --abundance uniform --n_reads $readdepth
INFO:iss.app:Starting iss generate
INFO:iss.generator:Using kde ErrorModel
INFO:iss.util:Stitching input files together
INFO:iss.generator:Using uniform abundance distribution
INFO:iss.app:Using 4 cpus for read generation
INFO:iss.app:Generating 10000000 reads
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/projectnb/talbot-lab-data/zrwerbin/.conda/envs/insilicoseq/lib/python3.10/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/projectnb/talbot-lab-data/zrwerbin/.conda/envs/insilicoseq/lib/python3.10/multiprocessing/pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File "/projectnb/talbot-lab-data/zrwerbin/.conda/envs/insilicoseq/lib/python3.10/site-packages/iss/generator.py", line 240, in worker_iterator
simulate_reads(
File "/projectnb/talbot-lab-data/zrwerbin/.conda/envs/insilicoseq/lib/python3.10/site-packages/iss/generator.py", line 61, in simulate_reads
for forward_record, reverse_record, mutations in reads_generator(
File "/projectnb/talbot-lab-data/zrwerbin/.conda/envs/insilicoseq/lib/python3.10/site-packages/iss/generator.py", line 75, in reads_generator
forward, reverse, mutations = simulate_read(record, error_model, i, cpu_number, sequence_type)
File "/projectnb/talbot-lab-data/zrwerbin/.conda/envs/insilicoseq/lib/python3.10/site-packages/iss/generator.py", line 180, in simulate_read
Seq(rev_comp(str(sequence[reverse_start:reverse_end]))),
File "/projectnb/talbot-lab-data/zrwerbin/.conda/envs/insilicoseq/lib/python3.10/site-packages/iss/util.py", line 90, in rev_comp
complement = "".join([bases[b] for b in sequence])
File "/projectnb/talbot-lab-data/zrwerbin/.conda/envs/insilicoseq/lib/python3.10/site-packages/iss/util.py", line 90, in <listcomp>
complement = "".join([bases[b] for b in sequence])
KeyError: 'x'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/projectnb/talbot-lab-data/zrwerbin/.conda/envs/insilicoseq/bin/iss", line 8, in <module>
sys.exit(main())
File "/projectnb/talbot-lab-data/zrwerbin/.conda/envs/insilicoseq/lib/python3.10/site-packages/iss/app.py", line 454, in main
args.func(args)
File "/projectnb/talbot-lab-data/zrwerbin/.conda/envs/insilicoseq/lib/python3.10/site-packages/iss/app.py", line 100, in generate_reads
pool.starmap(
File "/projectnb/talbot-lab-data/zrwerbin/.conda/envs/insilicoseq/lib/python3.10/multiprocessing/pool.py", line 375, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File "/projectnb/talbot-lab-data/zrwerbin/.conda/envs/insilicoseq/lib/python3.10/multiprocessing/pool.py", line 774, in get
raise self._value
KeyError: 'x'
(insilicoseq)[zrwerbin@scc-up2 01_mock_community_input]$
Hi, I'm encountering an error when I change my simulated read depth from 5M to 10M. I'm using an abundance file for 200 draft genomes. This is on a computing cluster with at least 448 GB of RAM available. Environment details are below - any ideas on what's going wrong?
The text was updated successfully, but these errors were encountered: