-
Notifications
You must be signed in to change notification settings - Fork 40
feat: add profile info #20
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
Open
cmeesters
wants to merge
5
commits into
main
Choose a base branch
from
feat/add_profile_info
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
d0a8ea2
feat: added profiles directory with a README.txt
cmeesters a1b6b49
feat: included information to the profiles directory
cmeesters 73e9dc2
Update profiles/README.txt
cmeesters 04f13c0
Update README.md
cmeesters 014867f
fix: added missing content section
cmeesters File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,7 @@ A Snakemake workflow for `<description>` | |
| - [Snakemake workflow: `<name>`](#snakemake-workflow-name) | ||
| - [Usage](#usage) | ||
| - [Deployment options](#deployment-options) | ||
| - [The "profiles" Directory](#the-profiles-directory) | ||
| - [Authors](#authors) | ||
| - [References](#references) | ||
| - [TODO](#todo) | ||
|
|
@@ -50,6 +51,14 @@ Run the workflow with: | |
| snakemake --cores 2 --sdm conda apptainer --directory .test | ||
| ``` | ||
|
|
||
| ## The "profiles" Directory | ||
|
Member
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. directory lower-case |
||
|
|
||
| When developing on a cluster or cloud instance, please include a "profiles" directory: | ||
|
|
||
| `profiles/<cluster or cloud name>/config.yaml` | ||
|
|
||
| This configuration file should contain the workflow profile with its resource specification for a particular execution environment (cluster or cloud). You may include a readme file next to point out pitfalls or other aspects worth a user's consideration. | ||
|
|
||
| ## Authors | ||
|
|
||
| - Firstname Lastname | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| A 'profiles' directory might contain workflow resource configuration for a particular cluster or cloud instance. | ||
|
|
||
| We encourage to include a profile for your use case as: | ||
|
|
||
| `profiles/<your cluster or cloud instance>/config.yaml` | ||
|
|
||
| You may include a readme file next to the config.yaml file to point out pitfalls or other things to consider. | ||
|
Member
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. You may include a |
||
|
|
||
| We welcome pull requests for 3rd-party workflows you are working with to include such a profile! It may also be necessary to occasionally label certain rules of a particular workflow with the `localrules: <rule 1>, <rule 2>, ...` directive when workflow developers focused on server execution during development, e.g., plotting and download rules. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
directory lower-case