Closed gregcaporaso closed 6 months ago
@colinvwood, @misialq, looks like this was addressed with a more informative error message in #63. What's the work-around if a user gets that error message? I think we should have a work-around that doesn't require re-running assembly, and once we have that this can be closed out.
Hey @gregcaporaso, should we add a filter-contigs
action which would allow us to do filtering similar to the demux-filter action? We could also then add an option to filter out all empty contig files (rather than provide a list of filtering criteria). What do you think?
I like that idea @misialq.
Closing this - there is a new issue to track the development of contig filtering (#84).
If no contigs are formed for any samples during assembly, and a
SampleData[Contigs]
with some.fa
files of size zero is therefore passed as input toindex-contigs
,index-contigs
fails with a fairly uninformative error message:The
--verbose
output was more useful, but still only "warned" about an empty fasta file:I came across this because I had a couple of control samples which had very few (<10) demultiplexed sequences in my input to
assemble-megahit
, and these unsurprisingly didn't form any contigs. When I ranindex-contigs
I got the error.I'm not sure what the best pathway forward is for this - at the very least we probably want a more informative error message, but we also might want a way to filter the
SampleData[Contigs]
so the user doesn't have to generate contigs again (which can take a while). I got around it this time by filtering my input toassemble-megahit
to drop the two samples that were causing problems withqiime demux filter
.EDIT: I just hit this again, on a different data set. (Aug 21 2023)