Hi Meren,
I have the feeling there is a simple sqlite command that would do this, but I know almost nothing about sqlite.
What I want is a new, smaller contig database containing only the contigs from one or several bins of a collection...but rather than just exporting the particular list of contigs as a new fasta file, then redoing anvi-gen-contigs-database (which will redo Prodigal gene calling, mindfull splitting, etc) I just want the new smaller contigs db to match *exactly* what's already in the existing larger contigs db, but only a subset of it.
In case it isn't obvious, what I'm aiming for is the idea of iterating CONCOCT that I mentioned in the JGI workshop: run CONCOCT with a large coassembly (>100k contigs) and many dozens of samples to get an initial set of bins. And then take only the contigs of a one or a few of the initial bins, and run CONCOCT again.
Les