This is my first time trying CNVkit on this computing cluster, previously I had it working on a local computer with version 0.8.2 I believe. I'll try installing through conda. Here's the traceback with no multiprocessing for my sample data:
Traceback (most recent call last):
File "/u/home/n/nbay13/cnvkit/cnvkit.py", line 13, in <module>
args.func(args)
File "/u/home/n/nbay13/cnvkit/cnvlib/commands.py", line 597, in _cmd_segment
processes=args.processes)
File "/u/home/n/nbay13/cnvkit/cnvlib/segmentation/__init__.py", line 32, in do_segmentation
skip_outliers, save_dataframe, rlibpath)
File "/u/home/n/nbay13/cnvkit/cnvlib/segmentation/__init__.py", line 117, in _do_segmentation
sample_id=cnarr.sample_id)
File "/u/home/n/nbay13/cnvkit/skgenome/tabio/__init__.py", line 78, in read
dframe = reader(infile, **kwargs)
File "/u/home/n/nbay13/cnvkit/skgenome/tabio/seg.py", line 68, in read_seg
for sid, dframe in results:
File "/u/home/n/nbay13/cnvkit/skgenome/tabio/seg.py", line 147, in parse_seg
(err, next(handle)))
ValueError: Unexpected dataframe contents:
NULL byte detected. This byte cannot be processed in Python's native csv library at the moment, so please pass in engine='c' instead
"dedup_reads_GS027_10mil" "chr1" 143401632 248919830 16965 -0.14007255304696
The error:
comes from python's csv parser. Find the file it is trying to read and check it is properly formed then work from there to find the cause. See the answer to the same question here.