When clustering ASVs from deblur with VSEARCH, is it possible to know the membership of resulting clusters?

Update Oct 2020:

Please see the following post for updated and more complete instructions if this hacky method is of use to you:

Hi Nicholas and anyone else who might want this information:

The simplest way I could think of to do this was to just change line 183 "_cluster_sequences.py" to:

" with tempfile.NamedTemporaryFile(delete=False) as out_uc:"

This prevents the temp "uc" file generated by VSEARCH from being wiped at the end of the "with" loop. Once q2-vsearch is done the clustering, you can just copy it to a non-temporary file and you're off to the races. I tested it and the result looks good. Thanks again for your help!

Cheers,

Jesse

3 Likes