Skip to content

Commit ea1799f

Browse files
committed
tj long - fix output name
1 parent 5b02657 commit ea1799f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pipecraft-core/service_scripts/submodules/tag_jump_removal_long.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ if (has_fasta) {
138138
sequences = as.character(fasta_sequences)
139139
names(sequences) = names(fasta_sequences)
140140
# add the sequences as 2nd column
141-
RES = RES %>%
141+
OTUTAB = OTUTAB %>%
142142
mutate(Sequence = sequences[OTU]) %>%
143143
select(OTU, Sequence, everything())
144144
}
@@ -147,6 +147,6 @@ if (has_fasta) {
147147
cat(";; Exporting tag-jump filtered table",
148148
if(length(args) >= 4) "(2nd col is sequence)" else "", "\n")
149149
cat(paste0(output_dir, "/", output_name))
150-
fwrite(x = RES, file = paste0(output_dir, "/", output_name), sep = "\t", compress = "none")
150+
fwrite(x = OTUTAB, file = paste0(output_dir, "/", output_name), sep = "\t", compress = "none")
151151

152152
cat(";; Done\n")

0 commit comments

Comments
 (0)