Skip to content

Latest commit

 

History

History
115 lines (89 loc) · 2.35 KB

03_seminar.md

File metadata and controls

115 lines (89 loc) · 2.35 KB

Seminar 3 coding material

1. Folder structure

    ├── data
    ├── params
    │   ├── exp1
    │   │   ├── diffabun.yml
    │   │   ├── fetchngs.yml
    │   │   └── rnaseq.yml
    │   └── exp2
    ├── results
    │   ├── exp1
    │   └── exp2
    └── samplesheets
        ├── fetchngs_sample_ids.txt
        └── rnaseq.100samples.csv


2. Pipeline specific options should be kept in a yml files for each experiment, for example:


    #---------------------
    # fetchngs
    #---------------------
    outdir: data/
    input: samplesheets/fetchngs_sample_ids.txt
    max_memory: 6.GB
    force_sratools_download: true
    nf_core_pipeline: rnaseq

    #---------------------
    # rnaseq
    #---------------------

    input: rnaseq.100samples.csv
    outdir: results/exp1/rnaseq
    genome: GRCh37

    #---------------------
    # differentialabundance
    #---------------------

    shinyngs_deploy_to_shinyapps_io: true
    shinyngs_shinyapps_account: abhi18av
    shinyngs_shinyapps_app_name: diffabun-1

3. Nextflow specific options should be kept in the command line


    #---------------------
    # fetchngs
    #---------------------

   
    nextflow run nf-core/fetchngs \
        -r 1.9 \
        -profile docker \
        -resume \
        -params-file params/exp1/fetchngs.yml

    #---------------------
    # rnaseq
    #---------------------

    nextflow run nf-core/rnaseq \
        -r 3.11.2 \
        -profile docker \
        -resume \
        --params-file params/exp1/rnaseq.yml

    #---------------------
    # differentialabundance
    #---------------------

    nextflow run nf-core/differentialabundance \
        -r 1.2.0 \
        -profile rnaseq,docker \
        -resume \
        --params-file params/exp1/diffabun.yml