Error running get_kmers.py

12 views
Skip to first unread message

Johannes Nicolaus Wibisana

unread,
Apr 18, 2023, 11:21:37 PM4/18/23
to Ubismap
Hi all,

I just got access to slurm HPC, but I got the following error, for several different job IDs:

Traceback (most recent call last):
  File "/usr/local/bin/get_kmers.py", line 265, in <module>
    idx_path)
  File "/usr/local/bin/get_kmers.py", line 97, in __init__
    self.chrom, self.start, self.end = self.get_region()
  File "/usr/local/bin/get_kmers.py", line 130, in get_region
    job_id))
ValueError: 596 Job id is larger than available indices

when running get_kmers.py. 

Best regards,
Nico

Delva Leão

unread,
Apr 19, 2023, 12:59:50 PM4/19/23
to Johannes Nicolaus Wibisana, Ubismap
Hi Nico,

This just means you attributed an array that was too long in the --array option. 
For making kmers and aligning them, the array length should match the number of lines in chrsize_index.tsv
For the other steps --array should be equal to the number of scaffolds or chromosomes you have in the input genome.

Best,
Delva

--
You received this message because you are subscribed to the Google Groups "Ubismap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ubismap+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ubismap/26465c7a-b95c-4b4d-b059-5506b5b80206n%40googlegroups.com.


--
Delva Leão
Biotechnologist, MSc.
Reply all
Reply to author
Forward
0 new messages