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

Specific Questions #2

Open
7 of 11 tasks
thomasmanke opened this issue Nov 17, 2023 · 1 comment
Open
7 of 11 tasks

Specific Questions #2

thomasmanke opened this issue Nov 17, 2023 · 1 comment

Comments

@thomasmanke
Copy link
Collaborator

thomasmanke commented Nov 17, 2023

Nextflow basics

  • output
  • label processes --> resource allocation
  • run own workflows from github - multiple per repo?
  • overwrite ~HOME/.nextflow
  • modularization

Epi2Me

  • where are the containers
  • how to add new process to existing pipeline (e.g samtools flagstat)

nf-core

  • use profile
  • use (institutional) configs -> how to set cluster config
  • use parameter-file (configure with nf-core launch)
  • manage genomes (using iGenomes)
@adRn-s
Copy link
Member

adRn-s commented Nov 17, 2023

profiles {
    
    deep22 {
       
        cleanup = true
    
        process {
            executor = 'slurm'
            queue = 'test'
        }
       
        executor {
            queueSize = 8
            pollInterval = '1 min'
            queueStatInterval = '5 min'
        }
        
        // $NXF_SINGULARITY_CACHEDIR should be set in either ~/.bash{rc,_profile}
        // to stop downloading the same image for every run.
        // For example, we have: /localenv/pipegrp/nxf/apptainer
        // together  with: ln -s /localenv/pipegrp/nxf/home ~/.nextflow
        singularity {
            enabled = true
            autoMounts = true
        }
       
        params {
            config_profile_description = 'Config profile tu run Apptainer at MPI-IE Freiburg.'
            max_memory = 50.GB
            max_cpus = 20
            max_time = 24.h
            // https://github.com/bioinfo-pf-curie/geniac-template/blob/master/conf/test.config
        }
    }
      
    debug {
        cleanup = false
    }
}

I had this nextflow.cfg from a previous effort, it might be useful... Good luck!

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

No branches or pull requests

2 participants