Handle case where no samples exceed min_sample_reads
loci parameter
#3
Labels
bug
Something isn't working
min_sample_reads
loci parameter
#3
Why this matters
min_sample_reads
too high and need to know this is why the run failsIdeal behaviour
Would be good if
PHYLOSEQ_FILTER
still produces the expected output files when all samples are removed from a locus, but they're just empty filesDetail
Error currently occurs when
params.subsample = 1
usingtest_data/dual
(-profile test
), asmin_sample_reads = 1000
:This occurs because the following code does not produce an "empty" phyloseq object when pruning out all samples, instead returning an error:
Have added a more informative error to
phyloseq_filter.R
, but this doesn't really solve the issue (ie. produce empty outputs and allow the run to continue):To-do:
Need a way to either:
The text was updated successfully, but these errors were encountered: