-
Notifications
You must be signed in to change notification settings - Fork 193
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
Major overhaul of docs #219
Conversation
Codecov Report
Continue to review full report at Codecov.
|
nf_core/pipeline-template/{{cookiecutter.name_noslash}}/docs/configuration/adding_your_own.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @drpatelh for this! Only minor things from my side to correct.
@@ -242,7 +241,7 @@ Use to set a top-limit for the default CPU requirement for each process. | |||
Should be a string in the format integer-unit. eg. `--max_cpus 1` | |||
|
|||
### `--plaintext_email` | |||
Set to receive plain-text e-mails instead of HTML formatted. | |||
Set to receive plain-text e-mails instead of HTML formatted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added whitespace? I think this can be reverted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be fixed now in latest commit.
|
||
### `--multiqc_config` | ||
### `--multiqc_config` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't see a change here, probably different encoding?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im a bit puzzled too.
The --multiqc_config
section isnt rendered properly in the current usage.md
:
https://github.com/nf-core/tools/blob/dev/nf_core/pipeline-template/%7B%7Bcookiecutter.name_noslash%7D%7D/docs/usage.md#--plaintext_email
Im not sure whether the whitespace in the comment above sorts it out but its correctly rendered in this version:
https://github.com/drpatelh/tools/blob/dev/nf_core/pipeline-template/%7B%7Bcookiecutter.name_noslash%7D%7D/docs/usage.md#--multiqc_config
I got this working for the docs in nf-core/atacseq
so I copied it across and looked at the diff. Weird but it seems to work. I was staring at it for ages!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a non breaking space that can be achieved by holding shift and pressing space*. It looks identical in text editors and GitHub, but breaks GitHub markdown processing. Delete and press space again carefully and everything will work as expected.
* Learnt from a frustratingly large number of times where I've done this myself
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
holy, @ewels wtf. Yeah next guess would have been to check character encoding ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seeing as what i have done is doing the trick is it ok to leave it as it is? Not sure if it's likely to break something else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be fixed now in latest commit. I think...
…onfiguration/adding_your_own.md Co-Authored-By: drpatelh <drpatelh@users.noreply.github.com>
Wherever process-specific requirements are set in the pipeline, the default value can be changed by creating a custom config file. See the files in [`conf`](../conf) for examples. | ||
Wherever process-specific requirements are set in the pipeline, the default value can be changed by creating a custom config file. See the files hosted at [`nf-core/configs`](https://github.com/nf-core/configs/tree/master/conf) for examples. | ||
|
||
If you are likely to be running `nf-core` pipelines regularly it may be a good idea to request that your custom config file is uploaded to the `nf-core/configs` git repository. Before you do this please can you test that the config file works with your pipeline of choice using the `-c` parameter (see definition below). You can request your custom config file to be added in the `pipelines` chat on the Slack messenger for `nf-core` (may need to be invited first!) or on the `nf-core/Lobby` group on Gitter. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to mention Gitter. Perhaps instead say that people can create a pull request with their config and should join slack to become a member of nf-core and ask for help..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we can drop gitter as we will most likely move everyone over to slack anyways...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't you have to be invited to join the Slack group? Or is that likely to change?
I was anticipating the rather tedious scenario where you ask for an invite via Gitter to join Slack...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No not anymore: https://nf-core-invite.herokuapp.com/
I also put this up to the Gitter channel (as top most message in the channel description) and we should add it to the main homepage...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might add it to the homepage today with a logo, I guess its time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added details in latest commit.
@@ -229,9 +225,12 @@ Specify the path to a specific config file (this is a core NextFlow command). | |||
|
|||
Note - you can use this to override pipeline defaults. | |||
|
|||
### `--custom_config_version` | |||
Provide git commit id for custom Institutional configs hosted at `nf-core/configs`. This was implemented for reproducibility purposes. Default is set to `master`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe give an example of providing an exact commit ID..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in latest commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good now :-)
@@ -228,6 +230,11 @@ Note - you can use this to override pipeline defaults. | |||
### `--custom_config_version` | |||
Provide git commit id for custom Institutional configs hosted at `nf-core/configs`. This was implemented for reproducibility purposes. Default is set to `master`. | |||
|
|||
```bash | |||
## Download and use config file with following git commid id | |||
--custom_config_version d52db660777c4bf36546ddb188ec530c3ada1b96 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
thanks a lot @drpatelh for this contribution 🎉 |
@sven1103 Youre very welcome! |
docs
is updatedCHANGELOG.md
is updatedREADME.md
is updatedstandard
andnone
and changed description where applicable--igenomesIgnore
and--custom_config_version
tousage.md
README.md
anddocs/README.md
to be consistenttroubleshooting.md
nf-core/atacseq