YeoLab / clipper

A tool to identify CLIP-seq peaks
Other
64 stars 41 forks source link

invalid contig chr3 #116

Open tslzs opened 1 year ago

tslzs commented 1 year ago

Traceback (most recent call last): File "/opt/conda/envs/clipper3/lib/python3.7/multiprocessing/pool.py", line 121, in worker result = (True, func(*args, **kwds)) File "/opt/conda/envs/clipper3/lib/python3.7/site-packages/clipper-2.1.2-py3.7-linux-x86_64.egg/clipper/src/call_peak.py", line 932, in call_peaks subset_reads = list(bam_fileobj.fetch(reference=str(interval.chrom), start=interval.start, end=interval.stop)) File "pysam/libcalignmentfile.pyx", line 1081, in pysam.libcalignmentfile.AlignmentFile.fetch File "pysam/libchtslib.pyx", line 686, in pysam.libchtslib.HTSFile.parse_region ValueError: invalid contig chr3 """

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/opt/conda/envs/clipper3/bin/clipper", line 33, in sys.exit(load_entry_point('clipper==2.1.2', 'console_scripts', 'clipper')()) File "/opt/conda/envs/clipper3/lib/python3.7/site-packages/clipper-2.1.2-py3.7-linux-x86_64.egg/clipper/src/main.py", line 266, in call_main main(options) File "/opt/conda/envs/clipper3/lib/python3.7/site-packages/clipper-2.1.2-py3.7-linux-x86_64.egg/clipper/src/main.py", line 105, in main peaks_dicts.append(job.get(timeout=options.timeout)) File "/opt/conda/envs/clipper3/lib/python3.7/multiprocessing/pool.py", line 657, in get raise self._value ValueError: invalid contig chr3

hello everyone, I want to know how to address this issue, anyone can help me?