Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter skip_spp has no effect #311

Closed
lextallan opened this issue Oct 4, 2022 · 6 comments
Closed

Parameter skip_spp has no effect #311

lextallan opened this issue Oct 4, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@lextallan
Copy link

Description of the bug

Hi!

It appears the ability to skip phantompeakqualtools has been left out. "skip_spp" is listed in the parameters on the nf-core site but there's no inclusion of the parameter in the workflow to make the module skippable (i.e processes PHANTOMPEAKQUALTOOLS and MULTIQC_CUSTOM_PHANTOMPEAKQUALTOOLS should be within if (!params.skip_spp) { }). Just double checked and indeed even running the test profile with option --skip_spp still shows phantompeakqualtools being run.

As another issue, I've repeatedly had issues with phantompeakqualtools (including in previous nf-core pipelines) with something akin to the following error:

Command error:
WARNING: Skipping mount /var/singularity/mnt/session/etc/resolv.conf [files]: /etc/resolv.conf doesn't exist in container
Loading required package: Rcpp
Error in if ((crosscorr$rel.phantom.coeff >= 0) & (crosscorr$rel.phantom.coeff < :
missing value where TRUE/FALSE needed
Calls: source -> withVisible -> eval -> eval
Execution halted

Some googling suggests that perhaps since duplicates have already been removed run_spp_nodups.R should be used instead of run_spp.R. The test data still runs fine though so maybe it's just a problem with my datasets?

Thanks!

Command used and terminal output

nextflow run nf-core/chipseq -r 2.0.0 -profile test,singularity --skip_spp

Relevant files

No response

System information

N E X T F L O W ~ version 22.04.0
Launching https://github.com/nf-core/chipseq DSL2 - revision: 51eba00 [2.0.0]

@lextallan lextallan added the bug Something isn't working label Oct 4, 2022
@ggrimes
Copy link

ggrimes commented Nov 26, 2022

I am having the same issue is there a work around?

@xchan-wcm
Copy link

I am also having the same issue.

System information
N E X T F L O W ~ version 22.10.4
Launching https://github.com/nf-core/chipseq DSL2 - revision: 51eba00 [master]

@JoseEspinosa JoseEspinosa mentioned this issue Apr 18, 2023
4 tasks
@JoseEspinosa JoseEspinosa added the WIP Work in progress label Apr 18, 2023
@JoseEspinosa
Copy link
Member

The skip_spp parameter is back in the dev branch, you can give it a try in case you are interested.

@tianliu9
Copy link

Hi Jose,

I still encountered this error with using this script:

nextflow run nf-core/chipseq
-profile singularity
--input Foreman_lab_ChIPseq.csv
--genome GRCh38
--narrow_peak false
--read_length 150
--macs_gsize 2862089864
--outdir $OUTPUT
--skip_spp
-resume

What should I do to fix this error? Thanks!

@JoseEspinosa
Copy link
Member

Hi, you would need to run the dev version of the pipeline adding -r dev to your current nextflow command

@JoseEspinosa JoseEspinosa removed the WIP Work in progress label Jul 24, 2024
@JoseEspinosa
Copy link
Member

Fixed in #339

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants