Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Commit

Permalink
Update MinION_mobile_lab.R
Browse files Browse the repository at this point in the history
  • Loading branch information
MaestSi authored Sep 11, 2019
1 parent 2d398b8 commit b130e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MinION_mobile_lab.R
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ for (i in 1:length(demu_files)) {
cat(text = paste0("Now trimming adapters with Porechop for sample BC", BC_val_curr), sep = "\n")
if (disable_porechop_demu_flag == 1) {
system(paste0("mkdir ", d2_preprocessing, "/BC", BC_val_curr, "_porechop_dir_tmp"))
system(paste0(PORECHOP, " -i ", d2_preprocessing, "/BC", BC_val_curr, "_tmp1.fastq -o ", d2_preprocessing, "/BC", BC_val_curr, "_porechop_dir_tmp/BC", BC_val_curr, ".fastq --extra_end_trim ", primers_length))
system(paste0(PORECHOP, " -i ", d2_preprocessing, "/BC", BC_val_curr, "_tmp1.fastq -o ", d2_preprocessing, "/BC", BC_val_curr, "_porechop_dir_tmp/BC", BC_val_curr, ".fastq"))
} else {
system(paste0(PORECHOP, " -i ", d2_preprocessing, "/BC", BC_val_curr, "_tmp1.fastq -b ", d2_preprocessing, "/BC", BC_val_curr, "_porechop_dir_tmp --require_two_barcodes"))
}
Expand Down

0 comments on commit b130e48

Please sign in to comment.