pyDNase icon indicating copy to clipboard operation
pyDNase copied to clipboard

Question about dnase_bias_estimator.py

Open leinmeng opened this issue 5 years ago • 0 comments

Hello, Recently I use pyDNase to deal with my ATAC-seq data. I encounter a question like below,and I used python 3.6 version. I don't know how to handle this. Could you give me a hint on that? Thx!

Determining transposition sites (roughly 60s per 1E6 reads)... Traceback (most recent call last): File "/usr/local/bin/dnase_bias_estimator.py", line 85, in bed_file_for_6mers = generate_6mer_bed(test_bam, genome_dic(genome)) File "/usr/local/bin/dnase_bias_estimator.py", line 51, in generate_6mer_bed print("\t".join((str(i) for i in (chrom, startbp, endbp, 0, 0, strand))), file=outfile) File "/usr/lib/python3.6/tempfile.py", line 624, in func_wrapper return func(*args, **kwargs) TypeError: a bytes-like object is required, not 'str'

leinmeng avatar Jan 20 '20 15:01 leinmeng