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

add nextflow.config #62

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

evanbiederstedt
Copy link

Moved parameters to nextflow.config.

Details of the code here:
https://github.com/evanbiederstedt/clockwork/blob/feature/revise_NF_params/nextflow.config#L9-L16

Parameters I found here:
https://github.com/evanbiederstedt/clockwork/blob/feature/revise_NF_params/nextflow.config#L18-L51

Note:
It looks like all parameter names are the unique, except for max_forks:

It's 20 here: 
https://github.com/iqbal-lab-org/clockwork/blob/master/nextflow/fake_remove_contam.nf#L5

Here it's 100: 
https://github.com/iqbal-lab-org/clockwork/blob/master/nextflow/generic_pipeline.nf#L6
It may be best to rename the variable for one of these. 

Added default trace settings here, with fields I find useful:
https://github.com/evanbiederstedt/clockwork/blob/feature/revise_NF_params/nextflow.config#L54-L58

Added default timeline, report, and DAG graphic.
https://github.com/evanbiederstedt/clockwork/blob/feature/revise_NF_params/nextflow.config#L60-L73

You might want to remove the DAG graphic if your pipeline is stable---it will be the same thing after each pipeline run.

Also, you'll noticed I added shebangs to the NF scripts---feel free to remove if superfluous :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant