--
Anvi'o Paper: https://peerj.com/articles/1319/
Project Page: http://merenlab.org/projects/anvio/
Code Repository: https://github.com/meren/anvio
---
You received this message because you are subscribed to the Google Groups "Anvi'o" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anvio+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/anvio/9d8b5735-db32-4611-9d29-b7401fc5341f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Natassia,No, you don't need the anvi-merge step if you have one sample.Your question about binning and the format of the input file (with an example file) is explained here:Best,
On Wed, Feb 22, 2017 at 8:27 AM, Nastassia Patin <n.v....@gmail.com> wrote:
Hi there,I have just installed Anvi'o and so far I think it is running smoothly! I am working with one metagenome sample to start with, and I would like to compare the binning results to those from MaxBin using anvi-import-collections. I feel silly asking this, but - what is the output text file that I am meant to import? MaxBin gave me three bins in fasta format. Do I need to convert those to text files and merge them before importing?Also, unrelated question - if I just have one metagenome sample, do I still need to do the anvi-merge step?Thanks,Nastassia
--
Anvi'o Paper: https://peerj.com/articles/1319/
Project Page: http://merenlab.org/projects/anvio/
Code Repository: https://github.com/meren/anvio
---
You received this message because you are subscribed to the Google Groups "Anvi'o" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anvio+un...@googlegroups.com.
File/Path Error: The expected number of fileds for 'Maxbins_for_anvio.txt' is 2. Yet, it has 3 of them :/There are indeed three bins from MaxBin, why would the expected number be two?
--
Anvi'o Paper: https://peerj.com/articles/1319/
Project Page: http://merenlab.org/projects/anvio/
Code Repository: https://github.com/meren/anvio
---
You received this message because you are subscribed to a topic in the Google Groups "Anvi'o" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/anvio/DWO8fDQ_g7M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to anvio+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/anvio/05b2f0c7-9396-4fe8-86b1-387e05c3f8c4%40googlegroups.com.
Dr. Nastassia Patin
Postdoctoral Researcher
School of Biology
Georgia Institute of Technology
Sorry Meren. I now see where the tutorial specifically describes the input file necessary for the collection. I got excited because I was near the end and must have gotten lazy with reading! For the record it's a phenomenal tutorial that even took a relative metagenomics newbie like me through almost everything without a hitch.
#!/bin/bash
# A simple script to convert maxbin results to anvio
FILES=$(find *.fasta)
for f in $FILES; do
NAME=$(basename $f .fasta)
grep ">" $f | sed 's/>//' | sed -e "s/$/\t$NAME/" | sed 's/\./_/' >> maxbins4anvio.tsv
done
contig_55 maxbin_001
contig_80 maxbin_001
contig_110 maxbin_001
contig_171 maxbin_001
...
contig_25030 maxbin_004
contig_25841 maxbin_004
contig_26157 maxbin_004
Hi Nastassia,Thank you. There is absolutely no need for you to be sorry :) I am very glad the tutorial has been helpful so far, and I hope it would continue to give you insights about the inner workings of anvi'o.It is important for us to make sure things work without much hassle (regardless how complex they may be), and we try to not cut corners with our writing in the expense of clarity. So please continue to let us know if you run into issues, and we will try to fix them.Best,