run_sgrna_quant fails
AMChalkie opened this issue · comments
Hi,
I see the following error:
Error in data.frame(sgRNA = quant_ret$sgRNA, sequence = quant_ret$sequence) :
arguments imply differing number of rows: 79633, 79637
traceback()
3: stop(gettextf("arguments imply differing number of rows: %s",
paste(unique(nrows), collapse = ", ")), domain = NA)
2: data.frame(sgRNA = quant_ret$sgRNA, sequence = quant_ret$sequence)
1: run_sgrna_quant(LIBRARY_FASTA, df_design)
Suggest adding a more robust check in the output section.
Cheers
Alistair
When running
run_sgrna_quant(FASTA, df_design, sg2gene)
I see this comment: 4 sgRNA sequences were repetitive and will be discarded.
Final Mappability: 88.2023%
Parsed with column specification:
cols(
PZP_1 = col_character(),
PZP = col_character()
)
Error: by
can't contain join column id
which is missing from LHS
Run rlang::last_error()
to see where the error occurred.
rlang::last_error()
<error/rlang_error>
by
can't contain join columnid
which is missing from LHS
Backtrace:
- CB2::run_sgrna_quant(...)
- dplyr:::left_join.tbl_df(df_map, df_count, by = "id")
- dplyr:::common_by.character(by, x, y)
- dplyr:::common_by.list(by, x, y)
- dplyr:::bad_args(...)
- dplyr:::glubort(fmt_args(args), ..., .envir = .envir)
Runrlang::last_trace()
to see the full context.
When running: (with duplicates)
run_sgrna_quant(FASTA, df_design)
run_sgrna_quant(FASTA, df_design)
I get
Error in data.frame(sgRNA = quant_ret$sgRNA, sequence = quant_ret$sequence) :
arguments imply differing number of rows: 79633, 79637
traceback()
3: stop(gettextf("arguments imply differing number of rows: %s",
paste(unique(nrows), collapse = ", ")), domain = NA)
2: data.frame(sgRNA = quant_ret$sgRNA, sequence = quant_ret$sequence)
1: run_sgrna_quant(LIBRARY_FASTA, df_design)
Here you go:
broadgpp_brie_crispr_library.fasta.gz