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
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'
The text was updated successfully, but these errors were encountered:
zoi-mibtp
added a commit
to zoi-mibtp/pyDNase
that referenced
this issue
Jul 13, 2021
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'
The text was updated successfully, but these errors were encountered: