Hi everyone, I tried running nfcore crisprseq scr...
# crisprseq
a
Hi everyone, I tried running nfcore crisprseq screening pipeline. However, I get the following error and not sure if this is due to the library csv as it only contains the sgRNA seq
Copy code
------------------------------------------------------
ERROR ~ ERROR: Validation of pipeline parameters failed!

 -- Check '.nextflow.log' file for details
The following invalid input values have been detected:

* --library: string [input_seq_updated.csv] does not match pattern ^\S+\.(tsv|txt)$ (input_seq_updated.csv)

 -- Check script '/hpc/home/ap764/.nextflow/assets/nf-core/crisprseq/./workflows/../subworkflows/local/utils_nfcore_crisprseq_pipeline/../../nf-core/utils_nfvalidation_plugin/main.nf' at line: 57 or see '.nextflow.log' file for more details
Any advice? Thank you so much!
j
Hi @Aastha Pal, the parameter
--library
is expecting a tab separated file instead of a
csv
a
Thank you for your reply, I will change it to tsv. I have few more questions; -regarding the negative control; I don't have the sgRNA for negative control, can I just use any random sequence for it so the pipeline doesn't break? -can I use sgrna_id for each sgRNA-seq as a dummy character and numeric entry? I have the sgrna sequence and gene name and can I just create like sg_1, sg_2 ... and so on as the sgrna_id? -I tried running Mageck count command with the inputs mentioned, but got a very low mapping. like 1-2%. Why do you think this is happening? Thank you so much!
l
Hi Aastha, the pipeline shouldn’t break without negative control, could you give me your error? Yes you can run with dummy ids Could you give me the header of each of your inputs?
a
Hi, it was due to the memory issue. But when I tried running the script on a different system, it doesn't map my negative controls. I am not sure what is happening?
Some considerations; Our data is all synthetic data. Could it be due to that?
l
Hi Aastha, was the mapping rate better?
And do the negative control run on crisprseq?
a
Copy code
-[nf-core/crisprseq] Pipeline completed with errors-
ERROR ~ Error executing process > 'NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_COUNT (Treatment,Treatment,Treatment)'

Caused by:
  Process `NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_COUNT (Treatment,Treatment,Treatment)` terminated with an error exit status (1)


Command executed:

  mageck \
      count \
       \
      -l input-seq.tsv \
      -n count_table \
      --sample-label Treatment,Treatment,Treatment \
      --fastq POST-EGF-CDR-O_R1_001.fastq.gz POST-KCNM-CDR-O_R1_001.fastq.gz POST-PTPRZ-CDR-O_R1_001.fastq.gz --fastq-2 POST-EGF-CDR-O_R2_001.fastq.gz POST-KCNM-CDR-O_R2_001.fastq.gz POST-PTPRZ-CDR-O_R2_001.fastq.gz \
  
  
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_COUNT":
      mageck: $(mageck -v)
  END_VERSIONS

Command exit status:
  1

Command output:
  (empty)

Command error:
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 975. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 976. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 977. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 978. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 979. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 980. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 981. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 982. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 983. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 984. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 985. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 986. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 987. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 988. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 989. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 990. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 991. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 992. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 993. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 994. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 995. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 996. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 997. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 998. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 999. Skip this record. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: Not enough field in line 1000. Skip this record. 
  INFO  @ Sat, 13 Jul 2024 18:16:00: Loading 0 predefined sgRNAs. 
  WARNING @ Sat, 13 Jul 2024 18:16:00: There are 0 sgRNAs with duplicated sequences. 
  INFO  @ Sat, 13 Jul 2024 18:16:00: Parsing FASTQ file POST-EGF-CDR-O_R1_001.fastq.gz... 
  INFO  @ Sat, 13 Jul 2024 18:16:00: Determining the trim-5 length of FASTQ file POST-EGF-CDR-O_R1_001.fastq.gz... 
  ERROR @ Sat, 13 Jul 2024 18:16:00: Library file must be provided to automatically determine the trim-5 length in fastq file. 
  Traceback (most recent call last):
    File "/home/ap764/mageck/work/conda/mageck_count-9e339ecd7c467639652a31d371fad0a7/bin/mageck", line 66, in <module>
      main();
      ^^^^^^
    File "/home/ap764/mageck/work/conda/mageck_count-9e339ecd7c467639652a31d371fad0a7/bin/mageck", line 47, in main
      mageckcount_main(args);
      ^^^^^^^^^^^^^^^^^^^^^^
    File "/home/ap764/mageck/work/conda/mageck_count-9e339ecd7c467639652a31d371fad0a7/lib/python3.12/site-packages/mageck/mageckCount.py", line 559, in mageckcount_main
      (allmappeddict,datastat)=mageckcount_processfastq(args,genedict,sgdict)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/ap764/mageck/work/conda/mageck_count-9e339ecd7c467639652a31d371fad0a7/lib/python3.12/site-packages/mageck/mageckCount.py", line 339, in mageckcount_processfastq
      mageckcount_processonefile(filename,args,dict00,sgdict,datastat[filename], pairedfile, adjust=adjust)
    File "/home/ap764/mageck/work/conda/mageck_count-9e339ecd7c467639652a31d371fad0a7/lib/python3.12/site-packages/mageck/mageckCountIO.py", line 253, in mageckcount_processonefile
      candidate_trim5=mageckcount_trim5_auto(filename,args,genedict)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/ap764/mageck/work/conda/mageck_count-9e339ecd7c467639652a31d371fad0a7/lib/python3.12/site-packages/mageck/mageckCountIO.py", line 50, in mageckcount_trim5_auto
      minlengthpool=min(lengthpool)
                    ^^^^^^^^^^^^^^^
  ValueError: min() iterable argument is empty

Work dir:
  /home/ap764/mageck/work/04/8878ae9f726b4509619b3e7fc25c11

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 details
The pipeline broke due to the above error. What do you think is the issue? Thank you!
The per base quality plot looks good.
When I used the command without - library , it finished successfully. However, I didn't get all the output files. I only have multiqc report.
a
Following up on this thread. Really appreciate your help.
l
Hii Aastha, could you give me a snippet of how your library file looks like?
a
@Laurence Kuhlburger Thank you for your reply. This is the library. I tried adding a unique identifier in the second screenshot as I don't have the gene name.
l
Hi Aastha this isn’t csv but tsv
a
Is that the issue? I know @Júlia Mir mentioned I need to use tsv instead of CSV
l
yes 🙂 could you try making your columns tab separated ?
a
Thank you 🙂 but, this is .tsv files
l
yes but the columns seem to be delimited with commas (commas separated) whereas we’d need it to be tab separated
a
Oh okay. sorry misinterpreted.
Copy code
nextflow run nf-core/crisprseq --input samplesheet_w_control.csv --mle_design_matrix design_matrix.txt --library input-seq.tsv --contrasts contrast_file.csv --analysis screening --outdir /home/ap764/mageck/output -profile conda
and this is the command i am using
l
ok let’s try separating the tab in your library and try the same command
a
Sure, thank you. Let me quickly try
Okay, that was one of the issue and now, it failed due to another error;
Copy code
[7d/f66e50] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:FASTQC (POST-PTPRZ-CDR-O)                            [100%] 5 of 5 ✔
[46/1cf936] NFC…_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_COUNT (control,control,treated,treated,treated) [100%] 1 of 1 ✔
[25/f697f3] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:BAGEL2_FC (null_POST-RFP-CDR-O,PRE-CDR-O)            [  0%] 0 of 1
[-        ] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:BAGEL2_BF                                            -
[-        ] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:BAGEL2_PR                                            -
[-        ] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:BAGEL2_GRAPH                                         -
[-        ] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_MLE_MATRIX                                    -
[-        ] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE                                      -
[66/745eb8] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MATRICESCREATION (1)                                 [100%] 1 of 1 ✔
[-        ] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_MLE                                           -
[-        ] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE_CONTRASTS                            -
[-        ] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:VENNDIAGRAM                                          -
[-        ] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MULTIQC                                              -
Creating env using conda: python=3.11.4 pandas=2.0.3 numpy=1.25.1 scikit-learn=1.3.0 click=8.1.6 [cache /home/ap764/mageck/work/conda/env-3dafdc33abfc69f10b50917558512649]
Creating env using conda: /home/ap764/.nextflow/assets/nf-core/crisprseq/./workflows/../modules/nf-core/mageck/mle/environment.yml [cache /home/ap764/mageck/work/conda/mageck_mle-59d5356fd26262b57cdb016b49dfae0f]
ERROR ~ Error executing process > 'NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:BAGEL2_FC (null_POST-RFP-CDR-O,PRE-CDR-O)'

Caused by:
  Process `NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:BAGEL2_FC (null_POST-RFP-CDR-O,PRE-CDR-O)` terminated with an error exit status (1)


Command executed:

  BAGEL.py fc -i count_table.count.txt -o null_vs_POST-RFP-CDR-O,PRE-CDR-O -c POST-RFP-CDR-O,PRE-CDR-O 
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:BAGEL2_FC":
      python: $(python --version | sed 's/Python //g')
      BAGEL2: $( BAGEL.py version | grep -o 'Version: [0-9.]*' | awk '{print  $2}' | grep -v '^$')
  END_VERSIONS

Command exit status:
  1

Command output:
  (empty)

Command error:
  Traceback (most recent call last):
    File "/home/ap764/.nextflow/assets/nf-core/crisprseq/bin/BAGEL.py", line 274, in calculate_fold_change
      ctrl_sum = reads[ctrl_labels].sum(axis=1)
                 ~~~~~^^^^^^^^^^^^^
    File "/home/ap764/mageck/work/conda/env-3dafdc33abfc69f10b50917558512649/lib/python3.11/site-packages/pandas/core/frame.py", line 3767, in __getitem__
      indexer = self.columns._get_indexer_strict(key, "columns")[1]
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/ap764/mageck/work/conda/env-3dafdc33abfc69f10b50917558512649/lib/python3.11/site-packages/pandas/core/indexes/base.py", line 5877, in _get_indexer_strict
      self._raise_if_missing(keyarr, indexer, axis_name)
    File "/home/ap764/mageck/work/conda/env-3dafdc33abfc69f10b50917558512649/lib/python3.11/site-packages/pandas/core/indexes/base.py", line 5938, in _raise_if_missing
      raise KeyError(f"None of [{key}] are in the [{axis_name}]")
  KeyError: "None of [Index(['POST-RFP-CDR-O', 'PRE-CDR-O'], dtype='object')] are in the [columns]"
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/home/ap764/.nextflow/assets/nf-core/crisprseq/bin/BAGEL.py", line 1269, in <module>
      bagel()
    File "/home/ap764/mageck/work/conda/env-3dafdc33abfc69f10b50917558512649/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
      return self.main(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
l
Could you remove - - contrasts from your command line?
a
Okay, trying. is it due to how my contrast file is prepared?
l
No I think this is more a design thing I did that's not optimized, could you use - - mle_design_matrix instead?
a
Okay, can give it a shot after the current one finishes up
a
nextflow run nf-core/crisprseq --input samplesheet_w_control.csv --mle_design_matrix design_matrix.txt --library final_input_sgrna.tsv --analysis screening --outdir /home/ap764/mageck/output -profile conda
Copy code
Execution cancelled -- Finishing pending tasks before exit
-[nf-core/crisprseq] Pipeline completed with errors-
ERROR ~ Error executing process > 'NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_MLE_MATRIX (design_matrix)'

Caused by:
  Process `NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_MLE_MATRIX (design_matrix)` terminated with an error exit status (255)


Command executed:

  mageck \
      mle \
       \
      --threads 6 \
      -k count_table.count.txt \
      -n design_matrix     \
      -d design_matrix.txt 
  
  
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_MLE_MATRIX":
      mageck: $(mageck -v)
  END_VERSIONS

Command exit status:
  255

Command output:
  (empty)

Command error:
  INFO  @ Mon, 15 Jul 2024 15:51:22: Parameters: /home/ap764/mageck/work/conda/mageck_mle-59d5356fd26262b57cdb016b49dfae0f/bin/mageck mle --threads 6 -k count_table.count.txt -n design_matrix -d design_matrix.txt 
  INFO  @ Mon, 15 Jul 2024 15:51:22: Cannot parse design matrix as a string; try to parse it as a file name ... 
  INFO  @ Mon, 15 Jul 2024 15:51:22: Design matrix: 
  INFO  @ Mon, 15 Jul 2024 15:51:22: [[1. 0. 0. 0.] 
  INFO  @ Mon, 15 Jul 2024 15:51:22:  [1. 1. 0. 0.] 
  INFO  @ Mon, 15 Jul 2024 15:51:22:  [1. 0. 1. 0.] 
  INFO  @ Mon, 15 Jul 2024 15:51:22:  [1. 0. 0. 1.]] 
  INFO  @ Mon, 15 Jul 2024 15:51:22: Beta labels:baseline,EGF,KCNM,PTPRZ 
  INFO  @ Mon, 15 Jul 2024 15:51:22: Included samples:POST-RFP-CDR-O,POST-EGF-CDR-O,POST-KCNM-CDR-O,POST-PTPRZ-CDR-O 
  INFO  @ Mon, 15 Jul 2024 15:51:22: Loaded samples:POST-RFP-CDR-O;POST-EGF-CDR-O;POST-KCNM-CDR-O;POST-PTPRZ-CDR-O 
  ERROR @ Mon, 15 Jul 2024 15:51:22: Sample POST-RFP-CDR-O cannot be found on the original read count table count_table.count.txt 

Work dir:
  /home/ap764/mageck/work/df/814bd11a8670a417abf2fa6565a3ec

Tip: when you have fixed the problem you can continue the execution adding the option `-resume` to the run command line

 -- 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
l
Could you paste the design matrix and your sample sheet?
a
Screenshot 2024-07-15 at 12.55.39 PM.png,Screenshot 2024-07-15 at 12.56.01 PM.png
l
ok could you put the sample name in the condition name in the samplesheet?
a
Sure. There's a new error 😞
Copy code
==> script output <==
      stdout: /home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/share/depmap-1.12.0/"depmap_1.12.0.tar.gz": OK
      Error: package or namespace load failed for 'depmap':
       .onLoad failed in loadNamespace() for 'depmap', details:
        call: (function (cond) 
        error: error in evaluating the argument 'x' in selecting a method for function 'query': Failed to collect lazy table.
      Caused by error in `db_collect()`:
      ! Arguments in `...` must be used.
      ✖ Problematic argument:
      • ..1 = Inf
      ℹ Did you misspell an argument name?
      Error: loading failed
      Execution halted
      
      stderr: ++ dirname -- /home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/bin/installBiocDataPackage.sh
      + SCRIPT_DIR=/home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/bin/../share/bioconductor-data-packages
      + json=/home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/bin/../share/bioconductor-data-packages/dataURLs.json
      ++ yq '."depmap-1.12.0".fn' /home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/bin/../share/bioconductor-data-packages/dataURLs.json
      + FN='"depmap_1.12.0.tar.gz"'
      + IFS=
      + read -r value
      ++ yq '."depmap-1.12.0".urls[]' /home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/bin/../share/bioconductor-data-packages/dataURLs.json
      + URLS+=($value)
      + IFS=
      + read -r value
      + URLS+=($value)
      + IFS=
      + read -r value
      + URLS+=($value)
      + IFS=
      + read -r value
      ++ yq '."depmap-1.12.0".md5' /home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/bin/../share/bioconductor-data-packages/dataURLs.json
      + MD5='"24fcff71d7af3a08bf179f7c7d016024"'
      + STAGING=/home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/share/depmap-1.12.0
      + mkdir -p /home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/share/depmap-1.12.0
      + TARBALL='/home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/share/depmap-1.12.0/"depmap_1.12.0.tar.gz"'
      + SUCCESS=0
      + for URL in ${URLS[@]}
      ++ echo '"<https://bioconductor.org/packages/3.16/data/experiment/src/contrib/depmap_1.12.0.tar.gz>"'
      ++ tr -d '"'
      + URL=<https://bioconductor.org/packages/3.16/data/experiment/src/contrib/depmap_1.12.0.tar.gz>
      ++ echo '"24fcff71d7af3a08bf179f7c7d016024"'
      ++ tr -d '"'
      + MD5=24fcff71d7af3a08bf179f7c7d016024
      + curl -L <https://bioconductor.org/packages/3.16/data/experiment/src/contrib/depmap_1.12.0.tar.gz>
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      
        0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
        0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      100   406  100   406    0     0   4227      0 --:--:-- --:--:-- --:--:--  4229
      
      100 1349k  100 1349k    0     0  3999k      0 --:--:-- --:--:-- --:--:-- 3999k
      + [[ 0 == 0 ]]
      ++ uname -s
      + [[ Linux == \L\i\n\u\x ]]
      + md5sum -c
      + SUCCESS=1
      + break
      + [[ 1 != 1 ]]
      + R CMD INSTALL --library=/home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/lib/R/library '/home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/share/depmap-1.12.0/"depmap_1.12.0.tar.gz"'
      * installing *source* package 'depmap' ...
      ** using staged installation
      ** R
      ** inst
      ** byte-compile and prepare package for lazy loading
      ** help
      *** installing help indices
      ** building package indices
      ** installing vignettes
      ** testing if installed package can be loaded from temporary location
      ERROR: loading failed
      * removing '/home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/lib/R/library/depmap'
      
      return code: 1
      
      kwargs:
      {}
      
      Traceback (most recent call last):
        File "/home/ap764/miniconda3/lib/python3.12/site-packages/conda/exception_handler.py", line 17, in __call__
          return func(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/home/ap764/miniconda3/lib/python3.12/site-packages/conda/cli/main.py", line 83, in main_subshell
          exit_code = do_call(args, parser)
                      ^^^^^^^^^^^^^^^^^^^^^
        File "/home/ap764/miniconda3/lib/python3.12/site-packages/conda/cli/conda_argparse.py", line 199, in do_call
          result = getattr(module, func_name)(args, parser)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/ap764/miniconda3/lib/python3.12/site-packages/conda/notices/core.py", line 131, in wrapper
          return func(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/home/ap764/miniconda3/lib/python3.12/site-packages/conda/cli/main_create.py", line 125, in execute
          return install(args, parser, "create")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/ap764/miniconda3/lib/python3.12/site-packages/conda/cli/install.py", line 450, in install
          handle_txn(unlink_link_transaction, prefix, args, newenv)
        File "/home/ap764/miniconda3/lib/python3.12/site-packages/conda/cli/install.py", line 483, in handle_txn
          unlink_link_transaction.execute()
        File "/home/ap764/miniconda3/lib/python3.12/site-packages/conda/core/link.py", line 353, in execute
          self._execute(
        File "/home/ap764/miniconda3/lib/python3.12/site-packages/conda/core/link.py", line 969, in _execute
          raise CondaMultiError(
      conda.CondaMultiErrorclass: LinkError
      message:
      post-link script failed for package bioconda::bioconductor-depmap-1.12.0-r42hdfd78af_0
      location of failed script: /home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/bin/.bioconductor-depmap-post-link.sh
      ==> script messages <==
      <None>
      ==> script output <==
      stdout: /home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/share/depmap-1.12.0/"depmap_1.12.0.tar.gz": OK
      Error: package or namespace load failed for 'depmap':
       .onLoad failed in loadNamespace() for 'depmap', details:
        call: (function (cond) 
        error: error in evaluating the argument 'x' in selecting a method for function 'query': Failed to collect lazy table.
      Caused by error in `db_collect()`:
      ! Arguments in `...` must be used.
      ✖ Problematic argument:
      • ..1 = Inf
      ℹ Did you misspell an argument name?
      Error: loading failed
      Execution halted
      
      stderr: ++ dirname -- /home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/bin/installBiocDataPackage.sh
      + SCRIPT_DIR=/home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/bin/../share/bioconductor-data-packages
      + json=/home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/bin/../share/bioconductor-data-packages/dataURLs.json
      ++ yq '."depmap-1.12.0".fn' /home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/bin/../share/bioconductor-data-packages/dataURLs.json
      + FN='"depmap_1.12.0.tar.gz"'
      + IFS=
      + read -r value
      ++ yq '."depmap-1.12.0".urls[]' /home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654/bin/../share/bioconductor-data-packages/dataURLs.json
      + URLS+=($value)
      + IFS=
      + read -r value
      + URLS+=($value)
      + IFS=
      + read -r value
      + URLS+=($value)
      + IFS=
      + read -r value
      ++ yq '."depmap-1.12.0".md5' /home/ap764/magec
l
would you mind running with
nextflow run nf-core/crisprseq -r dev
?
a
Thank you so much. Let me try that
a
Copy code
f <- file(version_file_path, "w")
executor >  local (8)
[95/42860c] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:FASTQC (POST-KCNM-CDR-O)                              [100%] 5 of 5 ✔
[77/d07e46] NFC…AGECK_COUNT (POST-RFP-CDR-O,PRE-CDR-O,POST-EGF-CDR-O,POST-KCNM-CDR-O,POST-PTPRZ-CDR-O) [100%] 1 of 1 ✔
[b9/8f70e6] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_MLE_MATRIX (design_matrix)                     [100%] 1 of 1 ✔
[df/1527fb] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE (design_matrix)                       [100%] 1 of 1, failed: 1 ✘
[-        ] 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:MAGECK_FLUTEMLE (design_matrix)'

Caused by:
  Process `NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE (design_matrix)` terminated with an error exit status (127)


Command executed [/home/ap764/.nextflow/assets/nf-core/crisprseq/templates/template_fluteMLE.R]:

  #!/usr/bin/env Rscript
  #### author: Laurence Kuhlburger
  #### Released under the MIT license. See git repository (<https://github.com/nf-core/crisprseq>) for full license text.
  ####
  #### graphs mageck MLE
  
  library(MAGeCKFlute)
  library(clusterProfiler)
  library(ggplot2)
  
  library(pathview)
  options(ggrepel.max.overlaps = Inf)
  mle <- read.table("design_matrix.gene_summary.txt", header = TRUE, sep = "	", stringsAsFactors = FALSE)
  
  if("design_matrix" == "day0") {
      beta_strings <- grep("\\.beta", colnames(mle), value = TRUE)
      before_beta <- sub("\\.beta.*", "", beta_strings)
      unique_strings <- unique(before_beta)
      for(i in unique_strings) {
          tryCatch(
              {
                  FluteMLE(mle, treatname= i, proj=i, <http://pathview.top|pathview.top>=5)
              },
          error=function(e) {
                  print(paste("Could not run FluteMLE with project",i))
              }
          )
      }
  } else {
      beta_strings <- grep("\\.beta", colnames(mle), value = TRUE)
      before_beta <- sub("\\.beta.*", "", beta_strings)
      unique_strings <- unique(before_beta)
      for(i in unique_strings) {
          tryCatch(
              {
              FluteMLE(mle, treatname= i, proj=i,  , <http://pathview.top|pathview.top>=5)
              },
          error=function(e) {
                  print(paste("Could not run FluteMLE with project",i))
              }
          )
      }
  }
  
  version_file_path <- "versions.yml"
  version_flute <- paste(unlist(packageVersion("MAGeCKFlute")), collapse = ".")
  version_ggplot <- paste(unlist(packageVersion("ggplot2")), collapse = ".")
  version_clusterprofiler <- paste(unlist(packageVersion("clusterProfiler")), collapse = ".")
  version_pathview <- paste(unlist(packageVersion("pathview")), collapse = ".")
  
  f <- file(version_file_path, "w")
  writeLines('"NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE":', f)
  writeLines("    MAGeCKFlute: ", f, sep = "")
  writeLines(version_flute, f)
  writeLines("    ggplot2: ", f, sep = "")
  writeLines(version_ggplot, f)
  writeLines("    clusterProfiler: ", f, sep = "")
  writeLines(version_clusterprofiler, f)
  writeLines("    pathview: ", f, sep = "")
  writeLines(version_pathview, f)
  close(f)

Command exit status:
  127

Command output:
  (empty)

Command error:
  /usr/bin/env: 'Rscript': No such file or directory

Work dir:
  /home/ap764/mageck/work/df/1527fbc5bc1b14f4e37e4b4e79eaf6

Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`

 -- 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
Copy code
nextflow run nf-core/crisprseq -r dev --input samplesheet_w_control.csv --mle_design_matrix design_matrix.txt --library final_input_sgrna.tsv --analysis screening --outdir /home/ap764/mageck/output_final -profile conda
j
Hi @Aastha Pal, could you share your
.nextflow.log
file? Somehow the conda container is not working
a
Hi @Júlia Mir, here it is.
Also, in my gene_summary output from mle, i don't see the control column. Not sure why?
j
Could you try removing the directory
/home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654
? This contains the cache of the mageckflute conda container. If you run the pipeline again it should generate the container from scratch, let's see if this works 🤞🏻
a
Copy code
No, luck. I removed this. /home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654
I wonder why is it that i don't get the enrichment of my controls?I know those sequences exist in my fastqs and I defined them in my sample sheet as well. What do you think is happening?
j
The error you are seeing is related to conda, the container can't be created and that's why the process can't run
Regarding the control enrichment, I don't understand the pipeline enough to answer, sorry. Maybe @Laurence Kuhlburger can help 🙂
a
Thank you@Julia, let me try to create the conda env again. @Laurence Kuhlburger, why do you think the pipeline is not picking up the negative controls?
I ran it again after removing the env creating the issue:
Copy code
command used: nextflow run nf-core/crisprseq -r dev --input samplesheet_w_control.csv --mle_design_matrix design_matrix.txt --library final_input_sgrna.tsv --contrasts contrast_file.csv --analysis screening --outdir /home/ap764/mageck/output -profile conda
error:
Copy code
[de/4e92ad] NFC…SPRSEQ_SCREENING:MAGECK_MLE (null_vs_POST-RFP-CDR-O,PRE-CDR-O) | 1 of 1, failed: 1 ✘
[-        ] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE_CONTRASTS     -
[-        ] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:VENNDIAGRAM                   -
[-        ] 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:MAGECK_MLE (null_vs_POST-RFP-CDR-O,PRE-CDR-O)'

Caused by:
  Process `NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_MLE (null_vs_POST-RFP-CDR-O,PRE-CDR-O)` terminated with an error exit status (1)


Command executed:

  mageck \
      mle \
       \
      --threads 6 \
      -k count_table.count.txt \
      -n null_vs_POST-RFP-CDR-O,PRE-CDR-O     \
      -d null_vs_POST-RFP-CDR-O_PRE-CDR-O.txt 
  
  
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_MLE":
      mageck: $(mageck -v)
  END_VERSIONS

Command exit status:
  1

Command output:
  (empty)

Command error:
  INFO  @ Wed, 24 Jul 2024 01:30:31: Parameters: /home/ap764/mageck/work/conda/mageck_mle-59d5356fd26262b57cdb016b49dfae0f/bin/mageck mle --threads 6 -k count_table.count.txt -n null_vs_POST-RFP-CDR-O,PRE-CDR-O -d null_vs_POST-RFP-CDR-O_PRE-CDR-O.txt 
  INFO  @ Wed, 24 Jul 2024 01:30:31: Cannot parse design matrix as a string; try to parse it as a file name ... 
  Traceback (most recent call last):
    File "/home/ap764/mageck/work/conda/mageck_mle-59d5356fd26262b57cdb016b49dfae0f/bin/mageck", line 66, in <module>
      main();
      ^^^^^^
    File "/home/ap764/mageck/work/conda/mageck_mle-59d5356fd26262b57cdb016b49dfae0f/bin/mageck", line 43, in main
      args=crisprseq_parseargs();
           ^^^^^^^^^^^^^^^^^^^^^
    File "/home/ap764/mageck/work/conda/mageck_mle-59d5356fd26262b57cdb016b49dfae0f/lib/python3.12/site-packages/mageck/argsParser.py", line 258, in crisprseq_parseargs
      mageckmle_main(parsedargs=args); # ignoring the script path, and the sub command
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/ap764/mageck/work/conda/mageck_mle-59d5356fd26262b57cdb016b49dfae0f/lib/python3.12/site-packages/mageck/mlemageck.py", line 41, in mageckmle_main
      args=mageckmle_postargs(args)
           ^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/ap764/mageck/work/conda/mageck_mle-59d5356fd26262b57cdb016b49dfae0f/lib/python3.12/site-packages/mageck/mleargparse.py", line 53, in mageckmle_postargs
      (desmat,sampleid,betalabel)=parse_designmat(args.design_matrix)
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/ap764/mageck/work/conda/mageck_mle-59d5356fd26262b57cdb016b49dfae0f/lib/python3.12/site-packages/mageck/mledesignmat.py", line 170, in parse_designmat
      raise ValueError('parsing the design matrix from file '+designmatstr)
  ValueError: parsing the design matrix from file null_vs_POST-RFP-CDR-O_PRE-CDR-O.txt

Work dir:
  /home/ap764/mageck/work/de/4e92adf95086198c569ff496c019c1

Tip: when you have fixed the problem you can continue the execution adding the option `-resume` to the run command line

 -- 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
This is in my output folder where design matrix is one of the outputs
l
Could you give me your contrast file and samplesheet?
a
Copy code
reference;treatment    
POST-RFP-CDR-O,PRE-CDR-O;POST-EGF-CDR-O,POST-KCNM-CDR-O,POST-PTPRZ-CDR-O
contrast
Copy code
sample, fastq_1, fastq_2, condition                                           
POST-RFP-CDR-O,/home/ap764/mageck/NGS_raw_data/POST-RFP-CDR-O_R1_001.fastq.gz,/home/ap764/mageck/NGS_raw_data/POST-RFP-CDR-O_R2_001.fastq.gz,POST-RFP-CDR-O
PRE-CDR-O,/home/ap764/mageck/NGS_raw_data/PRE-CDR-O_R1_001.fastq.gz,/home/ap764/mageck/NGS_raw_data/PRE-CDR-O_R2_001.fastq.gz,PRE-CDR-O
samplesheet
My mle output only shows the three target beta scores and skipped the control sample.
Copy code
Gene	sgRNA	EGF|beta	EGF|z	EGF|p-value	EGF|fdr	EGF|wald-p-value	EGF|wald-fdr	KCNM|beta	KCNM|z	KCNM|p-value	KCNM|fdr	KCNM|wald-p-value	KCNM|wald-fdr	PTPRZ|beta	PTPRZ|z	PTPRZ|p-value	PTPRZ|fdr	PTPRZ|wald-p-value	PTPRZ|wald-fdr
KCNMB2_301	1	-0.3552	-1.1478	0.65734	0.99681	0.25103	0.85176	0.12627	0.40803	0.58142	0.99595	0.68325	0.99949	-0.2262	-0.73095	0.76723	0.99677	0.46481	0.84276
KCNMB2_273	1	0.3396	0.35297	0.64735	0.99681	0.72411	0.87097	-0.062044	-0.064487	0.95305	0.99791	0.94858	0.99949	0.75664	0.7864	0.22777	0.9913	0.43163	0.84276
But the count_table.countsummary.txt shows the presence.
l
Is there an empty line between the header and your first contrast?
a
contrast_file.csv
samplesheet_w_control.csv
l
Hey if you are comparing against the control sample it's normal to not have it in their since it's being compared against
a
I am sorry, i don't follow. This is my first time analysing crispr data.
I mean, shouldn't I have beta scores for negatives too?
l
Beta scores are condition VS condition, kind of like a fold change
a
Okay, I am not comparing against negatives. I just want to see the enrichment of all the samples.
Exactly
l
I'm not sure what you mean with negatives?
a
Screenshot 2024-07-23 at 11.29.05 PM.png
This is condition vs condition
like you said.
So, here I think they are plotting the control vs treated.
This is what i meant.
Not sure what this is and that's why I am a bit confused as to why i only have these controls
Also, would like to ask why my pipeline is breaking at this step?
l
Copy code
Samples baseline    POST-EGF-CDR-O.POST-KCNM-CDR-O.POST-PTPRZ-CDR-O_vs_POST-RFP-CDR-O.PRE-CDR-O 
POST-RFP-CDR-O  1   0
PRE-CDR-O   1   0
POST-EGF-CDR-O	1	1
POST-KCNM-CDR-O	1	1
POST-PTPRZ-CDR-O	1	1
could you run
Copy code
nextflow run nf-core/crisprseq -r dev --input samplesheet_w_control.csv --mle_design_matrix design_matrix.txt --library final_input_sgrna.tsv --analysis screening --outdir /home/ap764/mageck/output -profile conda
with design_matrix.txt being here above?
a
Instead of this?
Copy code
Sample	         baseline   EGF  KCNM  PTPRZ
POST-RFP-CDR-O   1	    0	 0     0
POST-EGF-CDR-O   1          1    0     0
POST-KCNM-CDR-O  1          0    1     0
POST-PTPRZ-CDR-O 1          0    0     1
l
Ok you can keep this but please remove
--contrastst
from your command
a
sure, so I am just gonna run this:
nextflow run nf-core/crisprseq -r dev --input samplesheet_w_control.csv --mle_design_matrix design_matrix.txt --library final_input_sgrna.tsv --analysis screening --outdir /home/ap764/mageck/output -profile conda
l
yes looks good
how did you fix the conda issue?
a
I just removed the
/home/ap764/mageck/work/conda/env-74aabf46ab426ccf38987b58bfc08654
not sure if its fixed.
l
ok let me know if it isn’t
a
Copy code
executor >  local (8)
[90/f186a3] NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:FASTQC (POST-KCNM-CDR-O)      | 5 of 5 ✔
[ad/da22ac] NFC…R-O,PRE-CDR-O,POST-EGF-CDR-O,POST-KCNM-CDR-O,POST-PTPRZ-CDR-O) | 1 of 1 ✔
[7b/c72af1] NFC…RISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_MLE_MATRIX (design_matrix) | 1 of 1 ✔
[8d/013eae] NFC…_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE (design_matrix) | 1 of 1, failed: 1 ✘
[-        ] 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:MAGECK_FLUTEMLE (design_matrix)'

Caused by:
  Process `NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE (design_matrix)` terminated with an error exit status (127)


Command executed [/home/ap764/.nextflow/assets/nf-core/crisprseq/templates/template_fluteMLE.R]:

  #!/usr/bin/env Rscript
  #### author: Laurence Kuhlburger
  #### Released under the MIT license. See git repository (<https://github.com/nf-core/crisprseq>) for full license text.
  ####
  #### graphs mageck MLE
  
  library(MAGeCKFlute)
  library(clusterProfiler)
  library(ggplot2)
  
  library(pathview)
  options(ggrepel.max.overlaps = Inf)
  mle <- read.table("design_matrix.gene_summary.txt", header = TRUE, sep = "	", stringsAsFactors = FALSE)
  
  if("design_matrix" == "day0") {
      beta_strings <- grep("\\.beta", colnames(mle), value = TRUE)
      before_beta <- sub("\\.beta.*", "", beta_strings)
      unique_strings <- unique(before_beta)
      for(i in unique_strings) {
          tryCatch(
              {
                  FluteMLE(mle, treatname= i, proj=i, <http://pathview.top|pathview.top>=5)
              },
          error=function(e) {
                  print(paste("Could not run FluteMLE with project",i))
              }
          )
      }
  } else {
      beta_strings <- grep("\\.beta", colnames(mle), value = TRUE)
      before_beta <- sub("\\.beta.*", "", beta_strings)
      unique_strings <- unique(before_beta)
      for(i in unique_strings) {
          tryCatch(
              {
              FluteMLE(mle, treatname= i, proj=i,  , <http://pathview.top|pathview.top>=5)
              },
          error=function(e) {
                  print(paste("Could not run FluteMLE with project",i))
              }
          )
      }
  }
  
  version_file_path <- "versions.yml"
  version_flute <- paste(unlist(packageVersion("MAGeCKFlute")), collapse = ".")
  version_ggplot <- paste(unlist(packageVersion("ggplot2")), collapse = ".")
  version_clusterprofiler <- paste(unlist(packageVersion("clusterProfiler")), collapse = ".")
  version_pathview <- paste(unlist(packageVersion("pathview")), collapse = ".")
  
  f <- file(version_file_path, "w")
  writeLines('"NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE":', f)
  writeLines("    MAGeCKFlute: ", f, sep = "")
  writeLines(version_flute, f)
  writeLines("    ggplot2: ", f, sep = "")
  writeLines(version_ggplot, f)
  writeLines("    clusterProfiler: ", f, sep = "")
  writeLines(version_clusterprofiler, f)
  writeLines("    pathview: ", f, sep = "")
  writeLines(version_pathview, f)
  close(f)

Command exit status:
  127

Command output:
  (empty)

Command error:
  /usr/bin/env: 'Rscript': No such file or directory

Work dir:
  /home/ap764/mageck/work/8d/013eae9d1032316baef01978a208a4

Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`

 -- 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
No luck 😞
l
could you try with -r 2.1,.1 instead of dev?
a
let me quickly try
Screenshot 2024-07-23 at 11.56.36 PM.png
l
sorryy typo i mean 2.1.1
✅ 1
a
Screenshot 2024-07-23 at 11.57.49 PM.png
Not sure. Do you think removing conda env and creating again would do something?
l
Would you mind opening an issue here https://github.com/nf-core/crisprseq/issues ?
a
Just submitted. Hope to get it resolved soon. Thank you for your help.
l
Hi Aastha, is there anyway you could submit using docker and not conda?
a
Sure, let me try. Would that make any differece?
l
Yeah we unfortunately discovered issues with conda
a
Okay.
Sure
l
Did it run through? :)
a
Hi @Laurence Kuhlburger, thank you for following up. I couldn't get it running with -r 2.1.1 error:
Copy code
ERROR ~ Error executing process > 'NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE (design_matrix)'

Caused by:
  Missing output file(s) `MAGeCKFlute_*/Enrichment/*` expected by process `NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE (design_matrix)`
But i tried with -r dev
Copy code
[9b/df5628] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:FASTQC (POST-PTPRZ-CDR-O)                                                               [100%] 5 of 5 ✔
[9b/09170b] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_COUNT (POST-RFP-CDR-O,PRE-CDR-O,POST-EGF-CDR-O,POST-KCNM-CDR-O,POST-PTPRZ-CDR-O) [100%] 1 of 1 ✔
[89/06296f] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_MLE_MATRIX (design_matrix)                                                       [100%] 1 of 1 ✔
[81/f56ee0] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE (design_matrix)                                                         [100%] 1 of 1, failed: 1 ✘
[-        ] process > NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MULTIQC                                                                                 [  0%] 0 of 1
Execution cancelled -- Finishing pending tasks before exit
-[nf-core/crisprseq] Pipeline completed with errors-
ERROR ~ Error executing process > 'NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE (design_matrix)'

Caused by:
  Missing output file(s) `MAGeCKFlute_*/Enrichment/*` expected by process `NFCORE_CRISPRSEQ:CRISPRSEQ_SCREENING:MAGECK_FLUTEMLE (design_matrix)`


Command executed [/home/ap764/.nextflow/assets/nf-core/crisprseq/templates/template_fluteMLE.R]:
But this is the exact problem with mageck mle. However, I can see the presence of negative control reads in my fastq data.
Hi @Laurence Kuhlburger, just wanted to follow up. Thank you!
l
Hi Aastha i have you in mind and will hopefully get back to you soon!!
❤️ 1
Hi Aastha, i was on holidays sorry! Did you manage to get it running or are you still stuck?
a
Hi @Laurence Kuhlburger, no, it still throws the same error and the pipeline doesn't finish entirely.
l
I just merged https://github.com/nf-core/crisprseq/pull/190 so could you try again with
-dev
should work now, thanks for your patience
a
Thank you!
l
did it run?
hi @Aastha Pal could you let me know if it worked for you?
a
Hi @Laurence Kuhlburger sorry, I moved away from this analysis but I am still facing the issues. 😞
Any update?
Hi @Laurence Kuhlburger, i was wondering if there has been any update on this as I am stilll stuck at the mageckflute step. I tried downloading everything but it does't work at all.