Comments (6)
@dparks1134 is on holidays at the moment, but if I was to have a stab at this I might think that you have 2 versions of checkm installed. The new checkm is what you are calling when you run checkm test
, but that checkm is loading the old version of python when it imports (and options.pplacer
is a relatively new addition). Possible?
from checkm.
@wwood I don't think so, I just installed one checkm and I have never used it before. Thank you for reply :)
from checkm.
Ah, I see. From
https://github.com/Ecogenomics/CheckM/wiki/Installation#unit-tests
Note: this unit test is currently out-of-sync will some recent features. As such, it will fail during Step 3. However, this is sufficient to show that CheckM is install properly. The unit tests will be fixed in the next release.
So there it is, you don't seem to have much to worry about. I'm not sure you are at step 3, but I think you should be good to go and use checkm on real data, and the error you are encountering is an issue of syncing the tests with the code. Thanks for caring about software integrity enough to run the tests though.
from checkm.
@wwood I tried real bins, but there are still errors.
yifan@yifan-VirtualBox:~/Documents/Working_directory/wd_for_checkm$ checkm lineage_wf -t 4 /home/yifan/Documents/Working_directory/wd_for_checkm /home/yifan/Documents/Working_directory/wd_for_checkm
*******************************************************************************
[CheckM - tree] Placing bins in reference genome tree.
*******************************************************************************
[Warning] Output directory must be empty: /home/yifan/Documents/Working_directory/wd_for_checkm
Controlled exit resulting from an unrecoverable error or warning.
yifan@yifan-VirtualBox:~/Documents/Working_directory/wd_for_checkm$ checkm lineage_wf -t 4 /home/yifan/Documents/Working_directory/wd_for_checkm /home/yifan/Documents/Working_directory/wd_for_checkm/results
*******************************************************************************
[CheckM - tree] Placing bins in reference genome tree.
*******************************************************************************
Identifying marker genes in 3 bins with 4 threads:
Finished processing 3 of 3 (100.00%) bins.
Saving HMM info to file.
Calculating genome statistics for 3 bins with 4 threads:
Finished processing 3 of 3 (100.00%) bins.
Extracting marker genes to align.
Parsing HMM hits to marker genes:
Finished parsing hits for 3 of 3 (100.00%) bins.
Extracting 43 HMMs with 4 threads:
Finished extracting 43 of 43 (100.00%) HMMs.
Aligning 43 marker genes with 4 threads:
Finished aligning 43 of 43 (100.00%) marker genes.
Reading marker alignment files.
Concatenating alignments.
Placing 3 bins into the genome tree with pplacer (be patient).
Killed
Uncaught exception: Sys_error("/home/yifan/Documents/Working_directory/wd_for_checkm /results/storage/tree/concatenated.pplacer.json: No such file or directory")
Fatal error: exception Sys_error("/home/yifan/Documents/Working_directory/wd_for_checkm/results/storage/tree/concatenated.pplacer.json: No such file or directory")
{ Current stage: 0:17:50.602 || Total: 0:17:50.602 }
*******************************************************************************
[CheckM - lineage_set] Inferring lineage-specific marker sets.
*******************************************************************************
Reading HMM info from file.
Parsing HMM hits to marker genes:
Finished parsing hits for 3 of 3 (100.00%) bins.
Determining marker sets for each genome bin.
Unexpected error: <type 'exceptions.IOError'>
Traceback (most recent call last):
File "/usr/local/bin/checkm", line 712, in <module>
checkmParser.parseOptions(args)
File "/usr/local/lib/python2.7/dist-packages/checkm/main.py", line 1241, in parseOptions
self.lineageSet(options)
File "/usr/local/lib/python2.7/dist-packages/checkm/main.py", line 226, in lineageSet
resultsParser, options.unique, options.multi)
File "/usr/local/lib/python2.7/dist-packages/checkm/treeParser.py", line 477, in getBinMarkerSets
tree = dendropy.Tree.get_from_path(treeFile, schema='newick', rooting="force-rooted", preserve_underscores=True)
File "/usr/local/lib/python2.7/dist-packages/dendropy/datamodel/basemodel.py", line 217, in get_from_path
with open(src, "r", newline=None) as fsrc:
File "/usr/local/lib/python2.7/dist-packages/dendropy/utility/filesys.py", line 60, in pre_py34_open
buffering=buffering)
IOError: [Errno 2] No such file or directory: '/home/yifan/Documents/Working_directory/wd_for_checkm/results/storage/tree/concatenated.tre'
from checkm.
On 19/12/15 11:07, LouieF wrote:
@wwood https://github.com/wwood I tried real bins, but there are
still errors.|yifan@yifan-VirtualBox:~/Documents/Working_directory/wd_for_checkm$
checkm lineage_wf -t 4
/home/yifan/Documents/Working_directory/wd_for_checkm
/home/yifan/Documents/Working_directory/wd_for_checkm
[CheckM - tree] Placing bins in reference genome tree.
[Warning] Output directory must be empty:
/home/yifan/Documents/Working_directory/wd_for_checkm Controlled exit
resulting from an unrecoverable error or warning.|
|I take it you understand why this didn't work, the results directory
has to be empty.|
|yifan@yifan-VirtualBox:~/Documents/Working_directory/wd_for_checkm$
checkm lineage_wf -t 4
/home/yifan/Documents/Working_directory/wd_for_checkm
/home/yifan/Documents/Working_directory/wd_for_checkm/results
[CheckM - tree] Placing bins in reference genome tree.
Identifying marker genes in 3 bins with 4 threads: Finished processing
3 of 3 (100.00%) bins. Saving HMM info to file. Calculating genome
statistics for 3 bins with 4 threads: Finished processing 3 of 3
(100.00%) bins. Extracting marker genes to align. Parsing HMM hits to
marker genes: Finished parsing hits for 3 of 3 (100.00%) bins.
Extracting 43 HMMs with 4 threads: Finished extracting 43 of 43
(100.00%) HMMs. Aligning 43 marker genes with 4 threads: Finished
aligning 43 of 43 (100.00%) marker genes. Reading marker alignment
files. Concatenating alignments. Placing 3 bins into the genome tree
with pplacer (be patient). Killed|
|The error is right here, and is different to before. "Killed" indicates
that a subprocess (pplacer) was killed by the kernel, likely because
pplacer was asking for too much memory. Try upping the memory available
in the VM, perhaps?|
Hope that helps.
from checkm.
@wwood That is awesome! I tried '--reduced_tree' flag and it works! Thanks a lot buddy!
from checkm.
Related Issues (20)
- Is there a possibility to have the distance between the putative genome and the closest reference genome? HOT 1
- FileNotFoundError for concatenated.tre file? HOT 1
- Unexpected error: <class 'RecursionError'> HOT 2
- Placing 3 bins into the genome tree with pplacer Killed HOT 4
- AttributeError: 'Namespace' when running 'checkm coverage' HOT 1
- bin_qa_plot
- Customizing CheckM Dataset & Gene Marker Selection for a Species
- Reference data is missing HOT 1
- don't find Strain heterogeneity info
- FileNotFoundError: [Errno 2] No such file or directory: 'checkm_folder/storage/tree/concatenated.tre' HOT 8
- IndexError: list index out of range HOT 1
- Understanding contamination value HOT 2
- ERROR conda.core.link:_execute(952): An error occurred while installing package 'bioconda::checkm-genome-1.2.2-pyhdfd78af_1'. HOT 1
- Unexpected error: <class 'KeyError'>
- FileNotFoundError: [Errno 2] No such file or directory: '/home/majorram/anaconda3/envs/checkm/hmms/phylo.hmm' HOT 3
- Chekm test: line 1: 16491 Bus error (core dumped) pplacer -j 1 HOT 2
- maximum number of genomes/MAGs to run checkm HOT 2
- WARNING: Expected all files to contain sequences in amino acid space. HOT 1
- local variable 'seqId' referenced before assignment
- 'utf-8' codec can't decode byte 0xb0 in position 37: invalid start byte HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkm.