Skip to content

Pandoc error when running using cluster submission #137

@alexg9010

Description

@alexg9010

I was running the test data in a cluster environment.

I had to extend the memory limit for counts_from_SALMON in tests/settings.yaml:

execution:
  submit-to-cluster: yes
  rules:
    counts_from_SALMON:
      threads: 1
      memory: 2000

Then run via

export PYTHONPATH=$GUIX_PYTHONPATH
export PIGX_UNINSTALLED="1" ; ./pigx-rnaseq -s tests/settings.yaml tests/sample_sheet.csv

The pipeline failed for the report generating jobs:

[...]
Error in rule report1:
    jobid: 40
    output: /fast/home/a/agosdsc/projects/pigx/pigx_rnaseq/tests/output/report/hisat2/analysis1.deseq.report.html, /fast/home/a/agosdsc/projects/pigx/pigx_rnaseq/tests/output/report/hisat2/analysis1.deseq_results.tsv
    log: /fast/home/a/agosdsc/projects/pigx/pigx_rnaseq/tests/output/logs/hisat2/analysis1.report.log (check log file(s) for error message)
    shell:
        /gnu/store/b0skxv953fpsdg79cs4g9qz78ds6pvlz-profile/bin/Rscript --vanilla /fast/home/a/agosdsc/projects/pigx/pigx_rnaseq/scripts/runDeseqReport.R --logo=/fast/home/a/agosdsc/projects/pigx/pigx_rnaseq/images/Logo_PiGx.png --prefix='analysis1' --reportFile=/fast/home/a/agosdsc/projects/pigx/pigx_rnaseq/scripts/deseqReport.Rmd --countDataFile=/fast/home/a/agosdsc/projects/pigx/pigx_rnaseq/tests/output/feature_counts/raw_counts/hisat2/counts.tsv --colDataFile=/fast/home/a/agosdsc/projects/pigx/pigx_rnaseq/tests/output/colData.tsv --gtfFile=/fast/home/a/agosdsc/projects/pigx/pigx_rnaseq/tests/sample_data/sample.gtf --caseSampleGroups='HBR' --controlSampleGroups='UHR' --covariates=''  --workdir=/fast/home/a/agosdsc/projects/pigx/pigx_rnaseq/tests/output/report/hisat2 --organism='' --description='This analysis is part of the pigx-rnaseq build-time tests.' --selfContained='True' >> /fast/home/a/agosdsc/projects/pigx/pigx_rnaseq/tests/output/logs/hisat2/analysis1.report.log 2>&1
        (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)
    cluster_jobid: Your job 7042317 ("snakejob.report1.40.sh") has been submitted

Error executing rule report1 on cluster (jobid: 40, external: Your job 7042317 ("snakejob.report1.40.sh") has been submitted, jobscript: /fast/home/a/agosdsc/projects/pigx/pigx_rnaseq/tests/output/.snakemake/tmp.a2y6tlv1/snakejob.report1.40.sh). For error details see the cluster log and the log files of the involved rule(s).
[...]

This is the content of the log:

 $ cat  /fast/home/a/agosdsc/projects/pigx/pigx_rnaseq/tests/output/logs/salmon/analysis1.report.salmon.genes.log

arguments: --logo=/gnu/store/1nwmyp16abzi3yhvk43g0m21plcbgw5g-pigx-rnaseq-0.1.0/share/pigx_rnaseq/Logo_PiGx.png --prefix=D3_VS_WILDTYPE.salmon.transcripts --reportFile=/gnu/store/1nwmyp16abzi3yhvk43g0m21plcbgw5g-pigx-rnaseq-0.1.0/libexec/pigx_rnaseq/scripts/deseqReport.Rmd --countDataFile=/fast/AG_Akalin/agosdsc/projects/testing_swaroop/role_of_pde3a_in_htnb/feature_counts/raw_counts/salmon/counts_from_SALMON.transcripts.tsv --colDataFile=/fast/AG_Akalin/agosdsc/projects/testing_swaroop/role_of_pde3a_in_htnb/colData.tsv --gtfFile=/fast/AG_Klussmann/swaroop/rat_annotation/gtf/Rattus_norvegicus.mRatBN7.2.111.gtf --caseSampleGroups=D3_MUTANT --controlSampleGroups=WILD_TYPE --covariates= --workdir=/fast/AG_Akalin/agosdsc/projects/testing_swaroop/role_of_pde3a_in_htnb/report/salmon --organism= --description=Comparison of D3 mutatants vs wildtype --selfContained=True
setting working directory to  /fast/AG_Akalin/agosdsc/projects/testing_swaroop/role_of_pde3a_in_htnb/report/salmon
Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
Execution halted

I see this pandoc related error:

Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions