roblanf / minion_qc

Quality control for MinION sequencing data
MIT License
213 stars 41 forks source link

Assigned data `as.numeric(as.character(d$sequence_length_template))` must be compatible with existing data #66

Open vicente09-uga opened 5 months ago

vicente09-uga commented 5 months ago

HI Rob,

I' new into the bioinformatics world (part of my graduate school program) and I was trying to use minion_qc to compare the quality of my sequences in different runs but its giving me this error. The description of all the output information (stats) generated by this program looks amazing and I would really like to use it. Is there any way I can fix this?

I would very much appreciate any advice for this.

Thank you

Error: ! Assigned data as.numeric(as.character(d$sequence_length_template)) must be compatible with existing data. ✖ Existing data has 223096 rows. ✖ Assigned data has 0 rows. ℹ Only vectors of size 1 are recycled. Backtrace: ▆

  1. ├─global single.flowcell(input.file, output.dir, q)
  2. │ └─global load_summary(input.file, min.q = c(-Inf, q))
  3. │ ├─base::$<-(*tmp*, "sequence_length_template", value = <dbl>)
  4. │ └─tibble:::$<-.tbl_df(*tmp*, "sequence_length_template", value = <dbl>)
  5. │ └─tibble:::tbl_subassign(...)
  6. │ └─tibble:::vectbl_recycle_rhs_rows(...)
  7. │ ├─base::withCallingHandlers(...)
  8. │ └─vctrs::vec_recycle(value[[j]], nrow)
  9. ├─vctrs:::stop_recycle_incompatible_size(...)
    1. │ └─vctrs:::stop_vctrs(...)
    2. │ └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    3. │ └─rlang:::signal_abort(cnd, .file)
    4. │ └─base::signalCondition(cnd)
    5. └─tibble (local) <fn>(<vctrs___>)
    6. └─rlang::cnd_signal(...) Execution halted
vicente09-uga commented 5 months ago

Nevermind, realized was using the wrong sequencing summary file.