Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid contig chr3 #116

Open
tslzs opened this issue Jul 18, 2023 · 0 comments
Open

invalid contig chr3 #116

tslzs opened this issue Jul 18, 2023 · 0 comments

Comments

@tslzs
Copy link

tslzs commented Jul 18, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant