Skip to content

Commit ba873c2

Browse files
committed
Basic configs and structure
Config according to sanger-tol pipelines doc 'create_pipeline' Add subworkflow files Implement two features VCFTOOLS_SITE_PI and VCFTOOLS_HET
1 parent affd685 commit ba873c2

File tree

16 files changed

+3778
-12
lines changed

16 files changed

+3778
-12
lines changed

.github/workflows/branch.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
name: nf-core branch protection
2-
# This workflow is triggered on PRs to `main`/`master` branch on the repository
3-
# It fails when someone tries to make a PR against the nf-core `main`/`master` branch instead of `dev`
2+
# This workflow is triggered on PRs to `main` branch on the repository
3+
# It fails when someone tries to make a PR against the nf-core `main` branch instead of `dev`
44
on:
55
pull_request_target:
66
branches:
77
- main
8-
- master
98

109
jobs:
1110
test:
1211
runs-on: ubuntu-latest
1312
steps:
14-
# PRs to the nf-core repo main/master branch are only ok if coming from the nf-core repo `dev` or any `patch` branches
13+
# PRs to the nf-core repo main branch are only ok if coming from the nf-core repo `dev` or any `patch` branches
1514
- name: Check PRs
1615
if: github.repository == 'sanger-tol/variantcomposition'
1716
run: |

.github/workflows/download_pipeline.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Test successful pipeline download with 'nf-core pipelines download'
22

33
# Run the workflow when:
44
# - dispatched manually
5-
# - when a PR is opened or reopened to main/master branch
5+
# - when a PR is opened or reopened to main branch
66
# - the head branch of the pull request is updated, i.e. if fixes for a release are pushed last minute to dev.
77
on:
88
workflow_dispatch:
@@ -14,7 +14,6 @@ on:
1414
pull_request:
1515
branches:
1616
- main
17-
- master
1817

1918
env:
2019
NXF_ANSI_LOG: false

.github/workflows/linting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ jobs:
5050
pip install nf-core==${{ steps.read_yml.outputs['nf_core_version'] }}
5151
5252
- name: Run nf-core pipelines lint
53-
if: ${{ github.base_ref != 'master' }}
53+
if: ${{ github.base_ref != 'main' }}
5454
env:
5555
GITHUB_COMMENTS_URL: ${{ github.event.pull_request.comments_url }}
5656
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5757
GITHUB_PR_COMMIT: ${{ github.event.pull_request.head.sha }}
5858
run: nf-core -l lint_log.txt pipelines lint --dir ${GITHUB_WORKSPACE} --markdown lint_results.md
5959

6060
- name: Run nf-core pipelines lint --release
61-
if: ${{ github.base_ref == 'master' }}
61+
if: ${{ github.base_ref == 'main' }}
6262
env:
6363
GITHUB_COMMENTS_URL: ${{ github.event.pull_request.comments_url }}
6464
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/nf-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
shard: ${{ fromJson(needs.nf-test-changes.outputs.shard) }}
7676
profile: [conda, docker, singularity]
7777
isMain:
78-
- ${{ github.base_ref == 'master' || github.base_ref == 'main' }}
78+
- ${{ github.base_ref == 'main' }}
7979
# Exclude conda and singularity on dev
8080
exclude:
8181
- isMain: false

modules.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@
44
"repos": {
55
"https://github.com/nf-core/modules.git": {
66
"modules": {
7-
"nf-core": {}
7+
"nf-core": {
8+
"vcftools": {
9+
"branch": "master",
10+
"git_sha": "05954dab2ff481bcb999f24455da29a5828af08d",
11+
"installed_by": ["modules"]
12+
}
13+
}
814
},
915
"subworkflows": {
1016
"nf-core": {

modules/nf-core/vcftools/environment.yml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/vcftools/main.nf

Lines changed: 199 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)