Skip to content
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

Integrated bcellmagic and reveal #197

Merged
merged 234 commits into from
Jan 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
234 commits
Select commit Hold shift + click to select a range
4e35e04
Merge pull request #166 from nf-core/dev
ggabernet May 2, 2022
0bb3ca4
Merge pull request #169 from nf-core/dev
ggabernet May 2, 2022
5e30384
Merge pull request #177 from nf-core/dev
ggabernet Jun 3, 2022
b68c839
enabled reveal test
ssnn-airr Jun 14, 2022
dd8561d
Merge branch 'nf-core:dev' into dev
ssnn-airr Jul 5, 2022
a76f9a6
tmp disable file size report
ssnn-airr Jul 15, 2022
30a6318
added label process_high
ssnn-airr Jul 20, 2022
77603b3
Added build of C region database
ssnn-airr Jul 25, 2022
ed830fd
added igphyml argument
ssnn-airr Aug 12, 2022
137b61c
added labels for more resources
ssnn-airr Aug 17, 2022
8d87bd1
added subway maps
ssnn-airr Sep 9, 2022
aac4358
fix for airr 1.4.1
ssnn-airr Sep 9, 2022
2d1b729
fix for airr 1.4.1
ssnn-airr Sep 9, 2022
5187b4e
merged upstream
ssnn-airr Sep 16, 2022
8c1185f
Merge pull request #185 from nf-core/dev
ggabernet Sep 16, 2022
748efc6
fixes for updated template and multiqc
ssnn-airr Sep 16, 2022
4bdb96e
Merge branch 'dev' of https://github.com/nf-core/airrflow into dev
ssnn-airr Sep 16, 2022
e061a04
first step to connect reveal
ggabernet Oct 1, 2022
ac1779d
include output channels
ggabernet Oct 1, 2022
32b0572
add vdj annotation subworkflow
ggabernet Oct 1, 2022
0ff83e0
add vdj assignment subworkflow
ggabernet Oct 2, 2022
e85063a
add germlines and filtering
ggabernet Oct 2, 2022
2f93d04
rm code not needed here
ssnn-airr Oct 4, 2022
4b70703
Merge pull request #186 from ggabernet/connect-reveal
ggabernet Oct 4, 2022
854d969
Merge branch 'dev' of https://github.com/immcantation/bcellmagic into…
ggabernet Oct 4, 2022
0ae436c
Merge branch 'immcantation-dev' into airrflow
ggabernet Oct 4, 2022
a20fa86
bump changeo and igblast
ssnn-airr Oct 10, 2022
490e618
bump wget and igblast
ssnn-airr Oct 10, 2022
d8168bc
undo
ssnn-airr Oct 10, 2022
ef61299
bump versions
ssnn-airr Oct 10, 2022
0acfc6a
bump versions
ssnn-airr Oct 10, 2022
07084c9
fix bulk_germlines_and_filter
ggabernet Oct 10, 2022
ae1c7dd
merge from nf-core
ssnn-airr Oct 10, 2022
9d6a407
fix bulk germlines and filter
ggabernet Oct 10, 2022
66ea425
add find threshold define clones
ggabernet Oct 11, 2022
19ae5d1
work on define clones
ggabernet Oct 12, 2022
4336ff7
Merge branch 'master' of https://github.com/nf-core/airrflow into air…
ssnn-airr Oct 18, 2022
62dfa2f
update modules config
ggabernet Oct 18, 2022
f34c0f5
Merge branch 'airrflow' of https://github.com/nf-core/airrflow into a…
ssnn-airr Oct 18, 2022
741dbbe
added logo immcantation with apple
ssnn-airr Oct 18, 2022
235175b
typo
ssnn-airr Oct 18, 2022
cc95ea1
this seems not needed, already done in airrflow.nf
ssnn-airr Oct 18, 2022
ddef2e1
rm map collect not needed
ssnn-airr Oct 18, 2022
4f5616e
clonal analysis with all samples
ggabernet Oct 18, 2022
f624b31
Detect contamination for all samples, collapse per sample
ggabernet Oct 20, 2022
bac1239
update container enchantr
ggabernet Oct 20, 2022
f9fa9ee
update check samplesheet raw
ggabernet Oct 20, 2022
41865b2
collapse duplicate for all samples
ggabernet Oct 20, 2022
2bfed9d
update outdir names
ggabernet Oct 20, 2022
d0d3b02
metadata for AWS tests in test-datasets repo
ggabernet Oct 20, 2022
32b4fc9
updated logo
ssnn-airr Oct 21, 2022
44bce9b
Merge branch 'airrflow' of https://github.com/nf-core/airrflow into a…
ssnn-airr Oct 21, 2022
54affe9
update resource label
ggabernet Oct 22, 2022
53eac56
collapse duplicates per sample
ggabernet Oct 22, 2022
8b92fd9
request higher memory
ggabernet Oct 23, 2022
aa3b264
add more process labels
ggabernet Oct 23, 2022
cbfdedd
update find threshold
ggabernet Oct 23, 2022
f7edc97
fix define clones
ggabernet Oct 23, 2022
df0a5e5
add repertoire analysis
ggabernet Oct 23, 2022
60952ba
dowser immcantation container test
ggabernet Oct 24, 2022
c23d36f
Merge branch 'airrflow' of https://github.com/nf-core/airrflow into a…
ssnn-airr Oct 24, 2022
50b319c
add report file size
ggabernet Oct 24, 2022
dd36c81
added label immcantation
ssnn-airr Oct 24, 2022
d3b0ebe
fix logs assembled
ggabernet Oct 24, 2022
83c13e7
add report for assembled
ggabernet Oct 24, 2022
522ec21
fixed out log name
ssnn-airr Oct 25, 2022
99c40fb
Merge branch 'airrflow' of https://github.com/nf-core/airrflow into a…
ssnn-airr Oct 25, 2022
6e7146e
no immcantation label here
ssnn-airr Oct 25, 2022
7b139a1
test new outdir for easier publish
ssnn-airr Oct 25, 2022
e8d5c6a
typo
ssnn-airr Oct 25, 2022
c934117
back to previous outdir
ssnn-airr Oct 25, 2022
2686852
update resources define clones
ggabernet Oct 26, 2022
bae5868
updated path for enchantr 0.0.3.999
ssnn-airr Oct 26, 2022
a080ae5
added to find the files now created inside folder
ssnn-airr Oct 27, 2022
83f6c1a
fixed path
ssnn-airr Nov 4, 2022
077f6f7
detect contamination optional
ggabernet Nov 8, 2022
7401999
added force to overwrite or reuse clone_id
ssnn-airr Nov 9, 2022
a8af78a
define clones more resources
ggabernet Nov 9, 2022
d25702c
add params to schema
ggabernet Nov 14, 2022
3de935c
update modules to enchantr 0.0.3
ggabernet Nov 14, 2022
774f2cb
back to prev conda setup
ssnn-airr Nov 15, 2022
6621c9e
[automated] Fix linting with Prettier
nf-core-bot Nov 15, 2022
08a459d
fix black linting
ggabernet Nov 15, 2022
fec4f0a
Merge branch 'airrflow' of https://github.com/nf-core/airrflow into a…
ggabernet Nov 15, 2022
5f189cb
fix tests add test container
ggabernet Nov 15, 2022
f93e9d3
Merge branch 'airrflow' into airrflow
ggabernet Nov 15, 2022
a9bcb9c
Merge pull request #189 from immcantation/airrflow
ggabernet Nov 15, 2022
468fe77
fix validated input
ggabernet Nov 15, 2022
a38bf71
revert force param
ggabernet Nov 15, 2022
750f9f4
fix test ci
ggabernet Nov 15, 2022
d11ce98
fix test profiles
ggabernet Nov 15, 2022
4d5a722
fix define clones
ggabernet Nov 15, 2022
0160373
separate container test
ggabernet Nov 15, 2022
38c987d
test upload artifact on failure
ggabernet Nov 15, 2022
4b8815d
fix path upload artifact
ggabernet Nov 15, 2022
9c86e60
update igphyml path
ggabernet Nov 15, 2022
b486e45
changes for new enchantr version
ggabernet Nov 15, 2022
7839e16
fix pythonnousersite for immcantation devel container
ggabernet Nov 15, 2022
32dac10
fix output define clones
ggabernet Nov 15, 2022
ac297b1
add raw and assembled Immcantation tests
ggabernet Nov 15, 2022
3415977
scqc outs multiple dbs, update modules and paths
ssnn-airr Nov 16, 2022
cd21e07
ci tests no fail fast
ggabernet Nov 16, 2022
0b27ae5
CI tests no fail fast
ggabernet Nov 16, 2022
413fafd
Merge branch 'airrflow' of https://github.com/nf-core/airrflow into a…
ggabernet Nov 16, 2022
8cb33bc
Merge pull request #199 from immcantation/airrflow
ggabernet Nov 18, 2022
380bcd5
Merge branch 'enchantr-400' of https://github.com/nf-core/airrflow in…
ggabernet Nov 18, 2022
954e1ac
Merge branch 'new-enchantr' of https://github.com/ggabernet/bcellmagi…
ggabernet Nov 18, 2022
b012477
save metadata table
ggabernet Nov 18, 2022
6ff9c29
join meta after scqc process
ggabernet Nov 18, 2022
1bac309
clonal analysis with meta
ggabernet Nov 18, 2022
bce3e31
find threshold update
ggabernet Nov 19, 2022
f8df4ad
define clones by group
ggabernet Nov 19, 2022
b1a08d5
airr compliant fastq samplesheets
ggabernet Nov 20, 2022
17cf431
organize params
ggabernet Nov 20, 2022
db7fb15
test validate input airr
ggabernet Nov 20, 2022
b727c48
add workflow overview plot
ggabernet Nov 20, 2022
047ddde
add metro map
ggabernet Nov 20, 2022
af071d3
update meta input
ggabernet Nov 20, 2022
f4d7031
added min_n for estimateAbundance
ssnn-airr Nov 21, 2022
346b72c
oops
ssnn-airr Nov 21, 2022
365a6b7
updated docs samplesheet fastq
ggabernet Nov 21, 2022
4fdc619
oops
ssnn-airr Nov 21, 2022
fa86bd1
back to use nf-core test dbs
ssnn-airr Nov 21, 2022
6c06764
add mandatory fields to check samplesheet
ggabernet Nov 21, 2022
e068a3d
add input docs
ggabernet Nov 21, 2022
d1c1b36
implement define clones per clone group and report for all
ggabernet Nov 21, 2022
a19a0ba
update modules config
ggabernet Nov 21, 2022
3dab5ac
fix test profiles
ggabernet Nov 21, 2022
b893196
fix subject_id parsing
ggabernet Nov 22, 2022
ed20849
add log for file size report
ssnn-airr Nov 23, 2022
9a6dea6
add changeo label
ggabernet Nov 23, 2022
51f2d75
trying to add convertdb log
ssnn-airr Nov 23, 2022
764aa12
updated log file name
ssnn-airr Nov 23, 2022
c73aeaa
trying to add convertdb logs
ssnn-airr Nov 23, 2022
885f576
fixed input order
ssnn-airr Nov 23, 2022
16facd1
Merge pull request #205 from ggabernet/enchantr-400
ggabernet Nov 24, 2022
0a8a6e0
merge enchantr-400
ssnn-airr Nov 24, 2022
58ddb61
fixed type
ssnn-airr Nov 24, 2022
1fc716c
fix issue with index_file
ggabernet Nov 28, 2022
d8f257c
update changelog
ggabernet Nov 28, 2022
2a2679d
add index_file default
ggabernet Nov 28, 2022
2f8c01b
set tests to true
ggabernet Nov 28, 2022
1339dc8
fix input check
ggabernet Nov 28, 2022
48779e6
updating file size logs
ssnn-airr Nov 29, 2022
bf36ed6
add metadata to file size report
ssnn-airr Nov 29, 2022
bb7c496
Merge pull request #207 from immcantation/airrflow
ggabernet Nov 30, 2022
3960d86
updated schema
ggabernet Nov 30, 2022
31c9400
Merge branch 'enchantr-400' of https://github.com/nf-core/airrflow in…
ggabernet Nov 30, 2022
79081f1
define clones path
ggabernet Dec 1, 2022
a5c7a7a
update containers to enchantr 0.0.5
ggabernet Dec 1, 2022
67951bb
remove unused modules subworkflows
ggabernet Dec 1, 2022
876627c
update report with file size tables
ggabernet Dec 5, 2022
0a0739a
improve docs
ggabernet Dec 5, 2022
9e18670
update readme
ggabernet Dec 5, 2022
efd9885
fix black linting [skip ci]
ggabernet Dec 6, 2022
5cddd3e
fix prettier [skip ci]
ggabernet Dec 6, 2022
d3ee373
Update usage.md
ssnn-airr Dec 6, 2022
812f47f
Update nextflow_schema.json
ssnn-airr Dec 6, 2022
6d90a32
Merge pull request #208 from ggabernet/enchantr-400
ggabernet Dec 6, 2022
c707919
fix for command too long
ssnn-airr Dec 7, 2022
1d26500
Merge branch 'airrflow' of https://github.com/nf-core/airrflow into a…
ssnn-airr Dec 7, 2022
ce5d838
Merge branch 'dev' of https://github.com/nf-core/airrflow into airrflow
ggabernet Dec 8, 2022
5472936
fix assembled test
ggabernet Dec 8, 2022
c31871d
fix linting
ggabernet Dec 8, 2022
e098559
fix lint
ggabernet Dec 8, 2022
3eec15c
Template update for nf-core/tools version 2.7.1
nf-core-bot Dec 8, 2022
87e71a9
Template update nf-core v2.7.1
ggabernet Dec 8, 2022
cd07dde
update changelog
ggabernet Dec 8, 2022
de09735
fix nf-core config
ggabernet Dec 8, 2022
9b8cfd8
add description to adapter_fasta params
ggabernet Dec 8, 2022
836f1f6
update modules json
ggabernet Dec 8, 2022
cd2a268
update enchantr version conda
ggabernet Dec 8, 2022
8cc9fde
bump nxf version
ggabernet Dec 8, 2022
6518f3e
rm multiqc versions
ggabernet Dec 11, 2022
1be024a
fix stuck channel
ggabernet Dec 11, 2022
6eff6af
fix clonal threshold param default
ggabernet Dec 11, 2022
9e21d8a
clonal threshold schema fix
ggabernet Dec 11, 2022
de5ad8e
Merge pull request #215 from ggabernet/merge-template-updates
ggabernet Dec 11, 2022
ec54f05
add todo immcantation versions module
ggabernet Dec 13, 2022
d19c35f
fix table ids report
ggabernet Dec 13, 2022
304924f
Merge branch 'airrflow' of https://github.com/nf-core/airrflow into a…
ssnn-airr Dec 13, 2022
46ade59
added skip_overlap to define clones
ssnn-airr Dec 13, 2022
7235b7c
fix to pass values as numeric
ssnn-airr Dec 13, 2022
47d3003
tmp rm skip overlap
ssnn-airr Dec 13, 2022
b6bffbb
fix scope
ssnn-airr Dec 13, 2022
2d80b19
Merge pull request #216 from immcantation/airrflow
ggabernet Dec 13, 2022
ae82905
update authors
ggabernet Dec 14, 2022
3820911
Merge branch 'airrflow' of https://github.com/nf-core/airrflow into a…
ggabernet Dec 14, 2022
ec2428c
Template update for nf-core/tools version 2.7.2
nf-core-bot Dec 19, 2022
f0aff14
skip overlap
ssnn-airr Dec 19, 2022
1490762
starting to work on docs
ssnn-airr Dec 19, 2022
7a1bd49
update to enchantr-0.0.6
ggabernet Dec 19, 2022
0acaf04
Merge pull request #219 from ggabernet/airrflow
ggabernet Dec 20, 2022
7c1c7e3
Merge branch 'airrflow' of https://github.com/nf-core/airrflow into a…
ssnn-airr Dec 20, 2022
94be6a9
update module labels
ggabernet Dec 20, 2022
95a82c6
Merge branch 'airrflow' of https://github.com/nf-core/airrflow into a…
ggabernet Dec 20, 2022
317049a
Merge branch 'airrflow' of https://github.com/nf-core/airrflow into a…
ssnn-airr Dec 20, 2022
8eef65f
rm unnecessary labels
ggabernet Dec 20, 2022
b4112f1
docs
ssnn-airr Dec 20, 2022
a7c597c
update presto versions
ggabernet Dec 20, 2022
3faf581
clean up unused modules, scripts and imports
ggabernet Dec 20, 2022
9d9736a
docs
ssnn-airr Dec 20, 2022
1e8fb4e
docs
ssnn-airr Dec 20, 2022
072a40b
Merge pull request #218 from immcantation/airrflow
ggabernet Dec 21, 2022
14bbff2
update readme
ggabernet Dec 21, 2022
affde12
docs
ssnn-airr Dec 21, 2022
a6d9aec
docs
ssnn-airr Dec 21, 2022
dad95b4
updated outdir
ssnn-airr Dec 21, 2022
9938cb3
Merge branch 'airrflow' of https://github.com/nf-core/airrflow into a…
ssnn-airr Dec 21, 2022
bdecca8
issue Add info on README.md #220
ssnn-airr Dec 21, 2022
680f908
update usage.md
ggabernet Jan 13, 2023
2c4b50d
update alakazam shazam container
ggabernet Jan 13, 2023
6867001
keep log file list in local workdir rather than global to avoid singu…
Jan 17, 2023
18a35c5
add custom container for reports
ggabernet Jan 26, 2023
fbcd16d
update changeo igblast containers
ggabernet Jan 26, 2023
0a66577
update conda statement
ggabernet Jan 26, 2023
5f2525b
fix filename
ggabernet Jan 26, 2023
8f15d56
rm enable_conda
ggabernet Jan 26, 2023
62ed007
update nf-core modules
ggabernet Jan 26, 2023
8161af3
Merge branch 'TEMPLATE' of https://github.com/nf-core/airrflow into t…
ggabernet Jan 27, 2023
d71f6cc
update multiqc
ggabernet Jan 27, 2023
8b7645d
Merge pull request #222 from ggabernet/docs
ggabernet Jan 27, 2023
70d0a57
fix modules.json
ggabernet Jan 27, 2023
856c4c9
update versions fetch databases
ggabernet Jan 27, 2023
c371524
rm enable conda param
ggabernet Jan 27, 2023
57e90a5
update license
ggabernet Jan 27, 2023
5081f6e
fix dependency
ggabernet Jan 27, 2023
0d9f7a2
update changelog
ggabernet Jan 27, 2023
386d700
Update docs/output.md
ggabernet Jan 27, 2023
e4666a3
Merge pull request #224 from ggabernet/template-update
ggabernet Jan 27, 2023
274f2f2
fix linting
ggabernet Jan 27, 2023
6ff0986
Merge pull request #221 from immcantation/airrflow
ggabernet Jan 27, 2023
1cb54f3
Merge pull request #223 from dladd/airrflow_bugfix
ggabernet Jan 27, 2023
a530e21
Update add_metadata.R
ssnn-airr Jan 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "nfcore",
"image": "nfcore/gitpod:latest",
"remoteUser": "gitpod",

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"python.defaultInterpreterPath": "/opt/conda/bin/python",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.autopep8Path": "/opt/conda/bin/autopep8",
"python.formatting.yapfPath": "/opt/conda/bin/yapf",
"python.linting.flake8Path": "/opt/conda/bin/flake8",
"python.linting.pycodestylePath": "/opt/conda/bin/pycodestyle",
"python.linting.pydocstylePath": "/opt/conda/bin/pydocstyle",
"python.linting.pylintPath": "/opt/conda/bin/pylint"
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": ["ms-python.python", "ms-python.vscode-pylance", "nf-core.nf-core-extensionpack"]
}
}
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.config linguist-language=nextflow
*.nf.test linguist-language=nextflow
modules/nf-core/** linguist-generated
subworkflows/nf-core/** linguist-generated
16 changes: 16 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,19 @@ If you are using a new feature from core Nextflow, you may bump the minimum requ
### Images and figures

For overview images and other documents we follow the nf-core [style guidelines and examples](https://nf-co.re/developers/design_guidelines).

## GitHub Codespaces

This repo includes a devcontainer configuration which will create a GitHub Codespaces for Nextflow development! This is an online developer environment that runs in your browser, complete with VSCode and a terminal.

To get started:

- Open the repo in [Codespaces](https://github.com/nf-core/airrflow/codespaces)
- Tools installed
- nf-core
- Nextflow

Devcontainer specs:

- [DevContainer config](.devcontainer/devcontainer.json)
- [Dockerfile](.devcontainer/Dockerfile)
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ body:
attributes:
label: System information
description: |
* Nextflow version _(eg. 21.10.3)_
* Nextflow version _(eg. 22.10.1)_
* Hardware _(eg. HPC, Desktop, Cloud)_
* Executor _(eg. slurm, local, awsbatch)_
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter or Charliecloud)_
Expand Down
110 changes: 106 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
env:
NXF_ANSI_LOG: false

concurrency:
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
cancel-in-progress: true

jobs:
test:
name: Run pipeline with test data
Expand All @@ -20,11 +24,28 @@ jobs:
strategy:
matrix:
NXF_VER:
- "21.10.3"
- "22.10.1"
- "latest-everything"
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Check if Dockerfile or Conda environment changed
uses: technote-space/get-diff-action@v4
with:
FILES: |
modules/local/airrflow_report/Dockerfile
modules/local/airrflow_report/environment.yml

- name: Build new docker image
if: env.MATCHED_FILES
run: docker build --no-cache . -t nfcore/airrflowreport:dev

- name: Pull docker image
if: ${{ !env.MATCHED_FILES }}
run: |
docker pull nfcore/airrflowreport:dev
docker tag nfcore/airrflowreport:dev nfcore/airrflowreport:dev

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
Expand All @@ -42,13 +63,83 @@ jobs:
strategy:
matrix:
NXF_VER:
- "21.10.3"
- "22.10.1"
- "latest-everything"
profile: ["test_tcr", "test_no_umi", "test_nocluster", "test_fetchimgt", "test_assembled"]
fail-fast: false
steps:
- name: Check out pipeline code
uses: actions/checkout@v2

- name: Check if Dockerfile or Conda environment changed
uses: technote-space/get-diff-action@v4
with:
FILES: |
modules/local/airrflow_report/Dockerfile
modules/local/airrflow_report/environment.yml

- name: Build new docker image
if: env.MATCHED_FILES
run: docker build --no-cache . -t nfcore/airrflowreport:dev

- name: Pull docker image
if: ${{ !env.MATCHED_FILES }}
run: |
docker pull nfcore/airrflowreport:dev
docker tag nfcore/airrflowreport:dev nfcore/airrflowreport:dev

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
with:
version: "${{ matrix.NXF_VER }}"

- name: Run pipeline with test data
run: |
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.profile }},docker --outdir ./results

- name: Upload logs on failure
if: failure()
uses: actions/upload-artifact@v2
with:
name: logs-${{ matrix.profile }}
path: |
/home/runner/.nextflow.log
/home/runner/work
!/home/runner/work/conda
!/home/runner/work/singularity

test_container:
name: Run workflow with immcantation devel test_container
if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/airrflow') }}
runs-on: ubuntu-latest
strategy:
matrix:
NXF_VER:
- "22.10.1"
- "latest-everything"
profile: ["test_tcr", "test_no_umi", "test_tcr_thr", "test_nocluster", "test_fetchimgt"]
profile: ["test_assembled_immcantation_devel", "test_raw_immcantation_devel"]
fail-fast: false
steps:
- name: Check out pipeline code
uses: actions/checkout@v2

- name: Check if Dockerfile or Conda environment changed
uses: technote-space/get-diff-action@v4
with:
FILES: |
modules/local/airrflow_report/Dockerfile
modules/local/airrflow_report/environment.yml

- name: Build new docker image
if: env.MATCHED_FILES
run: docker build --no-cache . -t nfcore/airrflowreport:dev

- name: Pull docker image
if: ${{ !env.MATCHED_FILES }}
run: |
docker pull nfcore/airrflowreport:dev
docker tag nfcore/airrflowreport:dev nfcore/airrflowreport:dev

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
with:
Expand All @@ -57,3 +148,14 @@ jobs:
- name: Run pipeline with test data
run: |
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.profile }},docker --outdir ./results

- name: Upload logs on failure
if: failure()
uses: actions/upload-artifact@v2
with:
name: logs-${{ matrix.profile }}
path: |
/home/runner/.nextflow.log
/home/runner/work
!/home/runner/work/conda
!/home/runner/work/singularity
6 changes: 3 additions & 3 deletions .github/workflows/fix-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }}

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3

- name: Install Prettier
run: npm install -g prettier @prettier/plugin-php
Expand All @@ -34,9 +34,9 @@ jobs:
id: prettier_status
run: |
if prettier --check ${GITHUB_WORKSPACE}; then
echo "::set-output name=result::pass"
echo "result=pass" >> $GITHUB_OUTPUT
else
echo "::set-output name=result::fail"
echo "result=fail" >> $GITHUB_OUTPUT
fi

- name: Run 'prettier --write'
Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ name: nf-core linting
# that the code meets the nf-core guidelines.
on:
push:
branches:
- dev
pull_request:
release:
types: [published]
Expand All @@ -12,9 +14,9 @@ jobs:
EditorConfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3

- name: Install editorconfig-checker
run: npm install -g editorconfig-checker
Expand All @@ -25,9 +27,9 @@ jobs:
Prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3

- name: Install Prettier
run: npm install -g prettier
Expand All @@ -38,7 +40,7 @@ jobs:
PythonBlack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Check code lints with Black
uses: psf/black@stable
Expand Down Expand Up @@ -69,12 +71,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1

- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: "3.7"
architecture: "x64"
Expand All @@ -97,7 +99,7 @@ jobs:

- name: Upload linting log file artifact
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: linting-logs
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Get PR number
id: pr_number
run: echo "::set-output name=pr_number::$(cat linting-logs/PR_number.txt)"
run: echo "pr_number=$(cat linting-logs/PR_number.txt)" >> $GITHUB_OUTPUT

- name: Post PR comment
uses: marocchino/sticky-pull-request-comment@v2
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/push_dockerhub_dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: nf-core Docker push (dev)
# This builds the docker image and pushes it to DockerHub
# Runs on nf-core repo releases and push event to 'dev' branch (PR merges)
on:
push:
branches:
- dev

jobs:
push_dockerhub:
name: Push new Docker image to Docker Hub (dev)
runs-on: ubuntu-latest
# Only run for the nf-core repo, for releases and merged PRs
if: ${{ github.repository == 'nf-core/airrflow' }}
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASS: ${{ secrets.DOCKERHUB_PASS }}
steps:
- name: Check out pipeline code
uses: actions/checkout@v2

- name: Build new docker image
run: docker build --no-cache ./modules/local/airrflow_report/ -t nfcore/airrflowreport:dev

- name: Push Docker image to DockerHub (dev)
run: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push nfcore/airrflowreport:dev
29 changes: 29 additions & 0 deletions .github/workflows/push_dockerhub_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: nf-core Docker push (release)
# This builds the docker image and pushes it to DockerHub
# Runs on nf-core repo releases and push event to 'dev' branch (PR merges)
on:
release:
types: [published]

jobs:
push_dockerhub:
name: Push new Docker image to Docker Hub (release)
runs-on: ubuntu-latest
# Only run for the nf-core repo, for releases and merged PRs
if: ${{ github.repository == 'nf-core/airrflow' }}
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASS: ${{ secrets.DOCKERHUB_PASS }}
steps:
- name: Check out pipeline code
uses: actions/checkout@v2

- name: Build new docker image
run: docker build --no-cache ./modules/local/airrflow_report/ -t nfcore/airrflowreport:latest

- name: Push Docker image to DockerHub (release)
run: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push nfcore/airrflowreport:latest
docker tag nfcore/airrflowreport:latest nfcore/airrflowreport:${{ github.event.release.tag_name }}
docker push nfcore/airrflowreport:${{ github.event.release.tag_name }}
1 change: 0 additions & 1 deletion .nf-core.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
lint:
files_exist:
- conf/igenomes.config
- lib/WorkflowAirrflow.groovy
repository_type: pipeline
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
email_template.html
adaptivecard.json
slackreport.json
.nextflow*
work/
data/
Expand All @@ -8,3 +9,4 @@ results/
testing/
testing*
*.pyc
bin/
Loading