Closed MarcDalod closed 2 years ago
The error was due to the problem in config file generation, since I didn't choose docker while making config file so I was having errors. When I made the config file with the command given below, the error was removed. The correct way for making config file to be used by docker is given below,
nextflow config vib-singlecell-nf/vsn-pipelines \
-profile tenx,single_sample_scenic,scenic_multiruns,scenic_use_cistarget_motifs,scenic_use_cistarget_tracks,hg38,singularity[ replace singularity with docker here] \
> pbmc10k.vsn-pipelines.complete.config
so If you choose docker then the last part is changed in the config file, specifically adopted for docker
docker{ enabled = true runOptions = '-i -v /home/cheema/your_user_name:/home/your_user_name' }
Hi All,
I am trying to run the nextflow multiruns pyscenic pipeline on a remote server for the small dataset given here (https://vsn-pipelines-examples.readthedocs.io/en/latest/PBMC10k_multiruns.html). As this remote server forces to use singularity image, therefore I built a dockerfile and then converted it to a singularity image from a docker image. The singularity image contain nextflow version 21.04.3, with java version 8 and docker version (17.03) was also installed within this docker image for making docker pull.
Now when I used this pipeline on the remote server using singularity I am having following problems,
I first pulled all the pipelines using the code given below:
Singularity> nextflow -C pbmc10k.vsn-pipelines.complete.config \ run vib-singlecell-nf/vsn-pipelines \ -entry single_sample \ -r v0.25.0 -resume
manifest { name = 'vib-singlecell-nf/vsn-pipelines' description = 'A repository of pipelines for single-cell data in Nextflow DSL2' homePage = 'https://github.com/vib-singlecell-nf/vsn-pipelines' version = '0.25.0' mainScript = 'main.nf' defaultBranch = 'master' nextflowVersion = '!>=20.10.0' }
params { global { project_name = '10x_PBMC' outdir = 'out' species = 'human' genome { assembly = 'hg38' } } misc { test { enabled = false } } utils { container = 'vibsinglecellnf/utils:0.4.0' publish { compressionLevel = 6 annotateWithBatchVariableName = false mode = 'link' } } sc { file_converter { off = 'h5ad' tagCellWithSampleId = true remove10xGEMWell = false useFilteredMatrix = true makeVarIndexUnique = false } scanpy { container = 'vibsinglecellnf/scanpy:0.5.2' report { annotations_to_plot = [] } feature_selection { report_ipynb = '/src/scanpy/bin/reports/sc_select_variable_genes_report.ipynb' method = 'mean_disp_plot' minMean = 0.0125 maxMean = 3 minDisp = 0.5 off = 'h5ad' } feature_scaling { method = 'zscore_scale' maxSD = 10 off = 'h5ad' } neighborhood_graph {
} data { tenx { cellranger_mex = '/home/cheema/scenic_analysis/sample_data/outs' } } }
process { executor = 'local' withLabel:'compute_resources.*|compute_resourcesdefault' { cpus = 2 memory = '60 GB' time = '1h' clusterOptions = '-A cluster_account' } withLabel:compute_resourcesminimal { cpus = 1 memory = '1 GB' } withLabel:compute_resourcesmem { cpus = 4 memory = '160 GB' } withLabel:compute_resourcescpu { cpus = 20 memory = '80 GB' } withLabel:compute_resources__report { maxForks = 2 cpus = 1 memory = '160 GB' } withLabel:compute_resources24hqueue { time = '24h' } withLabel:'compute_resources__scenic.' { cpus = 4 memory = '60 GB' time = '24h' maxForks = 1 } withLabel:compute_resourcesscenic_grn { cpus = 4 memory = '120 GB' time = '24h' } withLabel:compute_resourcesscenic_cistarget { cpus = 4 memory = '80 GB' } withLabel:compute_resourcesscenic_aucell { cpus = 4 memory = '80 GB' } withLabel:'compute_resourcesscenic_multiruns.' { cpus = 4 memory = '60 GB' time = '24h' } withLabel:compute_resources__scenic_multiruns_motifs2regulons { memory = '60 GB' } }
timeline { enabled = true file = 'out/nextflow_reports/execution_timeline.html' }
report { enabled = true file = 'out/nextflow_reports/execution_report.html' }
trace { enabled = true file = 'out/nextflow_reports/execution_trace.txt' }
dag { enabled = true file = 'out/nextflow_reports/pipeline_dag.svg' }
min { enabled = false }
docker{ enabled = true autoMounts = true runOptions = '-B /ddn1/vol1/staging/leuven/stg_00002/,/staging/leuven/stg_00002/' }