-
Notifications
You must be signed in to change notification settings - Fork 356
Newcastle #961
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
chriswyatt1
wants to merge
20
commits into
nf-core:master
Choose a base branch
from
chriswyatt1:newcastle
base: master
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
Newcastle #961
Changes from 5 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
9d46ee9
Newcastle_dry_run
chriswyatt1 bafb697
Update newcastle.config
chriswyatt1 880753d
Update newcastle.config
chriswyatt1 0516b1d
Instructions to download nextflow
chriswyatt1 38b37c0
Merge branch 'nf-core:master' into newcastle
chriswyatt1 328c03a
Update Newcastle HPC cluster profile details
chriswyatt1 db53f98
Clarify config parameters in newcastle.config
chriswyatt1 e28cf86
Update Newcastle config with new parameters and cleanup
chriswyatt1 9ddbfe0
limit queue size
chriswyatt1 b057c81
Enhance Newcastle HPC configuration documentation
chriswyatt1 2e22da1
Update container system references to Apptainer
chriswyatt1 58c2636
Add error strategy for task exit status handling as per nf-core
chriswyatt1 2e597e6
Update newcastle.md
chriswyatt1 c3dea1d
Update example command for nextflow
chriswyatt1 5eaec58
Update newcastle.config
chriswyatt1 83ce112
Merge branch 'nf-core:master' into newcastle
chriswyatt1 9ec8ebe
Update newcastle.config
chriswyatt1 142030f
Update newcastle.md
chriswyatt1 65949ea
Update newcastle.md
chriswyatt1 6f35082
Merge branch 'master' into newcastle
chriswyatt1 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 |
|---|---|---|
|
|
@@ -129,6 +129,7 @@ jobs: | |
| - "mssm" | ||
| - "munin" | ||
| - "nci_gadi" | ||
| - "newcastle" | ||
| - "nu_genomics" | ||
| - "nygc" | ||
| - "nyu_hpc" | ||
|
|
||
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,22 @@ | ||
| params { | ||
| config_profile_description = 'Newcastle HPC cluster profile' | ||
| config_profile_contact = 'Chris Wyatt (@chriswyatt1), Fernando Duarte (@FernandoDuarteF)' | ||
| config_profile_url = '' | ||
|
chriswyatt1 marked this conversation as resolved.
Outdated
|
||
| } | ||
|
|
||
| executor { | ||
| name = 'slurm' | ||
| } | ||
|
|
||
| process { | ||
| scratch = true | ||
| errorStrategy = { task.exitStatus in [137, 140] ? 'retry' : 'finish' } | ||
|
chriswyatt1 marked this conversation as resolved.
Outdated
|
||
| queue = 'defq' // maps to `#SBATCH -p defq` | ||
| clusterOptions = '--account=DESIM' // maps to `#SBATCH -A DESIM` | ||
|
chriswyatt1 marked this conversation as resolved.
Outdated
|
||
| } | ||
|
|
||
| singularity { | ||
| enabled = true | ||
| pullTimeout = '2 h' | ||
| autoMounts = true | ||
| } | ||
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,46 @@ | ||
| # nf-core/configs: Newcastle HPC Configuration | ||
|
|
||
| Configuration for the Newcastle high performance computing (HPC) cluster. | ||
|
chriswyatt1 marked this conversation as resolved.
Outdated
|
||
|
|
||
| ## Setup | ||
|
|
||
| To install nextflow we first need to get the prequisite java from module avail: | ||
|
|
||
| `module load Java/17.0.6` | ||
|
|
||
| Then installing Nextflow using the standard install options: | ||
| https://www.nextflow.io/docs/latest/install.html | ||
|
|
||
| `curl -s https://get.nextflow.io | bash` | ||
|
|
||
| Make Nextflow executable: | ||
|
|
||
| `chmod +x nextflow` | ||
|
|
||
| Then move Nextflow into an executable path. For example: | ||
|
|
||
| `mkdir -p $HOME/bin/` | ||
| `mv nextflow $HOME/bin/` | ||
|
|
||
| To ensure this works every time you login to the cluster, put inside your `~/.bash_profile` the java install: | ||
|
|
||
| `nano ~/.bash_profile` | ||
|
|
||
| Then paste in the line for the java install: | ||
|
|
||
| ``` | ||
| #Java module add v17: | ||
| module load Java/17.0.6 | ||
| ``` | ||
|
|
||
| Exit nano with, control-X, then y to save, then enter to confirm | ||
|
|
||
| ## Run | ||
|
|
||
| To use this profile, simply pass Nextflow the -profile newcastle flag eg. | ||
|
|
||
| ```bash | ||
| nextflow run nf-core/_pipeline_ -profile newcastle --outdir results | ||
| ``` | ||
|
|
||
| In case of issues, please feel free to reach out to one of the maintainers (Chris Wyatt or Fernando Duarte) at ecoflow.ucl@gmail.com . We are based at UCL, but helped set up this config, and are happy to help. | ||
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
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.
Uh oh!
There was an error while loading. Please reload this page.