Hi all, is it possible to install nf-core modules ...
# modules
s
Hi all, is it possible to install nf-core modules in a non-nf-core pipeline? I'm trying to do so but it starts asking me questions about files that seem nf-core specific:
Copy code
% nf-core modules install fastqc


                                          ,--./,-.
          ___     __   __   __   ___     /,-._.--~\
    |\ | |__  __ /  ` /  \ |__) |__         }  {
    | \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                          `._,._,'

    nf-core/tools version 3.0.2 - https://nf-co.re


WARNING  'repository_type' not defined in .nf-core.yml
? Is this repository an nf-core pipeline or a fork of nf-core/modules? (Use arrow keys)
 » Pipeline
   nf-core/modules
m
Yes it is possible. If you select pipeline above the necessary files will be generated
s
thank you!
p
We should rephrase this:
Is this repository an nf-core pipeline
👍 1
s
sorry to follow up on this -- is there a good tutorial anywhere on how to better integrate these modules? I can't figure out how to get my data (from a samplesheet) into the right format for the FASTQC module
p
There are a lot of modules and they vary a lot, but a good approach is generally to go to the nf-core website for the module in question (eg, https://nf-co.re/modules/fastqc/ ) and see which pipelines use that module. That's the pipeline names on the right.
In the case of FastQC, that's a lot of pipelines. Most modules have 1 or 2 pipelines listed thered.
Then you can go to that pipeline and dig into the code to see how the module is being called
For example, here takes me to here, to here - where it goes into the weeds but basically uses the nf-schema plugin to generate a samplesheet