metaWRAP: Something wrong when using metawrap bin_refinement
When I use metawrap bin_refinement, something wrong happened after BIN REFINEMENT and begin checkm, detailed information is below:
Running CheckM on binsA bins -----
------------------------------------------------------------------------------------------------------------------------
*******************************************************************************
[CheckM - tree] Placing bins in reference genome tree.
*******************************************************************************
Identifying marker genes in 35 bins with 8 threads:
Process SyncManager-1:
Traceback (most recent call last):
File "/home/hanwei/miniconda3/envs/metawrap-env/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap
self.run()
File "/home/hanwei/miniconda3/envs/metawrap-env/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/home/hanwei/miniconda3/envs/metawrap-env/lib/python2.7/multiprocessing/managers.py", line 550, in _run_server
server = cls._Server(registry, address, authkey, serializer)
File "/home/hanwei/miniconda3/envs/metawrap-env/lib/python2.7/multiprocessing/managers.py", line 162, in __init__
self.listener = Listener(address=address, backlog=16)
File "/home/hanwei/miniconda3/envs/metawrap-env/lib/python2.7/multiprocessing/connection.py", line 132, in __init__
self._listener = SocketListener(address, family, backlog)
File "/home/hanwei/miniconda3/envs/metawrap-env/lib/python2.7/multiprocessing/connection.py", line 256, in __init__
self._socket.bind(address)
File "/home/hanwei/miniconda3/envs/metawrap-env/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
error: [Errno 22] Invalid argument
Unexpected error: <type 'exceptions.EOFError'>
Traceback (most recent call last):
File "/home/hanwei/miniconda3/envs/metawrap-env/bin/checkm", line 711, in <module>
checkmParser.parseOptions(args)
File "/home/hanwei/miniconda3/envs/metawrap-env/lib/python2.7/site-packages/checkm/main.py", line 1252, in parseOptions
self.tree(options)
File "/home/hanwei/miniconda3/envs/metawrap-env/lib/python2.7/site-packages/checkm/main.py", line 134, in tree
options.bCalledGenes)
File "/home/hanwei/miniconda3/envs/metawrap-env/lib/python2.7/site-packages/checkm/markerGeneFinder.py", line 67, in find
binIdToModels = mp.Manager().dict()
File "/home/hanwei/miniconda3/envs/metawrap-env/lib/python2.7/multiprocessing/__init__.py", line 99, in Manager
m.start()
File "/home/hanwei/miniconda3/envs/metawrap-env/lib/python2.7/multiprocessing/managers.py", line 528, in start
self._address = reader.recv()
EOFError
************************************************************************************************************************
***** Something went wrong with running CheckM. Exiting... *****
************************************************************************************************************************
About this issue
- Original URL
- State: open
- Created 6 years ago
- Comments: 15
deletion of two ‘–tmpdir binsO.tmp’ and two ‘–tmpdir binsO.tmp’ in bin_refinement.sh solved my problem. Thanks.
Hi, This is the error from the “checkm”
check the ‘<metawrap_path>/bin/metawrap-modules/bin_refinement.sh’ line 301 and 303
checkm lineage_wf -x fa $bin_set ${bin_set}.checkm -t $threads --tmpdir ${bin_set}.tmp --pplacer_threads $p_threadscheckm lineage_wf -x fa $bin_set ${bin_set}.checkm -t $threads --tmpdir ${bin_set}.tmp --pplacer_threads $p_threadsif you do not set the parameter “–skip-check” you will get this error, just because the ${bin_set} is a symbolic link
I used
ln -sto save the usage of the disk, so I got this error.hi. how to set the parameter ‘–tmpdir’ during bin_refinement?
I also met this problem. And I found what was going wrong. The point is the checkm parameter ‘–tmpdir’ when the path include symbolic link this error can be seen.
I hope this may help.