KisSplice error during sampling bubbles by type step
1
0
Entering edit mode
4.5 years ago
tbayer ▴ 50

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 • 891 views
ADD COMMENT
0
Entering edit mode
4.5 years ago
tbayer ▴ 50

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

ADD COMMENT

Login before adding your answer.

Traffic: 1721 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6