Comments (3)
Investigation summary:
- will have to change a lot of files namely
nextflow.config
and potentiallymain.nf
per wfpm module - Two scenarios A) and B)
- have to add profiles to
nextflow.config
, e.g. - B) is more work but technically keeps in line with how code has been organized
profiles {
docker {
docker.enabled = true
singularity.enabled = false
runOptions = '-u \$(id -u):\$(id -g)'
}
singularity {
docker.enabled = false
singularity.enabled = true
singularity.cacheDir = "~/.singularity/cache"
}
}
A) Can add process.container
to either nextflow.config
:
profiles {
singularity {
process.container = 'docker://quay.io/biocontainers/multiqc:1.3--py35_2'
}
}
B) Or define in main.nf
### Append and inform singularity to pull from docker
if (workflow.profile!='docker'){
params.container='docker://'
} else {
params.container = ""
}
### Restructure container string
process payloadJsonToTsvs {
container "${params.container}${container[params.container_registry ?: default_container_registry]}:${params.container_version ?: version}"
publishDir "${params.publish_dir}/${task.process.replaceAll(':', '_')}", mode: "copy", enabled: params.publish_dir ? true : false
errorStrategy 'terminate'
cpus params.cpus
memory "${params.mem} GB"
Modules to change:
github.com/icgc-argo-workflows/data-processing-utility-tools/[email protected]
github.com/icgc-argo-workflows/data-processing-utility-tools/[email protected]
github.com/icgc-argo-workflows/data-processing-utility-tools/[email protected]
github.com/icgc-argo-workflows/dna-seq-processing-tools/[email protected]
github.com/icgc-argo/argo-data-submission/[email protected]
github.com/icgc-argo/argo-data-submission/[email protected]
github.com/icgc-argo/argo-data-submission/[email protected]
github.com/icgc-argo/argo-data-submission/[email protected]
github.com/icgc-argo/argo-data-submission/[email protected]
github.com/icgc-argo/argo-data-submission/[email protected]
github.com/icgc-argo/argo-data-submission/[email protected]
github.com/icgc-argo/nextflow-data-processing-utility-tools/[email protected]
from argo-data-submission.
Linda started a PR, scong-score-wf step not working. Will need to investigate.
from argo-data-submission.
Error found. It looks like score-client
is trying to write /score-client/logs
within the container without appropriate permissions. See below to allow for log writing.
docker {
docker.enabled = true
singularity.enabled = false
docker.runOptions = '-u \$(id -u):\$(id -g)'
}
singularity {
docker.enabled = false
singularity.enabled = true
singularity.autoMounts = true
singularity.engineOptions = '-s'
singularity.runOptions = '--writable'
}
Side note - I had validate-seqtools
fail once me because it detected a newer version (pulled the latest image which is running the latest seq-tools version...)
from argo-data-submission.
Related Issues (20)
- Fix Docker - Mount Song/Score log folder to container work folder HOT 3
- Update pyega3 to latest version and add `--connections` HOT 2
- 🐛 Sanity check failure HOT 3
- 🐛 `Decrypt-aspera` add renaming HOT 1
- On-fly Md5sum and filesize generation HOT 1
- Update seq-tools HOT 1
- loose the output file type restriction in tool sanityCheck
- Miss to catch the invalid value in schema validation HOT 1
- Add params `--force` to let the song-score-upload to overwrite the previously uploaded objects HOT 2
- Score parameters not being passed correctly HOT 1
- Update molecular metadata dictionary and template HOT 1
- Update data submission workflow to reflect the dictionary changes in `experiment` HOT 3
- Add check to verify existence of `matchedNormalSubmitterId` HOT 2
- Bump `validate-seqtools` HOT 1
- Add non-committal run HOT 1
- Force mandatory usage of profiles HOT 1
- Add step in sanity check to verify consistent studyID in params and experiment.tsv
- Print the validation report from `seq-tools` in the end
- Update the song/score URLs in configuration file for RDPC Prod/QA/Dev cutover to Cumulus HOT 2
- Update DEV and QA clinical url values HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argo-data-submission.