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

Failure to open file #16

Open
asouzujoseph opened this issue Oct 9, 2024 · 0 comments
Open

Failure to open file #16

asouzujoseph opened this issue Oct 9, 2024 · 0 comments

Comments

@asouzujoseph
Copy link

Hi,
I successfully ran the demo examples but when I tried replicating the same process with my samples, I got an error as shown below:

docker run --rm -v /home/share/projects/data-other/genetics_pipeline/cnv_Pipeline/bamgineer/docker-example:/src -it suluxan/bamgineer-v2 -config /src/inputs/config.cfg -splitbamdir /src/splitbams -cnv_bed /src/inputs/cnv.bed -vcf /src/inputs/phased_no_indel_chr13.vcf -exons /src/inputs/exons.bed -outbam /src/outputs/tumour.bam -results /src/outputs

('OPTIONS:', Namespace(cancerType=None, chrList=None, cnvBed='/src/inputs/cnv.bed', configfile='/src/inputs/config.cfg', ctDNA=False, exons='/src/inputs/exons.bed', inbamFile=None, outBamFile='/src/outputs/tumour.bam', outputDir='/src/outputs', phase=False, singleXY=False, splitbams='/src/splitbams', vcf='/src/inputs/phased_no_indel_chr13.vcf'))

/src/outputs
___ generating phased bed ___
___ extracting roi bams ___
[E::hts_open] fail to open file '/src/outputs/tmpbams/chr13_roigainABB48941605.bam'
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/bamgineer/src/helpers/handlers.py", line 76, in receive
record = self.queue.get(True, self.polltime)
File "/usr/local/lib/python2.7/dist-packages/multiprocess/queues.py", line 138, in get
res = self._recv()
File "/usr/local/lib/python2.7/dist-packages/dill/_dill.py", line 275, in loads
return load(file, ignore, **kwds)
File "/usr/local/lib/python2.7/dist-packages/dill/_dill.py", line 270, in load
return Unpickler(file, ignore=ignore, **kwds).load()
File "/usr/local/lib/python2.7/dist-packages/dill/_dill.py", line 472, in load
obj = StockUnpickler.load(self)
File "/usr/lib/python2.7/pickle.py", line 864, in load
dispatchkey
File "/usr/lib/python2.7/pickle.py", line 1139, in load_reduce
value = func(*args)
TypeError: init() takes exactly 2 arguments (1 given)

Please, how can I resolve this problem?

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