So the first part (binsanity alone) works fine: the bins output into IGM-TEST. The same hangup happened with the second line- same error.
On a whim, I typed “." and hit return to offer it a response about where to put its files (even though no prompt appears), and it ran- but with new errors! Seems to be missing some file. Full context below. But it’s probably needing to have me run hmmer earlier in the CheckM workflow. I’ll dig in to that and see.
Then, I re-ran the checkm command again and it didn’t fail. So…. once it’s specified, it’s uses that location? Maybe some quirk of updating hmmer solved that part?
So, binsanity-wf still throws errors for the example, but now it’s something more complex, and may be on my end.
(P.S. Say hi to John for me! Hope all is well in lab.)
helen$ checkm lineage_wf -x fna -t 4 IGM-TEST IGM-Checkm-results > igm-checkM.out
.
*******************************************************************************
[CheckM - tree] Placing bins in reference genome tree.
*******************************************************************************
Identifying marker genes in 22 bins with 4 threads:
Process Process-4:ssing 0 of 22 (0.00%) bins.
Traceback (most recent call last):
File "/home/ubuntu/anaconda2/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/ubuntu/anaconda2/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/markerGeneFinder.py", line 122, in __processBin
hmmModelFile = markerSetParser.createHmmModelFile(binId, markerFile)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/markerSets.py", line 318, in createHmmModelFile
markerFileType = self.markerFileType(markerFile)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/markerSets.py", line 418, in markerFileType
with open(markerFile, 'r') as f:
IOError: [Errno 2] No such file or directory: '/home/ubuntu/BinSanity/example/hmms/phylo.hmm'
Process Process-2:
Traceback (most recent call last):
File "/home/ubuntu/anaconda2/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/ubuntu/anaconda2/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/markerGeneFinder.py", line 122, in __processBin
hmmModelFile = markerSetParser.createHmmModelFile(binId, markerFile)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/markerSets.py", line 318, in createHmmModelFile
markerFileType = self.markerFileType(markerFile)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/markerSets.py", line 418, in markerFileType
with open(markerFile, 'r') as f:
IOError: [Errno 2] No such file or directory: '/home/ubuntu/BinSanity/example/hmms/phylo.hmm'
Process Process-5:
Traceback (most recent call last):
File "/home/ubuntu/anaconda2/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/ubuntu/anaconda2/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/markerGeneFinder.py", line 122, in __processBin
hmmModelFile = markerSetParser.createHmmModelFile(binId, markerFile)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/markerSets.py", line 318, in createHmmModelFile
markerFileType = self.markerFileType(markerFile)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/markerSets.py", line 418, in markerFileType
with open(markerFile, 'r') as f:
IOError: [Errno 2] No such file or directory: '/home/ubuntu/BinSanity/example/hmms/phylo.hmm'
Process Process-3:
Traceback (most recent call last):
File "/home/ubuntu/anaconda2/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/ubuntu/anaconda2/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/markerGeneFinder.py", line 122, in __processBin
hmmModelFile = markerSetParser.createHmmModelFile(binId, markerFile)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/markerSets.py", line 318, in createHmmModelFile
markerFileType = self.markerFileType(markerFile)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/markerSets.py", line 418, in markerFileType
with open(markerFile, 'r') as f:
IOError: [Errno 2] No such file or directory: '/home/ubuntu/BinSanity/example/hmms/phylo.hmm'
Saving HMM info to file.
Calculating genome statistics for 22 bins with 4 threads:
Finished processing 22 of 22 (100.00%) bins.
Extracting marker genes to align.
[Error] Models must be parsed before identifying HMM hits.
Traceback (most recent call last):
File "/home/ubuntu/anaconda2/bin/checkm", line 712, in <module>
checkmParser.parseOptions(args)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/main.py", line 1244, in parseOptions
self.tree(options)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/main.py", line 156, in tree
os.path.join(options.out_folder, 'storage', 'tree')
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/hmmerAligner.py", line 104, in makeAlignmentToPhyloMarkers
resultsParser.parseBinHits(outDir, hmmTableFile, False, bIgnoreThresholds, evalueThreshold, lengthThreshold)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/checkm/main.py", line 1205, in parseOptions
if options.bVerbose:
AttributeError: 'Namespace' object has no attribute 'bVerbose'