Open YiweiNiu opened 5 years ago
Thank you for your reply!
metawrap_50_10_bins.stats
under the output directory of bin_refinement
, and saw 'Re-evaluating bin quality after contig de-replication is complete! There are still 26 high quality bins' in the log. Sorry if it's my mistake.$ ls
concoct_bins maxbin2_bins metabat2_bins.contigs metawrap_50_10_bins.stats
concoct_bins.contigs maxbin2_bins.contigs metabat2_bins.stats work_files
concoct_bins.stats maxbin2_bins.stats metawrap_50_10_bins
figures metabat2_bins metawrap_50_10_bins.contigs
$ wc -l metawrap_50_10_bins.stats
27 metawrap_50_10_bins.stats
$ head -3 metawrap_50_10_bins.stats
bin completeness contamination GC lineage N50 size binner
bin.15 99.84 0.123 0.663 Comamonadaceae 189849 6692338 binsA
bin.25 99.77 0.0 0.655 Mycobacterium 133233 4268384 binsBC
metawrap
, I got other errors due to one reason 'No such file or directory: metawrap_bins' like the one below. But I saw the message 'BIN_REFINEMENT PIPELINE FINISHED SUCCESSFULLY!' in the log.----- adding bin annotations to blobfile -----
----- /home/niuyw/Project/Data_processing/metawrap/META19SWWL15/BLOBOLOGY/final.contigs.blobplot -----
------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/home/niuyw/software/anaconda2/envs/metawrap/bin/metawrap-scripts/add_bins_to_blobplot.py", line 9, in <module>
for bin_file in os.listdir(sys.argv[2]):
OSError: [Errno 2] No such file or directory: '/home/niuyw/Project/Data_processing/metawrap/META19SWWL15/BIN_REFINEMENT/metawrap_bins'
************************************************************************************************************************
***** Something went wrong with annotating the blobplot by bins. Exiting... *****
************************************************************************************************************************
The metawrap version I used was 1.2.1. The script I used is metawrap.txt and the complete log is metawrap.log.txt.
It is the first time I dealt with metagenome data. I apologize if my questions are too obvious.
Thank you again for your help!
Bests, Yiwei Niu
Hi there,
I am also having an issue with the kraken.sh module, and I tried removing the comments as shown above. I didn't get any kind of resolution with that, do you have any suggestions? This is what I'm getting for an error:
(metawrap-env) [lroppolo@cph-i2 metawrap_UEGP]$ cat kraken.sh.e1559375 /users/lroppolo/.conda/envs/metawrap-env/bin/metawrap-modules/kraken.sh: line 123: #combine: command not found awk: cmd. line:1: (FILENAME=- FNR=28) fatal: printf to "standard output" failed (Broken pipe) paste: write error: Broken pipe paste: write error /users/lroppolo/.conda/envs/metawrap-env/bin/metawrap-modules/kraken.sh: line 124: #shuffle: command not found
Thank you as always for being so helpful!
Make sure you are running the latest version. I believe I patched this. Otherwise dont use the depth parameter and annotate all the reads to bypass this step.
Fantastic, thank you! I am running the latest version, so I'll remove the depth parameter. Do I set it to "none" instead of "all", or remove it from the script entirely? And to annotate all reads, this is something I'd need to do outside of the script? I'm sorry for so many questions, just want to make sure I get it right before proceeding.
Hi,
Thanks for the cool tool!
I ran
metawrap
on 5 metagenome samples with the following commands. The version ofmetawrap
is 1.2.1.But I got several errors/warnings.
Kraken
. Comment lines inkraken.sh
seemed to be the reasons for this error. After removing the comments in line 123 and line 124,kraken
could be ran successfully. I am using CentOS 6.6 and runningmetawrap
through a PBS cluster.MaxBin
. I do not know whether this message matters, since usually the help message comes out when there is something wrong. But it seemed thatMaxBin
ran successfully from the logs.CONCOCT
: same as above. But it only produced 1 bin.metawrap_50_10_bins.stats
file. So, I do not know why this happened.Here is the full logs of
metawrap
: META19SWWL15_metawrap.txt