-
Notifications
You must be signed in to change notification settings - Fork 526
simplify default tests + add conda/singularity #736
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
Changes from 6 commits
59b60bc
34c7eff
d0375ce
b162417
dd3b5cb
05333ee
ff38247
5b307f9
e3e6cdc
2d0e91f
dd5faeb
3856599
349e1d6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -256,26 +256,28 @@ process { | |
| // ENABLE CI containers for testing | ||
| if (System.getenv('PROFILE')) { | ||
| if ("$PROFILE" == "conda") { | ||
| params.enable_conda = true | ||
| docker.enabled = false | ||
| singularity.enabled = false | ||
| podman.enabled = false | ||
| shifter.enabled = false | ||
| charliecloud.enabled = false | ||
| conda.createTimeout = "120 min" | ||
| params.enable_conda = true | ||
| charliecloud.enabled = false | ||
| docker.enabled = false | ||
| podman.enabled = false | ||
| shifter.enabled = false | ||
| singularity.enabled = false | ||
| } else if ("$PROFILE" == "docker") { | ||
| docker.enabled = true | ||
| docker.userEmulation = { params.use_gatk_spark ? false : true }.call() | ||
| singularity.enabled = false | ||
| podman.enabled = false | ||
| shifter.enabled = false | ||
| charliecloud.enabled = false | ||
| fixOwnership = true | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Decided to remove that instead of fixing it, as it was causing the strelkabp test to fail...
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. only now?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes because it wasn't working, it should have been:
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok |
||
| docker.enabled = true | ||
| docker.fixOwnership = true | ||
| docker.userEmulation = { params.use_gatk_spark ? false : true }.call() | ||
| charliecloud.enabled = false | ||
| podman.enabled = false | ||
| shifter.enabled = false | ||
| singularity.enabled = false | ||
| } else if ("$PROFILE" == "singularity") { | ||
| singularity.enabled = true | ||
| singularity.autoMounts = true | ||
| docker.enabled = false | ||
| podman.enabled = false | ||
| shifter.enabled = false | ||
| charliecloud.enabled = false | ||
| params.singularity_pull_docker_container = false | ||
| singularity.autoMounts = true | ||
| singularity.enabled = true | ||
| charliecloud.enabled = false | ||
| docker.enabled = false | ||
| podman.enabled = false | ||
| shifter.enabled = false | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,105 @@ | ||
| - name: Run intervals false pipeline | ||
| command: nextflow run main.nf -profile test --intervals false | ||
| tags: | ||
| - intervals | ||
| - intervals_false | ||
| - preprocessing | ||
| files: | ||
| - path: results/csv/markduplicates.csv | ||
| md5sum: 0d6120bb99e92f6810343270711ca53e | ||
| - path: results/csv/markduplicates_no_table.csv | ||
| md5sum: 2a2d3d4842befd4def39156463859ee3 | ||
| - path: results/csv/recalibrated.csv | ||
| md5sum: 42628ec994c16f565e5407b40a9c1ac3 | ||
| - path: results/multiqc | ||
| - path: results/preprocessing/markduplicates/test/test.md.cram | ||
| # binary changes md5sums on reruns. | ||
| - path: results/preprocessing/markduplicates/test/test.md.cram.crai | ||
| # binary changes md5sums on reruns. | ||
| - path: results/preprocessing/recal_table/test/test.recal.table | ||
| md5sum: 4ac774bf5f1157e77426fd82f5ac0fbe | ||
| - path: results/preprocessing/recalibrated/test/test.recal.cram | ||
| # binary changes md5sums on reruns. | ||
| - path: results/preprocessing/recalibrated/test/test.recal.cram.crai | ||
| # binary changes md5sums on reruns. | ||
| - path: results/reports/fastqc/test-test_L1 | ||
| - path: results/reports/markduplicates/test/test.md.metrics | ||
| contains: ["test 8547 767 84 523391 3882 0 0 0.385081", "1.0 767 767"] | ||
| - path: results/reports/mosdepth/test/test.md.mosdepth.global.dist.txt | ||
| md5sum: 76fa71922a3f748e507c2364c531dfcb | ||
| - path: results/reports/mosdepth/test/test.md.mosdepth.region.dist.txt | ||
| md5sum: abc5df85e302b79985627888870882da | ||
| - path: results/reports/mosdepth/test/test.md.mosdepth.summary.txt | ||
| md5sum: d536456436eb275159b8c6af83213d80 | ||
| - path: results/reports/mosdepth/test/test.md.regions.bed.gz | ||
| md5sum: 38fe39894abe62e38f8ac214cba64f2b | ||
| - path: results/reports/mosdepth/test/test.recal.mosdepth.global.dist.txt | ||
| md5sum: 76fa71922a3f748e507c2364c531dfcb | ||
| - path: results/reports/mosdepth/test/test.recal.mosdepth.region.dist.txt | ||
| md5sum: abc5df85e302b79985627888870882da | ||
| - path: results/reports/mosdepth/test/test.recal.mosdepth.summary.txt | ||
| md5sum: d536456436eb275159b8c6af83213d80 | ||
| - path: results/reports/mosdepth/test/test.recal.regions.bed.gz | ||
| md5sum: 38fe39894abe62e38f8ac214cba64f2b | ||
| - path: results/reports/samtools/test/test.md.cram.stats | ||
| md5sum: dcf70bbcfb92e01027978f28d2035d78 | ||
| - path: results/reports/samtools/test/test.recal.cram.stats | ||
| md5sum: 5528d952f5dc74a39f28e27165bf96be | ||
|
|
||
| - name: Run default pipeline without intervals | ||
| command: nextflow run main.nf -profile test,no_intervals | ||
| tags: | ||
| - intervals | ||
| - no_intervals | ||
| - preprocessing | ||
| files: | ||
| - path: results/csv/markduplicates.csv | ||
| md5sum: 0d6120bb99e92f6810343270711ca53e | ||
| - path: results/csv/markduplicates_no_table.csv | ||
| md5sum: 2a2d3d4842befd4def39156463859ee3 | ||
| - path: results/csv/recalibrated.csv | ||
| md5sum: 42628ec994c16f565e5407b40a9c1ac3 | ||
| - path: results/multiqc | ||
| - path: results/no_intervals.bed | ||
| md5sum: f3dac01ea66b95fe477446fde2d31489 | ||
| - path: results/no_intervals.bed.gz | ||
| md5sum: f3dac01ea66b95fe477446fde2d31489 | ||
| - path: results/no_intervals.bed.gz.tbi | ||
| md5sum: f3dac01ea66b95fe477446fde2d31489 | ||
| - path: results/preprocessing/markduplicates/test/test.md.cram | ||
| # binary changes md5sums on reruns. | ||
| - path: results/preprocessing/markduplicates/test/test.md.cram.crai | ||
| # binary changes md5sums on reruns. | ||
| - path: results/preprocessing/recal_table/test/test.recal.table | ||
| md5sum: 4ac774bf5f1157e77426fd82f5ac0fbe | ||
| - path: results/preprocessing/recalibrated/test/test.recal.cram | ||
| # binary changes md5sums on reruns. | ||
| - path: results/preprocessing/recalibrated/test/test.recal.cram.crai | ||
| # binary changes md5sums on reruns. | ||
| - path: results/reports/fastqc/test-test_L1 | ||
| - path: results/reports/markduplicates/test/test.md.metrics | ||
| contains: ["test 8547 767 84 523391 3882 0 0 0.385081", "1.0 767 767"] | ||
| - path: results/reports/mosdepth/test/test.md.mosdepth.global.dist.txt | ||
| md5sum: 76fa71922a3f748e507c2364c531dfcb | ||
| - path: results/reports/mosdepth/test/test.md.mosdepth.region.dist.txt | ||
| md5sum: abc5df85e302b79985627888870882da | ||
| - path: results/reports/mosdepth/test/test.md.mosdepth.summary.txt | ||
| md5sum: d536456436eb275159b8c6af83213d80 | ||
| - path: results/reports/mosdepth/test/test.md.regions.bed.gz | ||
| md5sum: 38fe39894abe62e38f8ac214cba64f2b | ||
| - path: results/reports/mosdepth/test/test.md.regions.bed.gz.csi | ||
| md5sum: b1c2a861f64e20a94108a6de3b76c582 | ||
| - path: results/reports/mosdepth/test/test.recal.mosdepth.global.dist.txt | ||
| md5sum: 76fa71922a3f748e507c2364c531dfcb | ||
| - path: results/reports/mosdepth/test/test.recal.mosdepth.region.dist.txt | ||
| md5sum: abc5df85e302b79985627888870882da | ||
| - path: results/reports/mosdepth/test/test.recal.mosdepth.summary.txt | ||
| md5sum: d536456436eb275159b8c6af83213d80 | ||
| - path: results/reports/mosdepth/test/test.recal.regions.bed.gz | ||
| md5sum: 38fe39894abe62e38f8ac214cba64f2b | ||
| - path: results/reports/mosdepth/test/test.recal.regions.bed.gz.csi | ||
| md5sum: b1c2a861f64e20a94108a6de3b76c582 | ||
| - path: results/reports/samtools/test/test.md.cram.stats | ||
| md5sum: dcf70bbcfb92e01027978f28d2035d78 | ||
| - path: results/reports/samtools/test/test.recal.cram.stats | ||
| md5sum: f7005dd4646700e107bfc00e36c432fe |
Uh oh!
There was an error while loading. Please reload this page.