Slackbot
11/12/2024, 8:59 AMEric Torralba
11/14/2024, 2:41 PMPatrick Zhang
12/31/2024, 6:01 PMAastha Pal
01/24/2025, 4:15 AMAastha Pal
01/24/2025, 5:24 AMnextflow run nf-core/crisprseq -r dev --input sample_w_control.csv --mle_design_matrix design_matrix.txt --library mageck_library.tsv --analysis screening --contrasts contrast.csv --outdir output_withContrast -profile condaAdam Reid
01/24/2025, 9:43 AMDavid Tatarakis
01/28/2025, 2:10 PMmageck mle I notice that the resulting .sgrna_summary.txt output file predicts all sgRNAs have an efficiency of exactly 1. This seems to indicate the sgRNA efficiency component of the pipeline is either failing or not being run at all. Is there any way to diagnose what is going on here? Does the pipeline actually have the ability to incorporate sgRNA efficiency predictions?
My command is as below:
nextflow run nf-core/crisprseq \
--analysis screening \
--outdir results \
--input samplesheet.csv \
--library library.txt \
-profile docker \
--mle \
--contrasts contrasts.csv
And the output of the .sgrna_summary.txt file looks like this:
Gene sgRNA eff
CREBBP GCAAGGTCGGGCCAGACACC 1
CREBBP GGCGCAGGCGCACTGCGATC 1Aastha Pal
02/08/2025, 1:18 AMBut when I use:
gdata_cc$Control = rowMeans(gdata_cc[,ctrlname, drop = FALSE])
gdata_cc$Treatment = rowMeans(gdata_cc[,treatname, drop = FALSE])
p1 = ScatterView(gdata_cc, "Control", "Treatment", label = "Gene",
auto_cut_diag = TRUE, display_cut = TRUE,
groups = c("top", "bottom")
)
print(p1)Matteo Bonfanti
02/26/2025, 2:43 PMSlackbot
03/03/2025, 6:57 AMSlackbot
03/03/2025, 6:57 AMconda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict
See https://bioconda.github.io/#usageChandini V
03/03/2025, 11:17 AMdplyr package error in conda env while running test_screening
Hi all, this could be a possible bug, I'm running the screening wf for the first time and I got the following error
nextflow run nf-core/crisprseq -profile test_screening,conda --outdir results --analysis screening
N E X T F L O W ~ version 24.10.4
Launching `<https://github.com/nf-core/crisprseq>` [stoic_allen] DSL2 - revision: 0e9f915c4a [master]
WARN: Access to undefined parameter `reference_fasta` -- Initialise it to a default value eg. `params.reference_fasta = some_value`
WARN: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There is a problem with your Conda configuration!
You will need to set-up the conda-forge and bioconda channels correctly.
Please refer to <https://bioconda.github.io/>
The observed channel order is
[conda-forge]
but the following channel order is required:
[conda-forge, bioconda]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
------------------------------------------------------
,--./,-.
___ __ __ __ ___ /,-._.--~'
|\ | |__ __ / ` / \ |__) |__ } {
| \| | \__, \__/ | \ |___ \`-._,-`-,
`._,._,'
nf-core/crisprseq 2.3.0
------------------------------------------------------
Input/output options
input : <https://raw.githubusercontent.com/nf-core/test-datasets/crisprseq/testdata/samplesheet_test.csv>
outdir : results
analysis : screening
Screening parameters
library : <https://raw.githubusercontent.com/nf-core/test-datasets/crisprseq/testdata/brunello_target_sequence.txt>
contrasts : <https://raw.githubusercontent.com/nf-core/test-datasets/crisprseq/testdata/rra_contrasts.txt>
mle : true
rra : true
bagel2 : true
drugz : true
crisprcleanr : Brunello_Library
hitselection : true
hit_selection_iteration_nb: 50
Institutional config options
config_profile_name : Test screening profile
config_profile_description: Minimal test dataset to check pipeline function
Core Nextflow options
revision : master
runName : stoic_allen
launchDir : /home/chandini.v/nfcore-crisprseq
workDir : /home/chandini.v/nfcore-crisprseq/work
projectDir : /home/chandini.v/.nextflow/assets/nf-core/crisprseq
userName : chandini.v
profile : test_screening,conda
configFiles :
!! Only displaying parameters that differ from the pipeline defaults !!
------------------------------------------------------* The pipeline
<https://doi.org/10.5281/zenodo.7598496>
* The nf-core framework
<https://doi.org/10.1038/s41587-020-0439-x>
* Software dependencies
<https://github.com/nf-core/crisprseq/blob/master/CITATIONS.md>
executor > local (5)
[d1/87201e] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:FASTQC (SRR8983579) [100%] 2 of 2 ✔
[22/87a460] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_COUNT (control,treatment) [100%] 1 of 1 ✔
[e6/2a0305] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:CRISPRCLEANR_NORMALIZE (count_table_normalize) [ 0%] 0 of 1
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_TEST -
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_GRAPHRRA -
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:HITSELECTION_RRA -
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:BAGEL2_FC -
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:BAGEL2_BF -
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:BAGEL2_PR -
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:BAGEL2_GRAPH -
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:HITSELECTION_BAGEL2 -
[c2/b1cdd6] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MATRICESCREATION (1) [100%] 1 of 1 ✔
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_MLE -
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:HITSELECTION_MLE -
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE_CONTRASTS -
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:DRUGZ -
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:HITSELECTION -
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:VENNDIAGRAM -
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:VENNDIAGRAM_DRUGZ -
[- ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MULTIQC -
Execution cancelled -- Finishing pending tasks before exit
-[nf-core/crisprseq] Pipeline completed with errors-
ERROR ~ Error executing process > 'NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:CRISPRCLEANR_NORMALIZE (count_table_normalize)'
Caused by:
Process `NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:CRISPRCLEANR_NORMALIZE (count_table_normalize)` terminated with an error exit status (1)
Command executed:
#!/usr/bin/env Rscript
library(CRISPRcleanR)
library(dplyr)
print('Brunello_Library')
count_file <- read.delim('count_table.count.txt',header=T,sep = " ")
count_file <- count_file[!duplicated(count_file$sgRNA), ]
if('' == "") {
data('Brunello_Library')
library <- as.data.frame(get('Brunello_Library'))
#colnames(library)
#print(head(count_file))
#print(head(library))
count_file_to_normalize <- count_file %>% dplyr::left_join(library, by=c("sgRNA"="seq"),multiple = "all")
count_file_to_normalize <- count_file_to_normalize %>%
dplyr::select(colnames(count_file),CODE,-sgRNA)
names(count_file_to_normalize)[names(count_file_to_normalize) == 'Gene'] <- 'gene'
names(count_file_to_normalize)[names(count_file_to_normalize) == 'CODE'] <- 'sgRNA'
count_file_to_normalize <- count_file_to_normalize %>% dplyr::select(sgRNA, gene, everything())
} else {
try(library <- read.delim('',header=T,sep = ","))
duplicates <- duplicated(library[, 1])
unique_rows <- !duplicates
library <- library[unique_rows, , drop = FALSE]
rownames(library) = library[,1]
library = library[order(rownames(library)),]
library = library[,-1]
names(count_file)[names(count_file) == 'Gene'] <- 'gene'
count_file_to_normalize <- count_file %>% dplyr::select(sgRNA, gene, everything())
}
normANDfcs <- ccr.NormfoldChanges(Dframe=count_file_to_normalize,saveToFig = FALSE,min_reads=30,EXPname="count_table_normalize", libraryAnnotation=library,display=FALSE)
gwSortedFCs <- ccr.logFCs2chromPos(normANDfcs[["logFCs"]],library)
correctedFCs <- ccr.GWclean(gwSortedFCs,display=FALSE,label='crisprcleanr')
correctedCounts <- ccr.correctCounts('crisprcleanr',
normANDfcs[["norm_counts"]],
correctedFCs,
library,
minTargetedGenes=3,
OutDir='./')
write.table(correctedCounts, file=paste0("crisprcleanr","_norm_table.tsv"),row.names=FALSE,quote=FALSE,sep=" ")
#version
version_file_path <- "versions.yml"
version_crisprcleanr <- paste(unlist(packageVersion("CRISPRcleanR")), collapse = ".")
f <- file(version_file_path, "w")
writeLines('"NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:CRISPRCLEANR_NORMALIZE":', f)
writeLines(" crisprcleanr: ", f, sep = "")
writeLines(version_crisprcleanr, f)
close(f)
Command exit status:
1
Command output:
(empty)
Command error:
Loading required package: SummarizedExperiment
Loading required package: MatrixGenerics
Loading required package: matrixStats
Attaching package: 'MatrixGenerics'
The following objects are masked from 'package:matrixStats':
colAlls, colAnyNAs, colAnys, colAvgsPerRowSet, colCollapse,
colCounts, colCummaxs, colCummins, colCumprods, colCumsums,
colDiffs, colIQRDiffs, colIQRs, colLogSumExps, colMadDiffs,
colMads, colMaxs, colMeans2, colMedians, colMins, colOrderStats,
colProds, colQuantiles, colRanges, colRanks, colSdDiffs, colSds,
colSums2, colTabulates, colVarDiffs, colVars, colWeightedMads,
colWeightedMeans, colWeightedMedians, colWeightedSds,
colWeightedVars, rowAlls, rowAnyNAs, rowAnys, rowAvgsPerColSet,
rowCollapse, rowCounts, rowCummaxs, rowCummins, rowCumprods,
rowCumsums, rowDiffs, rowIQRDiffs, rowIQRs, rowLogSumExps,
rowMadDiffs, rowMads, rowMaxs, rowMeans2, rowMedians, rowMins,
rowOrderStats, rowProds, rowQuantiles, rowRanges, rowRanks,
rowSdDiffs, rowSds, rowSums2, rowTabulates, rowVarDiffs, rowVars,
rowWeightedMads, rowWeightedMeans, rowWeightedMedians,
rowWeightedSds, rowWeightedVars
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Attaching package: 'Biobase'
The following object is masked from 'package:MatrixGenerics':
rowMedians
The following objects are masked from 'package:matrixStats':
anyMissing, rowMedians
Loading required package: Rsubread
Loading required package: Rqc
Loading required package: ggplot2
Loading required package: jsonlite
Warning message:
replacing previous import 'withr::makevars_user' by 'tools::makevars_user' when loading 'CRISPRcleanR'
Error in library(dplyr) : there is no package called 'dplyr'
Execution halted
Work dir:
/home/chandini.v/nfcore-crisprseq/work/e6/2a03058de72bb4e4cadc46c09b6047
Tip: you can replicate the issue by changing to the process work dir and entering the command `bash .command.run`
-- Check '.nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: <https://nf-co.re/docs/usage/troubleshooting>
-- Check '.nextflow.log' file for detailsSlackbot
03/03/2025, 11:17 AMconda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict
See https://bioconda.github.io/#usageMatteo Bonfanti
03/18/2025, 11:37 AMMatteo Bonfanti
03/27/2025, 9:38 AMAshot Margaryan
04/11/2025, 1:18 PMKent Fung
05/01/2025, 4:46 PMAastha Pal
06/26/2025, 8:21 PM--skip_mageckflute flag
2. System Compatibility?
◦ Using Nextflow version 25.04.4
steps completed successfully:
• FASTQC
• MAGECK_COUNT
• MAGECK_MLE_MATRIX
What's Missing:
MAGECK_FLUTEMLE step (visualization and additional analysis)
error-
[7f/5646e5] NFC…:FASTQC (1-GFAP-WT-PP-PRE) | 4 of 4, cached: 4 ✔
[e2/2a2daa] NFC…_COUNT (PRE,PRE,POST,POST) | 1 of 1, cached: 1 ✔
[ee/e62498] NFC…MLE_MATRIX (design_matrix) | 1 of 1, cached: 1 ✔
[- ] NFC…_SCREENING:MAGECK_FLUTEMLE -
[- ] NFC…RISPRSEQ_SCREENING:MULTIQC -
Pulling Singularity image <https://depot.galaxyproject.org/singularity/bioconductor-mageckflute:2.6.0--r43hdfd78af_0> [cache /hpc/crispr-screen-jun18/work/singularity/depot.galaxyproject.org-singularity-bioconductor-mageckflute-2.6.0--r43hdfd78af_0.img]
WARN: Singularity cache directory has not been defined -- Remote image will be stored in the path: /hpc/crispr-screen-jun18/work/singularity -- Use the environment variable NXF_SINGULARITY_CACHEDIR to specify a different location
ERROR ~ Error executing process > 'NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE (1)'
Caused by:
Failed to pull singularity image
command: singularity pull --name depot.galaxyproject.org-singularity-bioconductor-mageckflute-2.6.0--r43hdfd78af_0.img.pulling.1750968555251 <https://depot.galaxyproject.org/singularity/bioconductor-mageckflute:2.6.0--r43hdfd78af_0> > /dev/null
status : 255
hint : Try and increase singularity.pullTimeout in the config (current is "20m")
message:
FATAL: Error making http request: Head "<https://depot.galaxyproject.org/singularity/bioconductor-mageckflute:2.6.0--r43hdfd78af_0>": tls: failed to verify certificate: x509: certificate signed by unknown authority
-- Check '.nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: <https://nf-co.re/docs/usage/troubleshooting>
-- Check '.nextflow.log' file for details
-[nf-core/crisprseq] Pipeline completed with errors-
i tried : --skip_mageckflute and
nextflow run nf-core/crisprseq -r dev \
--input samplesheet.csv \
--mle_design_matrix design_matrix.txt \
--library PP_library_fixed.tsv \
--analysis screening \
--outdir output \
-profile singularity \
-with-singularity {--nohttps} \
-resume \
-config <(echo "singularity { pullTimeout = '5h' }")
current command that got me the above outputs is-
command: nextflow run nf-core/crisprseq -r dev --input samplesheet.csv --mle_design_matrix design_matrix.txt --library PP_library_fixed.tsv --analysis screening --outdir output -profile standard -resume
How can i fix this?
thank you in advance!sathya jali
08/28/2025, 12:36 PMJúlia Mir
09/23/2025, 1:03 PMJoachim Fritscher
10/02/2025, 10:33 AMJoachim Fritscher
10/08/2025, 1:46 PMMatteo Bonfanti
10/13/2025, 12:45 PMnf-core/crisprseq pipeline, for the screening analysis.
Currently, the contrast file can refer either to conditions or to samples, depending on the context (e.g. when using precomputed count tables).
One proposed simplification would be to remove the “condition” column entirely and make the contrast file always refer to samples. This would make the behavior more consistent across cases, though it might slightly reduce readability and would be a breaking change compared to previous releases.
What do you think?
Please vote with an emoji or share your thoughts below!
• 👍 = I support simplifying and using samples only
• 🤔 = I’m unsure / need to understand implications
• 👎 = I’d prefer keeping the current approachJúlia Mir
10/13/2025, 12:46 PMKalyanee Shirlekar
12/08/2025, 3:36 PMPatrick Zhang
12/10/2025, 4:29 PMMetin YAZAR
01/12/2026, 4:26 PMERROR ~ Error executing process >
NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_COUNT
ERROR: Cannot automatically determine the --trim-5 length.
Only 0.0439 % of the reads can be identified.
(exit status 255)
From the MAGeCK logs:
• R1: mapping looks fine (~93% in trim test)
• R2: almost no reads are identified during trim-5 auto-detection
I also tried with cutadapter like in below
nextflow run crisprseq \
--analysis screening \
--input /Users/metinyazar/Desktop/nf_core/bond_group/crisprseq_results/MS1943_vs_UNC6852/samplesheet.csv \
--library /Users/metinyazar/Desktop/nf_core/bond_group/crisprseq_results/MS1943_vs_UNC6852/library_fixed.tsv \
--outdir /Users/metinyazar/Desktop/nf_core/bond_group/crisprseq_results/MS1943_vs_UNC6852/MS1943_vs_UNC6852_results \
--contrasts /Users/metinyazar/Desktop/nf_core/bond_group/crisprseq_results/MS1943_vs_UNC6852/rra_contrasts.txt \
--rra \
--drugz \
--bagel2 \
--mle \
--hitselection \
--drugz_remove_genes "luciferase,LacZ,EGFP,Non_Targeting_Control" \
--three_prime_adapter AGATCGGAAGAGCACACGTCTGAACTCCAGTCAC \
--extra_cutadapt_three_prime_args "-A AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGT" \
-profile docker \
-c /Users/metinyazar/Desktop/nf_core/bond_group/crisprseq_results/MS1943_vs_UNC6852/user.config
It is still giving similiar error. Never done paired one before. How should I fix this? Thank you!Metin YAZAR
01/28/2026, 2:48 PMreference;treatment
Day0_1,Day0_2;Untreated_1,Untreated_2
When I perform the analysis with nf-core/crisprseq (2.4.0dev), BAGEL2 calculates fold change by using reference column Day0_1 (not Day0_2). But if I do this analysis with nf-core/crisprseq (2.3.0), the fold changes are instead calculated using the mean of Day0_1 and Day0_2 as the reference. I couldn't decide which one is true (the mean-based approach seems incorrect to me) Could this be a bug? How should I fix this? Many thanks.Rike Hanssen
02/20/2026, 10:08 AMLorenzo Blanchet
07/29/2026, 11:07 AMnextflow.config . I was thinking about fixing it by myself by adding it to params but before I wanted to ask you if there was already an updated version of the pipeline. Thanks!
Pulling nf-core/crisprseq:2.3.0 ...
WARN: Cannot read project manifest -- Cause: Config parsing failed
downloaded from <https://github.com/nf-core/crisprseq.git>
Error nextflow.config:256:1: Variable declarations cannot be mixed with config statements
│ 256 | def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-s
╰ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR ~ Config parsing failed