error when input fasta_input does not exist

cluster sequences from fasta file, and return fasta file

cluster sequences from fasta file, and return fasta tibble

cluster sequences from fasta tibble, and return fasta file

cluster sequences from fasta tibble, and return fasta tibble

vs_cluster_size returns OTU table tibble when otutabout = TRUE

vs_cluster_size writes OTU table to file when otutabout is path

cluster sequences from empty fasta tibble, and return fasta tibble

test_that("throws error if input FASTA file doesn't exist", {
test_that("throws error for invalid strand input", {
dummy_fasta <- tibble::tibble(Header = "seq1;size=1", Sequence = "ATGC")
test_that("returns a tibble with expected columns", {
dplyr::mutate(Header = paste0(Header, ";size=", nchar(Sequence)))
expect_true(all(c("Header", "Sequence", "members", "size") %in% names(result)))
test_that("writes output to file if centroids is specified", {
result <- vs_cluster_subseq(fasta_input, sizein = FALSE)

"throws error if input FASTA file doesn't exist"
"returns a tibble with expected columns"
"writes output to file if centroids is specified"

throws error if input FASTA file doesn't exist

writes output to file if centroids is specified

test_that("cluster sequences from fasta file, and return file", {
return_value <- vs_cluster_unoise(fasta_input = fasta_input,
test_that("cluster sequences from fasta file, and return tibble", {
cluster_sample1_R1 <- vs_cluster_unoise(fasta_input = fasta_input,
test_that("cluster sequences from fasta tibble, and return file", {
test_that("vs_cluster_unoise returns NULL and warning when no clusters found", {
fasta_input <- microseq::readFasta(test_path("testdata", "output", "R1_derep.fasta"))
result <- vs_cluster_unoise(fasta_input = fasta_input, minsize = 20),
"No clusters found, try to lower minsize"

"cluster sequences from fasta file, and return file"
"cluster sequences from fasta file, and return tibble"
"cluster sequences from fasta tibble, and return file"
"vs_cluster_unoise returns NULL and warning when no clusters found"