Question: KisSplice error during sampling bubbles by type step
0
gravatar for tbayer
9 months ago by
tbayer0
tbayer0 wrote:

Hi!

I'm tyring to run kissplice on a dataset I've used before with an older version, however now it exits with an error. I'm using version 2.5.1, it does the graph and some other steps until "Sampling bubbles by type". Then this error occurs:

Traceback (most recent call last):
  File "/programs/kissplice/bin/kissplice", line 999, in <module>
    main()
  File "/programs/kissplice/bin/kissplice", line 916, in main
    nb = sort_all_bubbles(KS_SEC_EXEC_PATH, readfiles, workdir, outdir, kval, output_snps, infix_name, not only_graph, options.verbose)
  File "/programs/kissplice/bin/kissplice", line 591, in sort_all_bubbles
    concatenate_graph_all_log_bcc_to_all_bcc_type0(workdir, kval, output_snps)
  File "/programs/kissplice/bin/kissplice", line 464, in concatenate_graph_all_log_bcc_to_all_bcc_type0
    destinationSNPS.write(line)
TypeError: a bytes-like object is required, not 'str'

Is this caused by my input or a bug?

Cheers

kissplice • 217 views
ADD COMMENTlink modified 9 months ago • written 9 months ago by tbayer0
0
gravatar for tbayer
9 months ago by
tbayer0
tbayer0 wrote:

Changing the mode of open in line 453 from ab to just a seems to fix the problem.

ADD COMMENTlink written 9 months ago by tbayer0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1488 users visited in the last hour
_