wgbs_tools
wgbs_tools copied to clipboard
bed2beta error?
Hi:
wgbstools is a great tool!
I noticed that this line of code might have some issues,
https://github.com/nloyfer/wgbs_tools/blob/master/src/python/bed2beta.py
code:
df = pd.read_csv(bed_path, sep='\t', header=header, names=['chr', 'start', 'meth', 'total'], usecols=[0, 1, 3, 4], nrows=nrows)
should be:
"names=['chr', 'start', 'end', 'meth', 'total']"
thank you