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
183 commits
Select commit Hold shift + click to select a range
a6ab045
Merge pull request #113 from HadrienG/master
ewels Aug 9, 2018
7152f8d
Merge pull request #122 from HadrienG/conda
ewels Aug 10, 2018
584358e
Merge branch 'master' of https://github.com/nf-core/tools
Sep 18, 2018
2533bd2
Merge branch 'master' of https://github.com/nf-core/tools
apeltzer Nov 12, 2018
c6deebe
Corrects blacklist filtering
sven1103 Apr 9, 2019
b807637
Uses meta information from dev branch instead of master
sven1103 Apr 9, 2019
267b9ce
add bwa and bt2 index to igenomes config
maxibor Apr 9, 2019
adc641b
Merge branch 'dev' of https://github.com/nf-core/tools into dev
maxibor Apr 9, 2019
ee5e929
update changelog
maxibor Apr 9, 2019
8e32e69
Enables single pipeline sync via command line
sven1103 Apr 9, 2019
ef8d987
Updates changelog
sven1103 Apr 9, 2019
adce02e
Corrects markdown error
sven1103 Apr 10, 2019
42d2cc9
Merge pull request #307 from sven1103/master
sven1103 Apr 10, 2019
952d5fc
Merge pull request #309 from maxibor/dev
sven1103 Apr 10, 2019
58f124d
Fix typo in tools readme
apeltzer Apr 15, 2019
1081e9e
Merge pull request #317 from apeltzer/dev
apeltzer Apr 16, 2019
27b9669
Specify yaml Loader argument
phue Apr 23, 2019
025aca5
add Loader to remaining yaml.load() calls
phue Apr 23, 2019
471659d
Fixed some 404 end links
kerimoff Apr 25, 2019
74e0a4f
Merge pull request #323 from nf-core/Readme_text_fixing
apeltzer Apr 25, 2019
8946dc9
use yaml.safe_load() to avoid unsafe loading of yaml
phue Apr 28, 2019
c0b7783
Merge pull request #322 from nf-core/phue-yaml_loader_warning
phue Apr 28, 2019
1e76786
Add nf-core citation
drpatelh May 2, 2019
ecc54fa
Change CHANGELOG
drpatelh May 2, 2019
1f88c31
Changed Paolos name by Deed Poll
drpatelh May 3, 2019
c0e7a4d
Add pre-print
drpatelh May 3, 2019
13435be
I dont speak Italian
drpatelh May 3, 2019
9f62722
Merge pull request #327 from drpatelh/master
apeltzer May 3, 2019
fbe1871
Drop atacseq
apeltzer May 4, 2019
2f31aa6
Drop nascent
apeltzer May 4, 2019
5d107ef
Add Sarek to blacklist
apeltzer May 4, 2019
cadfacb
Add multiple missing pipelines to blacklist
apeltzer May 4, 2019
8c30edc
Updated CHANGELOG
apeltzer May 4, 2019
b323064
Make linting happy
apeltzer May 5, 2019
86fa6e6
Merge pull request #328 from apeltzer/dev
apeltzer May 6, 2019
961b24e
Add TEMPLATE branch to create command
apeltzer May 6, 2019
a9ef277
Add Changelog
apeltzer May 6, 2019
745972b
Bump to 1.7dev
apeltzer May 6, 2019
020e7f5
Remove chipseq from blacklist
drpatelh May 10, 2019
fabd258
Merge pull request #332 from drpatelh/master
ewels May 10, 2019
4290a19
specified conda channels in template (#333)
matq007 May 15, 2019
0b46c58
Fix email notification bug
drpatelh May 22, 2019
7358622
Update CHANGELOG
drpatelh May 22, 2019
0493b41
Update code based on Paolas comment
drpatelh May 22, 2019
2702bfe
Merge pull request #337 from drpatelh/master
apeltzer May 22, 2019
5ffd849
Add nf-core logo
drpatelh May 30, 2019
5ce6395
Update CHANGELOG
drpatelh May 30, 2019
033a6c9
Merge pull request #340 from drpatelh/dev
ewels May 31, 2019
a19da15
Prints warning in dev mode for unequal container name
sven1103 May 31, 2019
b52b40d
Updates Changelog
sven1103 May 31, 2019
87f85fd
Adds more imperative warning massage
sven1103 May 31, 2019
06b1ca0
Merge pull request #342 from sven1103/master
sven1103 May 31, 2019
8e445b5
Add Quick start section to template
drpatelh Jun 10, 2019
8543ff0
Update description
drpatelh Jun 10, 2019
8d220db
Fix markdownlint
drpatelh Jun 10, 2019
b169af6
Tweak description
drpatelh Jun 10, 2019
2a03418
Bypass bullet check...
drpatelh Jun 10, 2019
1140e4f
Bypass bullet check...
drpatelh Jun 10, 2019
256c764
Merge pull request #345 from drpatelh/master
drpatelh Jun 10, 2019
7b97e35
Cope with edge versions when linting
antunderwood Jun 17, 2019
47f161f
Add docker.runOptions to avoid memory swap error
olgabot Jun 25, 2019
9911537
fix: Small code polishing + typo fix in the template main.nf file
maxulysse Jun 25, 2019
9eb39f8
fix: update CHANGELOG
maxulysse Jun 25, 2019
ca036a9
Update Changelog with lint feature to accept edge versions
antunderwood Jun 25, 2019
1e77b44
Merge pull request #347 from aunderwo/master
apeltzer Jun 25, 2019
ee4145a
Merge pull request #325 from MaxUlysse/master
apeltzer Jun 25, 2019
701d559
Merge pull request #330 from apeltzer/add-git-template
apeltzer Jun 28, 2019
5f1f453
Merge pull request #351 from nf-core/olgabot-patch-1
apeltzer Jun 28, 2019
e7e36f4
Adjust options with @maxulysse's input
apeltzer Jun 28, 2019
50bbf24
Add Changelog
apeltzer Jun 28, 2019
eb1108c
Merge pull request #334 from matq007/dev
apeltzer Jun 28, 2019
688bb19
Merge pull request #352 from nf-core/dockerrunOptions
sven1103 Jun 28, 2019
700af5b
Bump version of Conda in base to 4.6.14
apeltzer Jun 28, 2019
434d446
Merge pull request #353 from apeltzer/updateConda
ewels Jul 2, 2019
f247e5b
new File --> file
olgabot Jul 3, 2019
da7fb8d
Use `file()` instead of `new File`
olgabot Jul 3, 2019
0bd384d
Add comment in changelog
olgabot Jul 3, 2019
a07763d
Merge pull request #354 from nf-core/olgabot-patch-2
apeltzer Jul 3, 2019
3393579
Add changes for fixing workflow.onComplete()
apeltzer Jul 18, 2019
1570f20
Add changes + clean up markdownlint errors
apeltzer Jul 18, 2019
68185a4
Merge remote-tracking branch 'upstream/master'
apeltzer Jul 18, 2019
655dc9b
Fix URLs
apeltzer Jul 18, 2019
cb0d37f
Merge pull request #357 from apeltzer/fix-urls
apeltzer Jul 18, 2019
5e327f7
Merge branch 'dev' into dev
apeltzer Jul 18, 2019
fed8b3e
Merge pull request #356 from apeltzer/dev
sven1103 Jul 18, 2019
c17ef0a
Replace URL for joining slack
ewels Jul 30, 2019
2a1acb7
Changelog update
ewels Jul 30, 2019
065e9b7
Merge pull request #362 from ewels/master
ewels Jul 30, 2019
6fa27c1
feat: add direct link to the pipeline slack channel
maxulysse Aug 1, 2019
af782db
feat: add contributions and support heading with links to contibution…
maxulysse Aug 1, 2019
76273fe
feat: update CHANGELOG
maxulysse Aug 1, 2019
c34b04b
Renders readme properly on Pypi
sven1103 Aug 19, 2019
37e4be3
[FIX] Missing r-rmarkdown dependency
Zethson Aug 22, 2019
e38f158
[FEATURE] Added R-base + r-markdown 0.9 -> 1.1
Zethson Aug 22, 2019
d504ad6
[FIX] Accidently removed correct version of multiqc
Zethson Aug 22, 2019
6af4f8a
[CHANGELOG] Added r-base and r-markdown
Zethson Aug 24, 2019
191dd74
Fixing Parameter issues
apeltzer Sep 18, 2019
10a2c71
Create Dev too please
apeltzer Sep 18, 2019
70b28a6
Changes nf-core cache dir to user's home
sven1103 Sep 19, 2019
bd28114
Updates changelog
sven1103 Sep 19, 2019
fa1d48d
Merge pull request #368 from nf-core/FIX]-Missing-r-rmarkdown-dependency
apeltzer Sep 19, 2019
a558fcb
Merge branch 'dev' into fix-params
ewels Sep 19, 2019
bd66ef0
Merge pull request #376 from apeltzer/fix-params
apeltzer Sep 19, 2019
5cc8e99
Fix markdownlint
apeltzer Sep 19, 2019
b822868
Merge branch 'dev' into dev
apeltzer Sep 19, 2019
08f03f4
Merge pull request #363 from MaxUlysse/dev
apeltzer Sep 19, 2019
2a65237
Merge pull request #377 from apeltzer/add-dev-branch
ewels Sep 19, 2019
f71f037
Adding in more time (#378)
apeltzer Sep 19, 2019
03b507a
Merge branch 'dev' into master
apeltzer Sep 20, 2019
097398a
Updates caching method docs
sven1103 Sep 20, 2019
f9fffc8
Removes unused import statement
sven1103 Sep 20, 2019
a03be0e
Merge branch 'master' of github.com:sven1103/tools
sven1103 Sep 20, 2019
9b4a773
chore: Add Code of Conduct for Tools (#385)
apeltzer Sep 20, 2019
86e0bde
Wrong directory for code of conduct (#386)
apeltzer Sep 20, 2019
1a95fdd
Refactors cache path
sven1103 Sep 20, 2019
cb39811
Refactors function call
sven1103 Sep 20, 2019
5dcca6a
Merge pull request #381 from sven1103/master
sven1103 Sep 20, 2019
3d90c74
Introduces stable parameter schema reference
sven1103 Sep 21, 2019
11f1540
Update changelog
sven1103 Sep 21, 2019
219957e
Corrects schema URL
sven1103 Sep 21, 2019
78e0c75
Removes trailing space
sven1103 Sep 21, 2019
6d7eaf1
Merge pull request #387 from sven1103/master
apeltzer Sep 21, 2019
d09930f
Add Patch to enable PRs coming from patch branch
apeltzer Sep 24, 2019
1843f99
Adjusting testing
apeltzer Sep 24, 2019
4271ca3
Add to template to have tests pass :+1:
apeltzer Sep 24, 2019
b7d34e1
Merge pull request #392 from nf-core/check-patch-travis-ci
apeltzer Sep 24, 2019
aac8e8b
Travis: Test Python 3.7
ewels Sep 26, 2019
9229218
Don't try to push built docs if on a branch
ewels Sep 26, 2019
a35d554
Python 3.7 fixes
ewels Sep 26, 2019
9c3d8a7
Changelog
ewels Sep 26, 2019
7c5b6aa
Merge pull request #394 from ewels/py3.7
apeltzer Sep 26, 2019
deb2e2c
nf-core download: Get nf-core/configs
ewels Oct 4, 2019
887df9d
Changelog
ewels Oct 4, 2019
b75e7da
Merge pull request #398 from ewels/download-configs
apeltzer Oct 4, 2019
0912d68
download: compress files into archive
ewels Oct 4, 2019
de26b27
Changelog
ewels Oct 4, 2019
ac82ab8
Fix tests
ewels Oct 4, 2019
4e8d036
Merge pull request #399 from ewels/download-tar
apeltzer Oct 5, 2019
217479d
Template: ascii artwork for plaintext email
ewels Oct 5, 2019
5c062b1
Create: Fetch pipeline logo
ewels Oct 5, 2019
7dd1aae
Template: --email_on_fail option
ewels Oct 5, 2019
4934313
Merge pull request #401 from ewels/email-on-fail
drpatelh Oct 5, 2019
343944e
List: capture git errors for local workflows
ewels Oct 5, 2019
0b3a8ed
Changelog
ewels Oct 5, 2019
e61ad92
Merge branch 'dev' into create-template-logo
ewels Oct 5, 2019
06211d0
.gitignore API docs build
ewels Oct 5, 2019
8e8c931
Merge pull request #400 from ewels/create-template-logo
drpatelh Oct 5, 2019
b61ee34
Changelog
ewels Oct 5, 2019
1b4e53e
Merge branch 'dev' into list-handle-exceptions
ewels Oct 5, 2019
a172292
Merge branch 'dev' into ignore-docs-build
ewels Oct 5, 2019
48196ec
Merge pull request #403 from ewels/ignore-docs-build
ewels Oct 5, 2019
7378534
Merge branch 'dev' into list-handle-exceptions
ewels Oct 5, 2019
29b3e0f
Merge pull request #402 from ewels/list-handle-exceptions
ewels Oct 5, 2019
406e6fd
Add Patch testing to main travis.yml
apeltzer Oct 6, 2019
4dd6ecb
Merge pull request #404 from apeltzer/patch-testing
ewels Oct 6, 2019
466797e
Update fasta logic
drpatelh Oct 6, 2019
6fa014a
Fix tpyo
drpatelh Oct 6, 2019
7b2efd3
Initialise genome
drpatelh Oct 6, 2019
78ebc1f
Add checkIfExists
drpatelh Oct 6, 2019
df4507b
Adjust spacing and if statements
drpatelh Oct 6, 2019
89967f5
Add spaces for if statements
drpatelh Oct 6, 2019
5a375f0
Add space
drpatelh Oct 6, 2019
2b6ce74
Add file existence check
drpatelh Oct 6, 2019
4efe858
Update CHANGELOG
drpatelh Oct 6, 2019
97b84d7
Reorder imports
drpatelh Oct 6, 2019
7635cd3
Change file to new File
drpatelh Oct 6, 2019
92096d8
Escape the spacing
drpatelh Oct 6, 2019
769a145
Adjust spacing
drpatelh Oct 6, 2019
bb711db
Template Dockerfile: use tagged nfcore/base
ewels Oct 7, 2019
e6d7836
Template: Fix ANSI codes in header
ewels Oct 7, 2019
25348c3
Linting: Dockerfile FROM should include tag
ewels Oct 7, 2019
fad1474
Add default labels
drpatelh Oct 7, 2019
32c5637
Add label and threads to fastqc
drpatelh Oct 7, 2019
3f74ff6
Add label to fastqc
drpatelh Oct 7, 2019
4f590d9
Use try..except instead
drpatelh Oct 7, 2019
33df368
Update CHANGELOG
drpatelh Oct 7, 2019
b8f6ecf
Merge pull request #407 from ewels/ansi-header-fix
drpatelh Oct 7, 2019
02a12bc
Merge pull request #406 from ewels/template-tag-docker-base
drpatelh Oct 7, 2019
7c8a140
Merge branch 'dev' of https://github.com/nf-core/tools
drpatelh Oct 7, 2019
1baad1b
Merge pull request #405 from drpatelh/master
ewels Oct 7, 2019
fb33947
1.7 release
ewels Oct 7, 2019
2bc7703
Bump version number in minimal example for tests
ewels Oct 7, 2019
e46e81a
Merge pull request #409 from ewels/master
ewels Oct 7, 2019
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
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ We try to manage the required tasks for nf-core/tools using GitHub issues, you p

However, don't be put off by this template - other more general issues and suggestions are welcome! Contributions to the code are even more welcome ;)

> If you need help using or developing nf-core/tools then the best place to ask is the nf-core `tools` channel on [Slack](https://nf-core-invite.herokuapp.com/).
> If you need help using or developing nf-core/tools then the best place to ask is the nf-core `tools` channel on [Slack](https://nf-co.re/join/slack/).

## Contribution workflow
If you'd like to write some code for nf-core/tools, the standard workflow
Expand Down Expand Up @@ -68,4 +68,4 @@ nf-core lint nf-core-testpipeline
```

## Getting help
For further information/help, please consult the [nf-core/tools documentation](https://github.com/nf-core/tools#documentation) and don't hesitate to get in touch on the nf-core `tools` channel on [Slack](https://nf-core-invite.herokuapp.com/).
For further information/help, please consult the [nf-core/tools documentation](https://github.com/nf-core/tools#documentation) and don't hesitate to get in touch on the nf-core `tools` channel on [Slack](https://nf-co.re/join/slack/).
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

.coverage
.pytest_cache
docs/api/_build

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ python:
- '2.7'
- '3.5'
- '3.6'
- '3.7'
before_install:
# PRs to master are only ok if coming from dev branch
- '[ $TRAVIS_PULL_REQUEST = "false" ] || [ $TRAVIS_BRANCH != "master" ] || ([ $TRAVIS_PULL_REQUEST_SLUG = $TRAVIS_REPO_SLUG ] && [ $TRAVIS_PULL_REQUEST_BRANCH = "dev" ])'
- '[ $TRAVIS_PULL_REQUEST = "false" ] || [ $TRAVIS_BRANCH != "master" ] || ([ $TRAVIS_PULL_REQUEST_SLUG = $TRAVIS_REPO_SLUG ] && ([ $TRAVIS_PULL_REQUEST_BRANCH = "dev" ] || [ $TRAVIS_PULL_REQUEST_BRANCH = "patch" ]))'
# Check that the changelog has been updated if this is a PR
- git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" && git fetch
- '[ $TRAVIS_PULL_REQUEST = "false" ] || [ $(git diff --name-only HEAD origin/${TRAVIS_BRANCH} | grep CHANGELOG.md | wc -l) -ge 1 ]'
Expand Down Expand Up @@ -40,7 +41,7 @@ after_success:
jobs:
include:
- stage: docs generation
if: (branch = "master" OR branch = "dev") AND type = push
if: (branch = "master" OR branch = "dev") AND type = push AND repo = nf-core/tools
script: bash ./bin/push.sh

deploy:
Expand Down
95 changes: 87 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,91 @@
# nf-core/tools: Changelog

## v1.7

### PyPI package description

* The readme should now be rendered properly on PyPI.

### Tools helper code

* The tools `create` command now sets up a `TEMPLATE` and a `dev` branch for syncing
* Fixed issue [379](https://github.com/nf-core/tools/issues/379)
* nf-core launch now uses stable parameter schema version 0.1.0
* Check that PR from patch or dev branch is acceptable by linting
* Made code compatible with Python 3.7
* The `download` command now also fetches institutional configs from nf-core/configs
* When listing pipelines, a nicer message is given for the rare case of a detached `HEAD` ref in a locally pulled pipeline. [#297](https://github.com/nf-core/tools/issues/297)
* The `download` command can now compress files into a single archive.
* `nf-core create` now fetches a logo for the pipeline from the nf-core website

### Syncing

* Can now sync a targeted pipeline via command-line
* Updated Blacklist of synced pipelines
* Removed `chipseq` from Blacklist of synced pipelines
* Fixed issue [#314](https://github.com/nf-core/tools/issues/314)

### Linting

* If the container slug does not contain the nf-core organisation (for example during development on a fork), linting will raise a warning, and an error with release mode on

### Template

* Add new code for Travis CI to allow PRs from patch branches too
* Fix small typo in central readme of tools for future releases
* Small code polishing + typo fix in the template main.nf file
* Header ANSI codes no longer print `[2m` to console when using `-with-ansi`
* Switched to yaml.safe_load() to fix PyYAML warning that was thrown because of a possible [exploit](https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation)
* Add `nf-core` citation
* Add proper `nf-core` logo for tools
* Add `Quick Start` section to main README of template
* Fix [Docker RunOptions](https://github.com/nf-core/tools/pull/351) to get UID and GID set in the template
* `Dockerfile` now specifically uses the proper release tag of the nfcore/base image
* Use [`file`](https://github.com/nf-core/tools/pull/354) instead of `new File`
to avoid weird behavior such as making an `s3:/` directory locally when using
an AWS S3 bucket as the `--outdir`.
* Fix workflow.onComplete() message when finishing pipeline
* Update URL for joining the nf-core slack to https://nf-co.re/join/slack
* [Increased default time limit](https://github.com/nf-core/tools/issues/370) to 4h
* Add direct link to the pipeline slack channel in the contribution guidelines
* Add contributions and support heading with links to contribution guidelines and link to the pipeline slack channel in the main README
* Fix Parameters JSON due to new versionized structure
* Added conda-forge::r-markdown=1.1 and conda-forge::r-base=3.6.1 to environment
* Plain-text email template now has nf-core ASCII artwork
* Template configured to use logo fetched from website
* New option `--email_on_fail` which only sends emails if the workflow is not successful
* Add file existence check when checking software versions
* Fixed issue [https://github.com/nf-core/tools/issues/165] - Use `checkIfExists`
* Consistent spacing for `if` statements
* Add sensible resource labels to `base.config`

### Other

* Bump `conda` to 4.6.14 in base nf-core Dockerfile
* Added a Code of Conduct to nf-core/tools, as only the template had this before
* TravisCI tests will now also start for PRs from `patch` branches, [to allow fixing critical issues](https://github.com/nf-core/tools/pull/392) without making a new major release

## v1.6

#### Syncing
### Syncing

* Code refactoring to make the script more readable
* No travis build failure anymore on sync errors
* More verbose logging

#### Template pipeline
### Template pipeline

* awsbatch `work-dir` checking moved to nextflow itself. Removed unsatisfiable check in main.nf template.
* Fixed markdown linting
* Tools CI testing now runs markdown lint on compiled template pipeline
* Migrated large portions of documentation to the [nf-core website](https://github.com/nf-core/nf-co.re/pull/93)
* Removed Gitter references in `.github/` directories for `tools/` and pipeline template.
* Changed `scrape_software_versions.py` to output `.csv` file
* Added `export_plots` parameter to multiqc config
* Corrected some typos as listed [here](https://github.com/nf-core/tools/issues/348) to Guidelines

### Tools helper code

#### Tools helper code
* Drop [nf-core/rnaseq](https://github.com/nf-core/rnaseq]) from `blacklist.json` to make template sync available
* Updated main help command to sort the subcommands in a more logical order
* Updated readme to describe the new `nf-core launch` command
Expand All @@ -29,12 +98,15 @@
* Improved documentation
* Fixed bugs in `nf-core lint`
* The order of conda channels is now correct, avoiding occasional erroneous errors that packages weren't found ([#207](https://github.com/nf-core/tools/issues/207))
* Allow edge versions in nf-core pipelines
* Add reporting of ignored errored process
* As a solution for [#103](https://github.com/nf-core/tools/issues/103))
* Add Bowtie2 and BWA in iGenome config file template

## [v1.5](https://github.com/nf-core/tools/releases/tag/1.5) - 2019-03-13 Iron Shark

#### Template pipeline
### Template pipeline

* Dropped Singularity file
* Summary now logs details of the cluster profile used if from [nf-core/configs](https://github.com/nf-core/configs)
* Dockerhub is used in favor of Singularity Hub for pulling when using the Singularity profile
Expand All @@ -48,7 +120,8 @@
* Together with nf-core/configs, helper function now checks hostname and suggests a valid config profile
* `awsbatch` executor requires the `tracedir` not to be set to an `s3` bucket.

#### Tools helper code
### Tools helper code

* New `nf-core launch` command to interactively launch nf-core pipelines from command-line
* Works with a `parameters.settings.json` file shipped with each pipeline
* Discovers additional `params` from the pipeline dynamically
Expand All @@ -71,12 +144,14 @@
* Now correctly validates version pinning for packages from PyPI
* Updates for changes to `process.container` definition

#### Other
### Other

* Bump `conda` to 4.6.7 in base nf-core Dockerfile

## [v1.4](https://github.com/nf-core/tools/releases/tag/1.4) - 2018-12-12 Tantalum Butterfly

#### Template pipeline
### Template pipeline

* Institutional custom config profiles moved to github `nf-core/configs`
* These will now be maintained centrally as opposed to being shipped with the pipelines in `conf/`
* Load `base.config` by default for all profiles
Expand All @@ -90,14 +165,16 @@
* Travis: Pull the `dev` tagged docker image for testing
* Removed UPPMAX-specific documentation from the template.

#### Tools helper code
### Tools helper code

* Make Travis CI tests fail on pull requests if the `CHANGELOG.md` file hasn't been updated
* Minor bugfixing in Python code (eg. removing unused import statements)
* Made the web requests caching work on multi-user installations
* Handle exception if nextflow isn't installed
* Linting: Update for Travis: Pull the `dev` tagged docker image for testing

## [v1.3](https://github.com/nf-core/tools/releases/tag/1.3) - 2018-11-21

* `nf-core create` command line interface updated
* Interactive prompts for required arguments if not given
* New flag for workflow author
Expand All @@ -111,6 +188,7 @@
* Added `pip install --upgrade pip` to `.travis.yml` to update pip in the Travis CI environment

## [v1.2](https://github.com/nf-core/tools/releases/tag/1.2) - 2018-10-01

* Updated the `nf-core release` command
* Now called `nf-core bump-versions` instead
* New flag `--nextflow` to change the required nextflow version instead
Expand All @@ -131,6 +209,7 @@
* New GitHub contributing instructions and pull request template

## [v1.1](https://github.com/nf-core/tools/releases/tag/1.1) - 2018-08-14

Very large release containing lots of work from the first nf-core hackathon, held in SciLifeLab Stockholm.

* The [Cookiecutter template](https://github.com/nf-core/cookiecutter) has been merged into tools
Expand Down
46 changes: 46 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team on [Slack](https://nf-co.re/join/slack/). The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM continuumio/miniconda:4.5.4
FROM continuumio/miniconda:4.6.14
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
FROM continuumio/miniconda:4.6.14
FROM continuumio/miniconda:4.7.10

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we do a release now this will save us lots of time. 4.7.X contains better dependency solving algorithm: https://www.anaconda.com/how-we-made-conda-faster-4-7/

LABEL authors="[email protected],[email protected]" \
description="Docker image containing base requirements for the nfcore pipelines"

# Install procps so that Nextflow can poll CPU usage
RUN apt-get update && apt-get install -y procps && apt-get clean -y
RUN conda install conda=4.6.7
RUN apt-get update && apt-get install -y procps && apt-get clean -y
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# ![nf-core/tools](docs/images/nf-core-logo.png)
# ![nf-core/tools](docs/images/nfcore-tools_logo.png)

## [nf-core/tools](https://github.com/nf-core/tools)
[![Build Status](https://travis-ci.org/nf-core/tools.svg?branch=master)](https://travis-ci.org/nf-core/tools)
[![codecov](https://codecov.io/gh/nf-core/tools/branch/master/graph/badge.svg)](https://codecov.io/gh/nf-core/tools)
[![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat-square)](http://bioconda.github.io/recipes/nf-core/README.html)
Expand Down Expand Up @@ -144,7 +143,7 @@ Some nextflow pipelines have a considerable number of command line flags that ca
To help with this, the `nf-core launch` command uses an interactive command-line wizard tool to prompt you for
values for running nextflow and the pipeline parameters.

If the pipeline in question has a `parameters.settings.json` file following the [nf-core parameter JSON schema](https://nf-co.re/parameters.schema.json), parameters will be grouped and have associated description text and variable typing.
If the pipeline in question has a `parameters.settings.json` file following the [nf-core parameter JSON schema](https://nf-co.re/parameter-schema), parameters will be grouped and have associated description text and variable typing.

Nextflow `params` variables are saved in to a JSON file called `nfx-params.json` and used by nextflow with the `-params-file` flag.
This makes it easier to reuse these in the future.
Expand Down Expand Up @@ -297,7 +296,7 @@ The `create` subcommand makes a new workflow using the nf-core base template.
With a given pipeline name, description and author, it makes a starter pipeline which follows nf-core best practices.

After creating the files, the command initialises the folder as a git repository and makes an initial commit. This first "vanilla" commit which is identical to the output from the templating tool is important, as it allows us to keep your pipeline in sync with the base template in the future.
See the [nf-core syncing docs](http://nf-co.re/sync) for more information.
See the [nf-core syncing docs](https://nf-co.re/developers/sync) for more information.

```console
$ nf-core create
Expand Down Expand Up @@ -332,7 +331,7 @@ git push --set-upstream origin master

You can then continue to edit, commit and push normally as you build your pipeline.

Please see the [nf-core documentation](https://nf-co.re/adding_pipelines) for a full walkthrough of how to create a new nf-core workflow.
Please see the [nf-core documentation](https://nf-co.re/developers/adding_pipelines) for a full walkthrough of how to create a new nf-core workflow.

Note that if the required arguments for `nf-core create` are not given, it will interactively prompt for them. If you prefer, you can supply them as command line arguments. See `nf-core create --help` for more information.

Expand Down Expand Up @@ -429,3 +428,8 @@ INFO: Updating version in Singularity
```

To change the required version of Nextflow instead of the pipeline version number, use the flag `--nextflow`.

## Citation

If you use `nf-core tools` in your work, please cite the `nf-core` preprint as follows:
Ewels PA, Peltzer A, Fillinger S, Alneberg JA, Patel H, Wilm A, Garcia MU, Di Tommaso P, Nahnsen S. **nf-core: Community curated bioinformatics pipelines**. *bioRxiv*. 2019. p. 610741. [doi: 10.1101/610741](https://www.biorxiv.org/content/10.1101/610741v1).
18 changes: 11 additions & 7 deletions bin/blacklist.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"pipelines": [
"atacseq",
"bcellmagic",
"chipseq",
"epitopeprediction",
"exoseq",
"nascent",
"neutronstar",
"neutronstar",
"smrnaseq",
"vipr"
"vipr",
"sarek",
"neutronstar",
"proteomicslfq",
"clinvap",
"lncpipe",
"ddamsproteomics",
"scrnaseq",
"guideseq"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"guideseq"
"guideseq",
"nanodemux",
"mnaseseq",
"bactmap",
"kmermaid",
"crisprvar"

]
}
}
8 changes: 6 additions & 2 deletions bin/sync
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def filter_blacklisted_pipelines_from_list(pipelines, blacklisted_pipelines):
def fetch_black_listed_pipelines_from_file(file_path):
with open(file_path) as fh:
blacklist = json.load(fh)
return blacklist
return blacklist.get('pipelines')


def fetch_nfcore_workflows_from_website(url):
Expand Down Expand Up @@ -100,7 +100,11 @@ def main():

pipelines = fetch_nfcore_workflows_from_website(NF_CORE_PIPELINE_INFO)

filtered_pipelines = filter_blacklisted_pipelines_from_list(pipelines, blacklisted_pipeline_names)
if len(sys.argv) > 1:
pipeline_to_sync = sys.argv[1]
filtered_pipelines = [pipeline for pipeline in pipelines if pipeline_to_sync in pipeline.get('name')]
else:
filtered_pipelines = filter_blacklisted_pipelines_from_list(pipelines, blacklisted_pipeline_names)

for pipeline in filtered_pipelines:
print("Update template branch for pipeline '{pipeline}'... ".format(pipeline=pipeline['name']))
Expand Down
6 changes: 2 additions & 4 deletions bin/syncutils/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def context_from_nextflow(self, nf_project_dir):
Returns: A cookiecutter-readable context (Python dictionary)
"""
# Check if we are on "master" (main pipeline code)
if self.repo.active_branch.name != "master":
self.repo.git.checkout("origin/master", b="master")
if self.repo.active_branch.name != "dev":
self.repo.git.checkout("origin/dev", b="dev")

# Fetch the config variables from the Nextflow pipeline
config = utils.fetch_wf_config(wf_path=nf_project_dir)
Expand All @@ -66,8 +66,6 @@ def update_child_template(self, templatedir, target_dir, context=None):
shutil.rmtree(os.path.join(target_dir, f))
except:
os.remove(os.path.join(target_dir, f))
print(target_dir)
print(context.get('author'))
# Create the new template structure
nf_core.create.PipelineCreate(
name=context.get('pipeline_name'),
Expand Down
Loading