Skip to content

Commit

Permalink
Remove length variation messages
Browse files Browse the repository at this point in the history
Not needed anymore as variable length amplicons have been fully
supported for a while now.
  • Loading branch information
benjjneb committed Jul 30, 2018
1 parent da4da02 commit 48baaab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion R/multiSample.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ makeSequenceTable <- function(samples, orderBy = "abundance") {
if(!is.list(samples)) { stop("Requires a list of samples.") }
unqs <- lapply(samples, getUniques)
unqsqs <- unique(do.call(c, lapply(unqs, names)))
if(length(unique(nchar(unqsqs)))>1) { message("The sequences being tabled vary in length.") }
rval <- matrix(0L, nrow=length(unqs), ncol=length(unqsqs))
# Samples are rows, columns are sequences
colnames(rval) <- unqsqs
Expand Down
3 changes: 0 additions & 3 deletions R/sequenceIO.R
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@ derepFastq <- function(fls, n = 1e6, verbose = FALSE){
" total sequences read.")
}
close(f)
if(sum(tabulate(nchar(names(derepCounts)))>0) > 1) {
cat("Not all sequences were the same length.\n")
}
derepO <- list(uniques=derepCounts, quals=derepQuals, map=derepMap)
derepO <- as(derepO, "derep")
rval[[i]] <- derepO
Expand Down

0 comments on commit 48baaab

Please sign in to comment.