Thanks to visit codestin.com
Credit goes to github.com

Skip to content
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
f1c8686
Merge pull request #3 from DSchreyer/dev
DSchreyer Mar 9, 2022
bcd79c3
Added outdirs for ampliconclassifier
DSchreyer Mar 10, 2022
f4a5261
Added cycleviz module; Changed cnvkit outfiles; Updated cnvkit segmen…
DSchreyer Mar 10, 2022
d53d6e6
Merge branch 'nf-core:master' into master
Mar 10, 2022
d172377
Updated README to pass markdownlint
DSchreyer Mar 10, 2022
8ef2b9e
Merge branch 'master' of github.com:DSchreyer/circdna
DSchreyer Mar 10, 2022
b259a1c
Small changes
DSchreyer Mar 10, 2022
e33e043
Changes
DSchreyer Mar 10, 2022
c37fb8d
Fix changes
DSchreyer Mar 10, 2022
52f0b00
No cnr output
DSchreyer Mar 11, 2022
b4805b2
Added stub test for ampliconarchitect run with test-data
DSchreyer Mar 11, 2022
ba29c26
Updated versions; Added stub to test run all software simultaneously;…
DSchreyer Mar 11, 2022
5738273
Updated docs usage and output; Updated metromap
DSchreyer Mar 14, 2022
afd1066
Added samplesheet_bam to show formatting
DSchreyer Mar 14, 2022
0eac4b3
Added collect_seeds and amplified_intervals to replace PrepareAA.
DSchreyer Mar 14, 2022
177f7ef
Added collect_seeds and amplified_intervals to replace PrepareAA
DSchreyer Mar 14, 2022
30bba58
Updated readme
DSchreyer Mar 14, 2022
0922b66
Removed
DSchreyer Mar 14, 2022
9999e0d
Small fixes
DSchreyer Mar 14, 2022
1bade3f
Small fixes
DSchreyer Mar 14, 2022
ed0e65e
Removed
DSchreyer Mar 14, 2022
9717bf5
Updates
DSchreyer Mar 14, 2022
041468d
Added pyc line
DSchreyer Mar 14, 2022
2e432eb
Added SAMTOOLS_SORT_BAM modules config; removed coverage.nf
DSchreyer Mar 14, 2022
0010097
Removed T1 from bam files
DSchreyer Mar 14, 2022
e63e429
Modified samtools bam
DSchreyer Mar 14, 2022
f170c4d
Small fixes
DSchreyer Mar 14, 2022
ce5dbc5
aa_cngain is now a string
DSchreyer Mar 14, 2022
d0ad815
Updated software version; added stub command
DSchreyer Mar 14, 2022
b87ff42
Merge pull request #6 from DSchreyer/dev
DSchreyer Mar 14, 2022
afd0054
Reduced process requirements -> process_low
DSchreyer Mar 15, 2022
576fd5f
Template update for nf-core/tools version 2.3
DSchreyer Mar 16, 2022
679bd7f
Updated to 2.3
DSchreyer Mar 16, 2022
2095ad3
Fixed merge conflicts and restored old version; BAM Input necessary
DSchreyer Mar 16, 2022
9869613
More conflicts fixed
DSchreyer Mar 16, 2022
e1075d7
Align to template
DSchreyer Mar 16, 2022
d69ad51
Merge pull request #8 from DSchreyer/dev
DSchreyer Mar 16, 2022
3ca4203
Updates
DSchreyer Mar 16, 2022
7f3f6b1
Merge pull request #9 from DSchreyer/dev
DSchreyer Mar 16, 2022
4f862bd
Removed markdownlint warnings
DSchreyer Mar 16, 2022
e83d614
Added ampliconarchitect/ampliconsimilarity; removed prepareaa
DSchreyer Mar 17, 2022
8f820bc
Modified test-data -> Download from github; Modified AmpliconClassifi…
DSchreyer Mar 17, 2022
84c7bc1
Stub-run in test.config
DSchreyer Mar 18, 2022
876a6d9
Moved modified nf-core modules to local; Fixed linting errors markdow…
DSchreyer Mar 18, 2022
0746eb1
EClint fix
DSchreyer Mar 18, 2022
3e574f4
Added .ecrc file to exclude files in eclint
DSchreyer Mar 18, 2022
79ec0cd
remoevd
DSchreyer Mar 18, 2022
c895b9c
Added null to gitignore
DSchreyer Mar 18, 2022
bcb4150
Added null
DSchreyer Mar 18, 2022
f2c743d
Removed ecrc
DSchreyer Mar 18, 2022
369eaad
changed to pass yamllint error
DSchreyer Mar 18, 2022
c7e5386
changed to pass yamllint error
DSchreyer Mar 18, 2022
e8a7341
Template update for nf-core/tools version 2.3
DSchreyer Mar 18, 2022
5ba9f7a
Revert changes to fit template
DSchreyer Mar 18, 2022
449defc
Added outdir
DSchreyer Mar 18, 2022
e165db4
Merge pull request #10 from DSchreyer/dev
DSchreyer Mar 18, 2022
2499acc
Added test-config full; removed test_AA; added outdir to test.config
DSchreyer Mar 22, 2022
2f789e6
Added tracedir output
DSchreyer Mar 22, 2022
e4f9968
Fixed yamllint error
DSchreyer Mar 22, 2022
e22a930
yamllint
DSchreyer Mar 22, 2022
8c1c6d2
Revert
DSchreyer Mar 22, 2022
51c2341
Template update for nf-core/tools version 2.3
DSchreyer Mar 22, 2022
ee8d2b4
Revert
DSchreyer Mar 22, 2022
b3f4cdf
Merge pull request #11 from DSchreyer/dev
DSchreyer Mar 22, 2022
6562307
Conda instead of docker
DSchreyer Mar 22, 2022
7b6265a
test ci; time AA updated - increased
DSchreyer Mar 22, 2022
28b7a0f
Added a line
DSchreyer Mar 22, 2022
9bca915
conda -> docker
DSchreyer Mar 22, 2022
f4be699
removed circle_finder from test
DSchreyer Mar 22, 2022
5415be3
Removed circle-map
DSchreyer Mar 22, 2022
4cc9224
Added conda in ci.yml
DSchreyer Mar 22, 2022
120519d
Added circle-map again to test
DSchreyer Mar 22, 2022
c7e3272
Removed conda again
DSchreyer Mar 22, 2022
b603511
added conda in ci test
DSchreyer Mar 22, 2022
cf4cf43
Removed run conda ci
DSchreyer Mar 22, 2022
6941078
Conda install ci
DSchreyer Mar 22, 2022
0126f9f
Added conda instead of docker
DSchreyer Mar 22, 2022
eb37b52
conda container ci.yml
DSchreyer Mar 22, 2022
8c37218
Added channels
DSchreyer Mar 22, 2022
6ac3f8d
Python version; softlinks
DSchreyer Mar 22, 2022
efb616a
Added new conda ci lines
DSchreyer Mar 23, 2022
683eeab
Activate environment true
DSchreyer Mar 23, 2022
3874a71
Removed conda install ci lines; Pipeline CI works
DSchreyer Mar 23, 2022
eecdc70
Png output ampliconarchitect
DSchreyer Mar 23, 2022
4a75d15
added png as output
DSchreyer Mar 23, 2022
599f267
Removed line
DSchreyer Mar 23, 2022
a0a4ea3
yamllint
DSchreyer Mar 23, 2022
2ec3470
yamllint
DSchreyer Mar 23, 2022
4c0343b
Template update for nf-core/tools version 2.3
DSchreyer Mar 23, 2022
bf067e6
Merge branch 'TEMPLATE' into dev
DSchreyer Mar 23, 2022
d13c279
Template update for nf-core/tools version 2.4.dev0
ewels Mar 23, 2022
a8ce75d
Run Prettier linting
ewels Mar 23, 2022
c0acc7f
Merge pull request #15 from nf-core/run-prettier
ewels Mar 23, 2022
62ca5f5
Removed test-data
DSchreyer Mar 23, 2022
6895624
nf-core lint fix
DSchreyer Mar 23, 2022
417c569
Merge branch 'nf-core:dev' into dev
Mar 23, 2022
6af4fc6
template
DSchreyer Mar 23, 2022
b8a43a1
Attempt to fix merge conflicts in template sync
ewels Mar 23, 2022
f66a703
Merge fixes
DSchreyer Mar 23, 2022
96b36ac
Merge with TEMPLATE
DSchreyer Mar 23, 2022
0c9289e
Merge
DSchreyer Mar 23, 2022
6a32be9
Fix
DSchreyer Mar 23, 2022
5912254
Run prettier, fix broken merge
ewels Mar 23, 2022
d9da9e2
Remove old linting config files
ewels Mar 23, 2022
f2d2431
Remove non-existent modules from modules.json
ewels Mar 23, 2022
ccf6025
Fix Prettier
ewels Mar 23, 2022
0eb4483
Merge pull request #13 from nf-core/nf-core-template-merge-2.4.dev0
DSchreyer Mar 23, 2022
6c3ba7f
Merged changes from nf-core/circdna
DSchreyer Mar 24, 2022
3a839b9
changes
DSchreyer Mar 24, 2022
697b7de
Fixed merge issues
DSchreyer Mar 24, 2022
0f0fa6c
Merge fix
DSchreyer Mar 24, 2022
a0b8171
fix files_unchanged
DSchreyer Mar 24, 2022
f9114b9
Upload modules
DSchreyer Mar 24, 2022
ea37091
Added igenomes config
DSchreyer Mar 24, 2022
5aa9cf9
Updated
DSchreyer Mar 24, 2022
db01f66
Update
DSchreyer Mar 24, 2022
4d500f9
Updated modules
DSchreyer Mar 24, 2022
c1d5c8a
Template update for nf-core/tools version 2.3.2
nf-core-bot Mar 24, 2022
28cb694
Added logos
DSchreyer Mar 24, 2022
2b575a6
Added missing files
DSchreyer Mar 24, 2022
19f4557
Removed nf-core modules directory
DSchreyer Mar 24, 2022
038527e
Small fixes in AmpliconArchitect
DSchreyer Mar 24, 2022
7b181a8
Merge pull request #17 from nf-core/nf-core-template-merge-2.3.2
DSchreyer Mar 24, 2022
ff2a72d
Fixes
DSchreyer Mar 24, 2022
0245499
Added conda in ci.yml
DSchreyer Mar 24, 2022
fcac96f
Merge pull request #12 from DSchreyer/dev
DSchreyer Mar 24, 2022
41c128d
images location
DSchreyer Mar 24, 2022
72207b7
Merge branch 'nf-core:dev' into dev
Mar 24, 2022
99b5890
PULL_REQUEST_TEMPLATE
DSchreyer Mar 24, 2022
27af3cb
Added images
DSchreyer Mar 24, 2022
00aa700
Removed multiqc_config.yml
DSchreyer Mar 24, 2022
b69754f
nf-core lint changes
DSchreyer Mar 25, 2022
8172601
updated multiqc yaml path
DSchreyer Mar 25, 2022
aa80b51
Mosek License file check
DSchreyer Mar 28, 2022
61716c1
Added null to gitignore; Updated usage.md with samplesheet informatio…
DSchreyer Mar 29, 2022
e8c6051
Updated icons
DSchreyer Mar 29, 2022
f45add8
Commented mosek license file until test Run is resolved
DSchreyer Mar 29, 2022
f981126
Logo update
DSchreyer Mar 30, 2022
2799574
Logo
DSchreyer Mar 30, 2022
e772c61
Added docker images; modified process requirements
DSchreyer Mar 30, 2022
cb575ef
Removed ampliconsimilarity until it is available on bioconda
DSchreyer Mar 30, 2022
79adca1
Updated circle-map command
DSchreyer Mar 31, 2022
f83fbf3
Removed unnecessary python scrips from circle-map and ampliconclassifier
DSchreyer Mar 31, 2022
1c4d55c
Included amplicon_similarity
DSchreyer Mar 31, 2022
302dfbc
Updated build version
DSchreyer Mar 31, 2022
5c8ed8c
Updated to newest circle-map build
DSchreyer Apr 11, 2022
1991447
Merge pull request #19 from DSchreyer/dev
DSchreyer Apr 11, 2022
6ed6303
conda -> docker
DSchreyer Apr 11, 2022
883b272
Removed conda install github ci
DSchreyer Apr 11, 2022
239ff49
Removed conda
DSchreyer Apr 11, 2022
bcece4c
Different build for unicycler
DSchreyer Apr 11, 2022
b5d6b87
Updated configs; Updated output.md
DSchreyer Apr 11, 2022
df4fde3
Small fixes for configs; Updated output.md; Complete
DSchreyer Apr 12, 2022
608a88c
Prettier
DSchreyer Apr 12, 2022
4d49fa9
Merge pull request #21 from DSchreyer/dev
DSchreyer Apr 12, 2022
bd0c7dd
Updated markdown files2
DSchreyer Apr 12, 2022
631339c
Removed mosek check
DSchreyer Apr 12, 2022
2ea3057
Modified mosek license dir check
DSchreyer Apr 12, 2022
a27a5a7
Updated defaults
DSchreyer Apr 12, 2022
7c13f74
Merge pull request #22 from DSchreyer/dev
DSchreyer Apr 12, 2022
9dbd3b6
Updated README
DSchreyer Apr 13, 2022
1f3ff0a
Added mosek license to test-data; mosek license check
DSchreyer Apr 13, 2022
9b8a7d7
Prettier; Modules config
DSchreyer Apr 13, 2022
e84bc74
Prettier
DSchreyer Apr 13, 2022
772164b
Black Formatting; Prettier; Updated usage.md with circle_identifier i…
DSchreyer Apr 13, 2022
9fa5b3c
New icons
DSchreyer Apr 13, 2022
45e5e0b
Merge pull request #23 from DSchreyer/dev
DSchreyer Apr 13, 2022
239c8ef
icons
DSchreyer Apr 13, 2022
d8aa2c9
Icons
DSchreyer Apr 14, 2022
d031fdc
Small fixes2
DSchreyer Apr 14, 2022
633d225
Added unicycler - readability
DSchreyer Apr 14, 2022
8a474ad
Update README.md
DSchreyer Apr 14, 2022
ee66c55
Merge pull request #24 from DSchreyer/dev
DSchreyer Apr 14, 2022
1662203
Removed todo
DSchreyer Apr 14, 2022
22f3007
Added files_exist and update
DSchreyer Apr 14, 2022
5956514
Removed todo
DSchreyer Apr 14, 2022
ee6b4f8
Removed todo; added test dataset
DSchreyer Apr 14, 2022
08b6eb2
updated modules
DSchreyer Apr 14, 2022
524ee45
increased unicycler max time
DSchreyer Apr 20, 2022
b9e3688
ampliconarchitect options and new icons
DSchreyer Apr 20, 2022
0e0550b
New help texts
DSchreyer Apr 20, 2022
5447830
More help texts
DSchreyer Apr 20, 2022
8639bad
More help texts
DSchreyer Apr 20, 2022
1839ee3
Prettier
DSchreyer Apr 20, 2022
6d18296
Merge branch 'dev' into dev
DSchreyer Apr 20, 2022
d2920c1
Merge pull request #25 from DSchreyer/dev
DSchreyer Apr 20, 2022
e1f1c4b
Remove Zenodo
DSchreyer Apr 20, 2022
a9b5817
Added max memory and cpus for unicycler; added process_max as label t…
DSchreyer Apr 22, 2022
13ad206
Added profile long time
DSchreyer Apr 25, 2022
6791019
Modified max time and profile long
DSchreyer Apr 25, 2022
b5befc7
Updated AmpliconArchitect with jluebeck fork
DSchreyer Apr 26, 2022
c13b412
Updated ampliconarchitect url
DSchreyer Apr 26, 2022
7e32445
prettier
DSchreyer Apr 26, 2022
d36aba2
Updated modules; Updated Unicycler
DSchreyer Apr 29, 2022
58303ce
Added samtools view input
DSchreyer Apr 29, 2022
4379b10
Updated test-profile; Does not run with AmpliconArchitect
DSchreyer Apr 29, 2022
3bdfbfe
Added AA
DSchreyer Apr 29, 2022
7a6ae60
prettier
DSchreyer Apr 29, 2022
1743fb2
Circle-Map in bin; Changed samtools view qname
DSchreyer May 3, 2022
ae55227
Added new AA container; Added test_AA to config
DSchreyer May 4, 2022
996b6b4
Updated circle_finder; Added time Unicycler
DSchreyer May 5, 2022
eabeb2c
Updated AmpliconClassifier
DSchreyer May 6, 2022
3168095
Updated test_AA; Changed modules output directory
DSchreyer May 6, 2022
28277d8
Updated output.md with new output information
DSchreyer May 6, 2022
0843384
Time changes; README update to test_AA
DSchreyer May 6, 2022
655b370
comma fix
DSchreyer May 6, 2022
738298f
prettier; params.save_markduplicates_bam
DSchreyer May 6, 2022
051fcfc
Added ampliconarchitect as circle_identifier
DSchreyer May 10, 2022
2ecc24d
Added AmpliconClassifier options to generate more information; Update…
DSchreyer May 11, 2022
dcefb9a
Added test_AA
DSchreyer May 11, 2022
3c810bb
prettier
DSchreyer May 11, 2022
210e272
circle_finder bam input; test tracedir
DSchreyer May 12, 2022
1fd4ad6
Added lines if unicycler is run alone -> Skip BWA
DSchreyer May 16, 2022
bb56280
Nf-core tools 2.4
DSchreyer May 17, 2022
fcf8e7e
Template Update
DSchreyer May 17, 2022
bedcd3e
prettier
DSchreyer May 17, 2022
811ee73
Added email_template as it does not work with prettier
DSchreyer May 17, 2022
332ae4a
Changed circlemap realign to use new faidx input; removed multiqc nf-…
DSchreyer May 24, 2022
f595ac8
Removed and added nf-core modules
DSchreyer May 24, 2022
8ebdeff
Added nf-core modules and removed local ones; Changed code to fit nf-…
DSchreyer May 24, 2022
2bde7d8
Removed BAM_STATS_SAMTOOLS_RAW warning
DSchreyer May 24, 2022
b72aa94
Unicycler update
DSchreyer May 24, 2022
89fb513
Fixed mapping issue; Runs on newest nf-core modules
DSchreyer May 25, 2022
2d134e4
Updated metromap
DSchreyer May 26, 2022
570410d
updated modules; unicycler return
DSchreyer May 29, 2022
035b07f
Removed cnvkit batch
DSchreyer May 30, 2022
65b9b5e
Removed unicycler input to nf-core module
DSchreyer May 30, 2022
b1253ce
Modified test full config
DSchreyer May 31, 2022
2e0334d
Merge pull request #27 from DSchreyer/dev
apeltzer May 31, 2022
e83c05e
Template Update v2.4
DSchreyer May 31, 2022
9118d5b
Removed images
DSchreyer May 31, 2022
244c0bf
nf-core lint; nf-core badge
DSchreyer May 31, 2022
1a9deed
Removed local minimap2; Updated README.md
DSchreyer May 31, 2022
a3386c5
Removed samtools
DSchreyer May 31, 2022
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
5 changes: 1 addition & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@ trim_trailing_whitespace = true
indent_size = 4
indent_style = space

[*.{yml,yaml}]
[*.{md,yml,yaml,html,css,scss,js}]
indent_size = 2

[*.json]
insert_final_newline = unset

# These files are edited and tested upstream in nf-core/modules
[/modules/nf-core/**]
charset = unset
Expand Down
15 changes: 7 additions & 8 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ Contributions to the code are even more welcome ;)

If you'd like to write some code for nf-core/circdna, the standard workflow is as follows:

1. Check that there isn't already an issue about your idea in the [nf-core/circdna issues](https://github.com/nf-core/circdna/issues) to avoid duplicating work
* If there isn't one already, please create one so that others know you're working on this
1. Check that there isn't already an issue about your idea in the [nf-core/circdna issues](https://github.com/nf-core/circdna/issues) to avoid duplicating work. If there isn't one already, please create one so that others know you're working on this
2. [Fork](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) the [nf-core/circdna repository](https://github.com/nf-core/circdna) to your GitHub account
3. Make the necessary changes / additions within your forked repository following [Pipeline conventions](#pipeline-contribution-conventions)
4. Use `nf-core schema build` and add any new parameters to the pipeline JSON schema (requires [nf-core tools](https://github.com/nf-core/tools) >= 1.10).
Expand Down Expand Up @@ -49,9 +48,9 @@ These tests are run both with the latest available version of `Nextflow` and als

:warning: Only in the unlikely and regretful event of a release happening with a bug.

* On your own fork, make a new branch `patch` based on `upstream/master`.
* Fix the bug, and bump version (X.Y.Z+1).
* A PR should be made on `master` from patch to directly this particular bug.
- On your own fork, make a new branch `patch` based on `upstream/master`.
- Fix the bug, and bump version (X.Y.Z+1).
- A PR should be made on `master` from patch to directly this particular bug.

## Getting help

Expand All @@ -73,7 +72,7 @@ If you wish to contribute a new step, please use the following coding standards:
6. Add sanity checks and validation for all relevant parameters.
7. Perform local tests to validate that the new code works as expected.
8. If applicable, add a new test command in `.github/workflow/ci.yml`.
9. Update MultiQC config `assets/multiqc_config.yaml` so relevant suffixes, file name clean up and module plots are in the appropriate order. If applicable, add a [MultiQC](https://https://multiqc.info/) module.
9. Update MultiQC config `assets/multiqc_config.yml` so relevant suffixes, file name clean up and module plots are in the appropriate order. If applicable, add a [MultiQC](https://https://multiqc.info/) module.
10. Add a description of the output files and if relevant any appropriate images from the MultiQC report to `docs/output.md`.

### Default values
Expand All @@ -92,8 +91,8 @@ The process resources can be passed on to the tool dynamically within the proces

Please use the following naming schemes, to make it easy to understand what is going where.

* initial process channel: `ch_output_from_<process>`
* intermediate and terminal channels: `ch_<previousprocess>_for_<nextprocess>`
- initial process channel: `ch_output_from_<process>`
- intermediate and terminal channels: `ch_<previousprocess>_for_<nextprocess>`

### Nextflow version bumping

Expand Down
2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@

name: Bug report
description: Report something that is broken or incorrect
labels: bug
body:

- type: markdown
attributes:
value: |
Expand Down
7 changes: 3 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ Remember that PRs should be made against the dev branch, unless you're preparing

Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/circdna/tree/master/.github/CONTRIBUTING.md)
-->
<!-- markdownlint-disable ul-indent -->

## PR checklist

- [ ] This comment contains a description of changes (with reason).
- [ ] If you've fixed a bug or added code that should be tested, add tests!
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/circdna/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/circdna _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/circdna/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/circdna _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] Make sure your code lints (`nf-core lint`).
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker`).
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
- [ ] Usage Documentation in `docs/usage.md` is updated.
- [ ] Output Documentation in `docs/output.md` is updated.
- [ ] `CHANGELOG.md` is updated.
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Launch workflow via tower
uses: nf-core/tower-action@v2
# TODO nf-core: You can customise AWS full pipeline tests as required
uses: nf-core/tower-action@v3
# Add full size test data (but still relatively small datasets for few samples)
# on the `test_full.config` test runs with only one set of parameters

with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
pipeline: ${{ github.repository }}
revision: ${{ github.sha }}
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/circdna/work-${{ github.sha }}
parameters: |
{
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/circdna/results-${{ github.sha }}"
}
profiles: test_full,aws_tower
pre_run_script: 'export NXF_VER=21.10.3'
7 changes: 2 additions & 5 deletions .github/workflows/awstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,16 @@ jobs:
if: github.repository == 'nf-core/circdna'
runs-on: ubuntu-latest
steps:
# Launch workflow using Tower CLI tool action
- name: Launch workflow via tower
uses: nf-core/tower-action@v2

uses: nf-core/tower-action@v3
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
pipeline: ${{ github.repository }}
revision: ${{ github.sha }}
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/circdna/work-${{ github.sha }}
parameters: |
{
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/circdna/results-test-${{ github.sha }}"
}
profiles: test,aws_tower
pre_run_script: 'export NXF_VER=21.10.3'
2 changes: 0 additions & 2 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
run: |
{ [[ ${{github.event.pull_request.head.repo.full_name }} == nf-core/circdna ]] && [[ $GITHUB_HEAD_REF = "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]


# If the above check failed, post a comment on the PR explaining the failure
# NOTE - this doesn't currently work if the PR is coming from a fork, due to limitations in GitHub actions secrets
- name: Post PR comment
Expand Down Expand Up @@ -43,4 +42,3 @@ jobs:
Thanks again for your contribution!
repo-token: ${{ secrets.GITHUB_TOKEN }}
allow-repeats: false

34 changes: 27 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ env:

jobs:
test:
name: Run workflow tests
name: Run pipeline with test data
# Only run on push if this is the nf-core dev branch (merged PRs)
if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/circdna') }}
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/circdna') }}"
runs-on: ubuntu-latest
strategy:
matrix:
# Nextflow versions
include:
# Test pipeline minimum Nextflow version
- NXF_VER: '21.10.3'
NXF_EDGE: ''
- NXF_VER: "21.10.3"
NXF_EDGE: ""
# Test latest edge release of Nextflow
- NXF_VER: ''
NXF_EDGE: '1'
- NXF_VER: ""
NXF_EDGE: "1"
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
Expand All @@ -46,4 +46,24 @@ jobs:
# For example: adding multiple test runs with different parameters
# Remember that you can parallelise this by using strategy.matrix
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test,docker
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results

ampliconarchitect:
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/circdna') }}"
runs-on: ubuntu-latest
name:
Run pipeline with test_AA to test functionality of AmpliconArchitect
# For example: adding multiple test runs with different parameters
# Remember that you can parallelise this by using strategy.matrix
steps:
- name: Check out pipeline code
uses: actions/checkout@v2

- name: Install Nextflow
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/

- name: Run pipeline with AmpliconArchitect
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test_AA,docker --outdir ./results
55 changes: 55 additions & 0 deletions .github/workflows/fix-linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Fix linting from a comment
on:
issue_comment:
types: [created]

jobs:
deploy:
# Only run if comment is on a PR with the main repo, and if it contains the magic keywords
if: >
contains(github.event.comment.html_url, '/pull/') &&
contains(github.event.comment.body, '@nf-core-bot fix linting') &&
github.repository == 'nf-core/circdna'
runs-on: ubuntu-latest
steps:
# Use the @nf-core-bot token to check out so we can push later
- uses: actions/checkout@v3
with:
token: ${{ secrets.nf_core_bot_auth_token }}

# Action runs on the issue comment, so we don't get the PR by default
# Use the gh cli to check out the PR
- name: Checkout Pull Request
run: gh pr checkout ${{ github.event.issue.number }}
env:
GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }}

- uses: actions/setup-node@v2

- name: Install Prettier
run: npm install -g prettier @prettier/plugin-php

# Check that we actually need to fix something
- name: Run 'prettier --check'
id: prettier_status
run: |
if prettier --check ${GITHUB_WORKSPACE}; then
echo "::set-output name=result::pass"
else
echo "::set-output name=result::fail"
fi

- name: Run 'prettier --write'
if: steps.prettier_status.outputs.result == 'fail'
run: prettier --write ${GITHUB_WORKSPACE}

- name: Commit & push changes
if: steps.prettier_status.outputs.result == 'fail'
run: |
git config user.email "[email protected]"
git config user.name "nf-core-bot"
git config push.default upstream
git add .
git status
git commit -m "[automated] Fix linting with Prettier"
git push
91 changes: 14 additions & 77 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,105 +1,43 @@
name: nf-core linting
# This workflow is triggered on pushes and PRs to the repository.
# It runs the `nf-core lint` and markdown lint tests to ensure that the code meets the nf-core guidelines
# It runs the `nf-core lint` and markdown lint tests to ensure
# that the code meets the nf-core guidelines.
on:
push:
pull_request:
release:
types: [published]

jobs:
Markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Install markdownlint
run: npm install -g markdownlint-cli
- name: Run Markdownlint
run: markdownlint .

# If the above check failed, post a comment on the PR explaining the failure
- name: Post PR comment
if: failure()
uses: mshick/add-pr-comment@v1
with:
message: |
## Markdown linting is failing

To keep the code consistent with lots of contributors, we run automated code consistency checks.
To fix this CI test, please run:

* Install `markdownlint-cli`
* On Mac: `brew install markdownlint-cli`
* Everything else: [Install `npm`](https://www.npmjs.com/get-npm) then [install `markdownlint-cli`](https://www.npmjs.com/package/markdownlint-cli) (`npm install -g markdownlint-cli`)
* Fix the markdown errors
* Automatically: `markdownlint . --fix`
* Manually resolve anything left from `markdownlint .`

Once you push these changes the test should pass, and you can hide this comment :+1:

We highly recommend setting up markdownlint in your code editor so that this formatting is done automatically on save. Ask about it on Slack for help!

Thanks again for your contribution!
repo-token: ${{ secrets.GITHUB_TOKEN }}
allow-repeats: false

EditorConfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v1
with:
node-version: '10'
- uses: actions/setup-node@v2

- name: Install editorconfig-checker
run: npm install -g editorconfig-checker

- name: Run ECLint check
run: editorconfig-checker -exclude README.md $(git ls-files | grep -v test)
run: editorconfig-checker -exclude README.md $(find .* -type f | grep -v '.git\|.py\|.md\|json\|yml\|yaml\|html\|css\|work\|.nextflow\|build\|nf_core.egg-info\|log.txt\|Makefile')

YAML:
Prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '10'
- name: Install yaml-lint
run: npm install -g yaml-lint
- name: Run yaml-lint
run: yamllint $(find ${GITHUB_WORKSPACE} -type f -name "*.yml" -o -name "*.yaml")

# If the above check failed, post a comment on the PR explaining the failure
- name: Post PR comment
if: failure()
uses: mshick/add-pr-comment@v1
with:
message: |
## YAML linting is failing

To keep the code consistent with lots of contributors, we run automated code consistency checks.
To fix this CI test, please run:

* Install `yaml-lint`
* [Install `npm`](https://www.npmjs.com/get-npm) then [install `yaml-lint`](https://www.npmjs.com/package/yaml-lint) (`npm install -g yaml-lint`)
* Fix the markdown errors
* Run the test locally: `yamllint $(find . -type f -name "*.yml" -o -name "*.yaml")`
* Fix any reported errors in your YAML files
- uses: actions/checkout@v2

Once you push these changes the test should pass, and you can hide this comment :+1:
- uses: actions/setup-node@v2

We highly recommend setting up yaml-lint in your code editor so that this formatting is done automatically on save. Ask about it on Slack for help!
- name: Install Prettier
run: npm install -g prettier

Thanks again for your contribution!
repo-token: ${{ secrets.GITHUB_TOKEN }}
allow-repeats: false
- name: Run Prettier --check
run: prettier --check ${GITHUB_WORKSPACE}

nf-core:
runs-on: ubuntu-latest
steps:

- name: Check out pipeline code
uses: actions/checkout@v2

Expand All @@ -110,10 +48,10 @@ jobs:
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/

- uses: actions/setup-python@v1
- uses: actions/setup-python@v3
with:
python-version: '3.6'
architecture: 'x64'
python-version: "3.6"
architecture: "x64"

- name: Install dependencies
run: |
Expand All @@ -140,4 +78,3 @@ jobs:
lint_log.txt
lint_results.md
PR_number.txt

2 changes: 0 additions & 2 deletions .github/workflows/linting_comment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: nf-core linting comment
# This workflow is triggered after the linting action is complete
# It posts an automated comment to the PR, even if the PR is coming from a fork
Expand Down Expand Up @@ -27,4 +26,3 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
number: ${{ steps.pr_number.outputs.pr_number }}
path: linting-logs/lint_results.md

Loading