hey guys! I have some issue with `nf-core pipeline...
# linting
m
hey guys! I have some issue with
nf-core pipelines lint
, I am trying to get rid of the following warnings:
Copy code
╭─ [!] 2 Module Test Warnings ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                 ╷                                ╷                                                                                                                                                                                                                     │
│ Module name     │ File path                      │ Test message                                                                                                                                                                                                        │
│╶────────────────┼────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╴│
│ quast           │ modules/nf-core/quast          │ New version available                                                                                                                                                                                               │
│ samtools/fastq  │ modules/nf-core/samtools/fastq │ New version available                                                                                                                                                                                               │
│                 ╵                                ╵                                                                                                                                                                                                                     │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

╭─ [!] 12 Subworkflow Test Warnings ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                   ╷                                                                                              ╷                                                                                                     │
│ Subworkflow name                                                  │ File path                                                                                    │ Test message                                                                                        │
│╶──────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╴│
│ utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline  │ subworkflows/local/utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline/main.nf  │ Included component 'completionSummary' not used in <http://main.nf|main.nf>                                          │
│ utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline  │ subworkflows/local/utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline/main.nf  │ Included component 'paramsSummaryMap' not used in <http://main.nf|main.nf>                                           │
│ utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline  │ subworkflows/local/utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline/main.nf  │ Included component 'UTILS_NEXTFLOW_PIPELINE' versions are not added in <http://main.nf|main.nf>                      │
│ utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline  │ subworkflows/local/utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline/main.nf  │ Included component 'UTILS_NFCORE_PIPELINE' versions are not added in <http://main.nf|main.nf>                        │
│ utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline  │ subworkflows/local/utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline/main.nf  │ Included component 'UTILS_NFSCHEMA_PLUGIN' versions are not added in <http://main.nf|main.nf>                        │
│ utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline  │ subworkflows/local/utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline/main.nf  │ Included component 'completionSummary' versions are not added in <http://main.nf|main.nf>                            │
│ utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline  │ subworkflows/local/utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline/main.nf  │ Included component 'paramsSummaryMap' versions are not added in <http://main.nf|main.nf>                             │
│ utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline  │ subworkflows/local/utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline/main.nf  │ Included component 'samplesheetToList' versions are not added in <http://main.nf|main.nf>                            │
│ utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline  │ subworkflows/local/utils_nfcore_879_wgs_microorganisms_taxonomy_resistance_pipeline/meta.yml │ Subworkflow meta.yml does not exist                                                                 │
│ utils_nextflow_pipeline                                           │ subworkflows/nf-core/utils_nextflow_pipeline                                                 │ New version available                                                                               │
│ utils_nfcore_pipeline                                             │ subworkflows/nf-core/utils_nfcore_pipeline                                                   │ New version available                                                                               │
│ utils_nfschema_plugin                                             │ subworkflows/nf-core/utils_nfschema_plugin                                                   │ New version available                                                                               │
│                                                                   ╵                                                                                              ╵                                                                                                     │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
How can I turn off any checks for modules and subworkflows. Do I add something like
modules: false
to
.nf-core.yml
?
m
you would need to disable the different module/subworkflow linting rules
m
how do I do that?
m
sorry i was wrong. add
nfcore_components: false
to your lint section in
.nf-core.yml
and they are skipped
m
it worked, thank you so much! 🙏