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

S3 #4

Open
wants to merge 6 commits into
base: s3
Choose a base branch
from
Open

S3 #4

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ testing/
testing*
*.pyc
null/
.singularityCache/
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
IMPORT FUNCTIONS / MODULES / SUBWORKFLOWS / WORKFLOWS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
nextflow.enable.moduleBinaries = true
//nextflow.enable.moduleBinaries = true

include { BATCHCONVERT_TO_OMETIFF } from './workflows/bftools.nf'
include { PIPELINE_INITIALISATION } from './subworkflows/local/utils_nfcore_demo_workflow_pipeline'
Expand Down
2 changes: 1 addition & 1 deletion modules/nf-core/bfconvert/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 33 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ params {
bigtiff = null
pyramid_resolutions = null
pyramid_scale = null
// singularityCache = "${baseDir}/.singularityCache"
singularityCache = "/dodrio/scratch/projects/2024_300/twoller/.singularityCache"
// cluster_options = "--mem-per-cpu=3140 --cpus-per-task=4 "

// Boilerplate options
outdir = null
Expand All @@ -49,6 +50,14 @@ params {
includeConfig 'conf/base.config'
includeConfig 'conf/modules.config'

aws {
accessKey='hack-nxf'
secretKey='PX25b35=w<'
client {
endpoint="https://s3.embl.de"
s3PathStyleAccess=true
}
}
profiles {
debug {
dumpHashes = true
Expand Down Expand Up @@ -98,8 +107,30 @@ profiles {
shifter.enabled = false
charliecloud.enabled = false
apptainer.enabled = false
//singularity.cacheDir = "${params.singularityCache}"
singularity.cacheDir = "${params.singularityCache}"
singularity.autoMounts = true
process {
executor = 'local'
containerOptions = "-B ${baseDir} -B $PWD -B $HOME"
}
}
cluster {

singularity.enabled = true
singularity.autoMounts = true
conda.enabled = false
docker.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
apptainer.enabled = false
singularity.cacheDir = "${params.singularityCache}"
singularity.autoMounts = true
process {
executor = 'slurm'
// clusterOptions = "${params.cluster_options}"
containerOptions = "-B ${baseDir} -B $PWD -B $HOME"
}
}
podman {
podman.enabled = true
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Workflow:
kbestak/demo_workflow: v1.0.0dev
Nextflow: 24.04.4

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
task_id hash native_id name status exit submit duration realtime %cpu peak_rss peak_vmem rchar wchar
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
task_id hash native_id name status exit submit duration realtime %cpu peak_rss peak_vmem rchar wchar
1 c7/2cedfd 9681378 BATCHCONVERT_TO_OMETIFF:BFCONVERT (example) COMPLETED 0 2024-12-05 16:40:31.700 8.6s 4s 72.9% 171.9 MB 3 GB 38.4 MB 1.9 MB
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"input": "../data_bfflow/test.csv",
"noflat": null,
"series": null,
"timepoint": null,
"channel": null,
"z": null,
"range": null,
"tiley": null,
"tilex": null,
"crop": null,
"compression": null,
"overwrite": null,
"nooverwrite": null,
"nolookup": null,
"bigtiff": null,
"pyramid_resolutions": null,
"pyramid_scale": null,
"singularityCache": "/dodrio/scratch/projects/2024_300/twoller/.singularityCache",
"singularity-cache": "/dodrio/scratch/projects/2024_300/twoller/.singularityCache",
"cluster_options": "--mem-per-cpu=3140 --cpus-per-task=4 ",
"outdir": "s3//nextflow-hackathon/test/data_bfflow/res_from_tiffs",
"publish_dir_mode": "copy",
"monochrome_logs": false,
"help": false,
"help_full": false,
"show_hidden": false,
"version": false,
"pipelines_testdata_base_path": "https://raw.githubusercontent.com/nf-core/test-datasets/",
"trace_report_suffix": "2024-12-05_16-38-35",
"validate_params": true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"input": "../data_bfflow/test.csv",
"noflat": null,
"series": null,
"timepoint": null,
"channel": null,
"z": null,
"range": null,
"tiley": null,
"tilex": null,
"crop": null,
"compression": null,
"overwrite": null,
"nooverwrite": null,
"nolookup": null,
"bigtiff": null,
"pyramid_resolutions": null,
"pyramid_scale": null,
"singularityCache": "/dodrio/scratch/projects/2024_300/twoller/.singularityCache",
"singularity-cache": "/dodrio/scratch/projects/2024_300/twoller/.singularityCache",
"outdir": "s3//nextflow-hackathon/test/data_bfflow/res_from_tiffs",
"publish_dir_mode": "copy",
"monochrome_logs": false,
"help": false,
"help_full": false,
"show_hidden": false,
"version": false,
"pipelines_testdata_base_path": "https://raw.githubusercontent.com/nf-core/test-datasets/",
"trace_report_suffix": "2024-12-05_16-40-18",
"validate_params": true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!--
~ Copyright 2013-2024, Seqera Labs
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
</head>
<body>
<pre class="mermaid" style="text-align: center;">
flowchart TB
subgraph " "
v2["Channel.fromList"]
end
subgraph BATCHCONVERT_TO_OMETIFF
v5([BFCONVERT])
v3(( ))
end
subgraph " "
v6[" "]
end
v2 --> v3
v3 --> v5
v5 --> v6

</pre>
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
mermaid.initialize({ startOnLoad: true });
</script>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!--
~ Copyright 2013-2024, Seqera Labs
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
</head>
<body>
<pre class="mermaid" style="text-align: center;">
flowchart TB
subgraph " "
v2["Channel.fromList"]
end
subgraph BATCHCONVERT_TO_OMETIFF
v5([BFCONVERT])
v3(( ))
end
subgraph " "
v6[" "]
end
v2 --> v3
v3 --> v5
v5 --> v6

</pre>
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
mermaid.initialize({ startOnLoad: true });
</script>
</body>
</html>
Loading