From d4b93da28d22d10296e69af5f3285f4045f85c0e Mon Sep 17 00:00:00 2001 From: Priyanka Surana Date: Sun, 17 Sep 2023 21:06:37 +0100 Subject: [PATCH] update nextflow schema --- assets/test/mMelMel3.1.buscogenes.dmnd | 1 - nextflow.config | 2 +- nextflow_schema.json | 41 ++++++++++++++++++++++---- 3 files changed, 36 insertions(+), 8 deletions(-) delete mode 100644 assets/test/mMelMel3.1.buscogenes.dmnd diff --git a/assets/test/mMelMel3.1.buscogenes.dmnd b/assets/test/mMelMel3.1.buscogenes.dmnd deleted file mode 100644 index 89c86292..00000000 --- a/assets/test/mMelMel3.1.buscogenes.dmnd +++ /dev/null @@ -1 +0,0 @@ -{"payload":{"allShortcutsEnabled":true,"fileTree":{"databases/uniprot":{"items":[{"name":"README.md","path":"databases/uniprot/README.md","contentType":"file"},{"name":"all.dmnd","path":"databases/uniprot/all.dmnd","contentType":"file"},{"name":"gfLaeSulp1.1.buscogenes.dmnd","path":"databases/uniprot/gfLaeSulp1.1.buscogenes.dmnd","contentType":"file"},{"name":"gfLaeSulp1.1.buscoregions.dmnd","path":"databases/uniprot/gfLaeSulp1.1.buscoregions.dmnd","contentType":"file"},{"name":"ilEraDefo1.1.buscogenes.dmnd","path":"databases/uniprot/ilEraDefo1.1.buscogenes.dmnd","contentType":"file"},{"name":"ilEraDefo1.1.buscoregions.dmnd","path":"databases/uniprot/ilEraDefo1.1.buscoregions.dmnd","contentType":"file"},{"name":"mCerEla1.1.buscogenes.dmnd","path":"databases/uniprot/mCerEla1.1.buscogenes.dmnd","contentType":"file"},{"name":"mCerEla1.1.buscoregions.dmnd","path":"databases/uniprot/mCerEla1.1.buscoregions.dmnd","contentType":"file"},{"name":"mMelMel3.1.buscogenes.dmnd","path":"databases/uniprot/mMelMel3.1.buscogenes.dmnd","contentType":"file"},{"name":"mMelMel3.1.buscoregions.dmnd","path":"databases/uniprot/mMelMel3.1.buscoregions.dmnd","contentType":"file"}],"totalCount":10},"databases":{"items":[{"name":"blast","path":"databases/blast","contentType":"directory"},{"name":"busco","path":"databases/busco","contentType":"directory"},{"name":"uniprot","path":"databases/uniprot","contentType":"directory"},{"name":"README.md","path":"databases/README.md","contentType":"file"}],"totalCount":4},"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":"databases","path":"databases","contentType":"directory"},{"name":"examples","path":"examples","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"tests","path":"tests","contentType":"directory"},{"name":".bumpversion.cfg","path":".bumpversion.cfg","contentType":"file"},{"name":".coveragerc","path":".coveragerc","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".hostbumpversion.cfg","path":".hostbumpversion.cfg","contentType":"file"},{"name":".pipelinebumpversion.cfg","path":".pipelinebumpversion.cfg","contentType":"file"},{"name":".pre-commit-config.yaml","path":".pre-commit-config.yaml","contentType":"file"},{"name":".prebumpversion.cfg","path":".prebumpversion.cfg","contentType":"file"},{"name":".pylintrc","path":".pylintrc","contentType":"file"},{"name":".pylintrc_tests","path":".pylintrc_tests","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"AUTHORS","path":"AUTHORS","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"MANIFEST.in","path":"MANIFEST.in","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"bump_full_version.sh","path":"bump_full_version.sh","contentType":"file"},{"name":"bump_npm_version.sh","path":"bump_npm_version.sh","contentType":"file"},{"name":"bump_versions.sh","path":"bump_versions.sh","contentType":"file"},{"name":"conftest.py","path":"conftest.py","contentType":"file"},{"name":"package-api.sh","path":"package-api.sh","contentType":"file"},{"name":"package-ui.sh","path":"package-ui.sh","contentType":"file"},{"name":"pip_install_latest.sh","path":"pip_install_latest.sh","contentType":"file"},{"name":"pre-commit.sh","path":"pre-commit.sh","contentType":"file"},{"name":"pyproject.toml","path":"pyproject.toml","contentType":"file"},{"name":"requirements.txt","path":"requirements.txt","contentType":"file"},{"name":"run_tests.sh","path":"run_tests.sh","contentType":"file"},{"name":"setup.cfg","path":"setup.cfg","contentType":"file"},{"name":"setup.py","path":"setup.py","contentType":"file"},{"name":"tox.ini","path":"tox.ini","contentType":"file"}],"totalCount":33}},"fileTreeProcessingTime":11.197347,"foldersToFetch":[],"reducedMotionEnabled":"system","repo":{"id":150091036,"defaultBranch":"main","name":"blobtoolkit","ownerLogin":"blobtoolkit","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2018-09-24T12:14:37.000+01:00","ownerAvatar":"https://avatars.githubusercontent.com/u/29755752?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":true,"treeExpanded":true,"refInfo":{"name":"main","listCacheKey":"v0:1694702028.0","canEdit":true,"refType":"branch","currentOid":"4358be6e9c062a34248280e072bf7bb3067d3d76"},"path":"databases/uniprot/mMelMel3.1.buscogenes.dmnd","currentUser":{"id":86618929,"login":"priyanka-surana","userEmail":"ps22@sanger.ac.uk"},"blob":{"rawLines":[],"stylingDirectives":[],"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/blobtoolkit/blobtoolkit/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":false,"repoAlertsPath":"/blobtoolkit/blobtoolkit/security/dependabot","repoSecurityAndAnalysisPath":"/blobtoolkit/blobtoolkit/settings/security_analysis","repoOwnerIsOrg":true,"currentUserCanAdminRepo":false},"displayName":"mMelMel3.1.buscogenes.dmnd","displayUrl":"https://github.com/blobtoolkit/blobtoolkit/blob/main/databases/uniprot/mMelMel3.1.buscogenes.dmnd?raw=true","headerInfo":{"blobSize":"13.8 MB","deleteInfo":{"deleteTooltip":"Fork this repository and delete the file"},"editInfo":{"editTooltip":"Fork this repository and edit the file"},"ghDesktopPath":"x-github-client://openRepo/https://github.com/blobtoolkit/blobtoolkit?branch=main&filepath=databases%2Funiprot%2FmMelMel3.1.buscogenes.dmnd","gitLfsPath":null,"onBranch":true,"shortPath":"391345b","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fblobtoolkit%2Fblobtoolkit%2Fblob%2Fmain%2Fdatabases%2Funiprot%2FmMelMel3.1.buscogenes.dmnd","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":null,"truncatedSloc":null},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplateHelpUrl":"https://docs.github.com/articles/about-issue-and-pull-request-templates","issueTemplate":null,"discussionTemplate":null,"language":null,"languageID":null,"large":true,"loggedIn":true,"newDiscussionPath":"/blobtoolkit/blobtoolkit/discussions/new","newIssuePath":"/blobtoolkit/blobtoolkit/issues/new","planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/blobtoolkit/blobtoolkit/blob/main/databases/uniprot/mMelMel3.1.buscogenes.dmnd","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","dismissStackNoticePath":"/settings/dismiss-notice/publish_stack_from_file","releasePath":"/blobtoolkit/blobtoolkit/releases/new?marketplace=true","showPublishActionBanner":false,"showPublishStackBanner":false},"renderImageOrRaw":true,"richText":null,"renderedFileInfo":null,"shortPath":null,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"repoOwner":"blobtoolkit","repoName":"blobtoolkit","showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","showDependabotConfigurationBanner":false,"actionsOnboardingTip":null},"truncated":true,"viewable":false,"workflowRedirectUrl":null,"symbols":{"timedOut":true,"notAnalyzed":true,"symbols":[],"error":{"code":"invalid_argument","msg":"content required","meta":{}}}},"copilotInfo":null,"csrf_tokens":{"/blobtoolkit/blobtoolkit/branches":{"post":"STXWe6zdi-htUJCnht4ZeaFRFmvPA0e3pcmsjeKVIesJLe7VG0zH88aT2wpTUyJGxbBa0glmb0EoP86-SgoITw"},"/repos/preferences":{"post":"44_BbrQaH1gWABjMUiFGJ4g3n2nVEC6B5DkFyy_H8wgUkMSDhhxFWPWOlSAqEMnyTDTvGCBS7SD_graJUHvo_A"}}},"title":"blobtoolkit/databases/uniprot/mMelMel3.1.buscogenes.dmnd at main ยท blobtoolkit/blobtoolkit"} \ No newline at end of file diff --git a/nextflow.config b/nextflow.config index 3c383cd4..00c6b05e 100644 --- a/nextflow.config +++ b/nextflow.config @@ -178,7 +178,7 @@ profiles { } cleanup { cleanup = true } test { includeConfig 'conf/test.config' } - test_raw { includeConfig 'conf/test_raw.config } + test_raw { includeConfig 'conf/test_raw.config' } test_full { includeConfig 'conf/test_full.config' } } diff --git a/nextflow_schema.json b/nextflow_schema.json index a960bee2..0cd0553c 100644 --- a/nextflow_schema.json +++ b/nextflow_schema.json @@ -10,7 +10,10 @@ "type": "object", "fa_icon": "fas fa-terminal", "description": "Define where the pipeline should find input data and save output data.", - "required": ["input", "outdir"], + "required": [ + "input", + "outdir" + ], "properties": { "input": { "type": "string", @@ -22,6 +25,10 @@ "help_text": "You will need to create a design file with information about the samples in your experiment before running the pipeline. Use this parameter to specify its location. It has to be a comma-separated file with 3 columns, and a header row.", "fa_icon": "fas fa-file-csv" }, + "align": { + "type": "boolean", + "description": "Boolean to turn on optional alignment before running the rest of the pipeline." + }, "yaml": { "type": "string", "format": "file-path", @@ -54,7 +61,11 @@ "type": "object", "fa_icon": "fas fa-dna", "description": "Reference genome related files and options required for the workflow.", - "required": ["taxon", "accession", "fasta"], + "required": [ + "taxon", + "accession", + "fasta" + ], "properties": { "taxon": { "type": "string", @@ -79,7 +90,10 @@ "type": "object", "fa_icon": "fas fa-database", "description": "Define the location and parameters to work with databases.", - "required": ["uniprot", "taxdump"], + "required": [ + "uniprot", + "taxdump" + ], "properties": { "taxa_file": { "type": "string", @@ -101,7 +115,15 @@ }, "blastp_outext": { "type": "string", - "enum": ["blast", "xml", "txt", "daa", "sam", "tsv", "paf"], + "enum": [ + "blast", + "xml", + "txt", + "daa", + "sam", + "tsv", + "paf" + ], "description": "Extension (file format) of the output file from Diamond BLAST.", "fa_icon": "fas fa-file-circle-question", "default": "txt" @@ -229,7 +251,14 @@ "description": "Method used to save pipeline results to output directory.", "help_text": "The Nextflow `publishDir` option specifies which intermediate files should be saved to the output directory. This option tells the pipeline what method should be used to move these files. See [Nextflow docs](https://www.nextflow.io/docs/latest/process.html#publishdir) for details.", "fa_icon": "fas fa-copy", - "enum": ["symlink", "rellink", "link", "copy", "copyNoFollow", "move"], + "enum": [ + "symlink", + "rellink", + "link", + "copy", + "copyNoFollow", + "move" + ], "hidden": true }, "email_on_fail": { @@ -328,4 +357,4 @@ "$ref": "#/definitions/generic_options" } ] -} +} \ No newline at end of file