Skip to content

Instantly share code, notes, and snippets.

@chasemc
Last active July 7, 2022 14:18
Show Gist options
  • Save chasemc/93a32d4e2bf09805ee934abb322f4722 to your computer and use it in GitHub Desktop.
Save chasemc/93a32d4e2bf09805ee934abb322f4722 to your computer and use it in GitHub Desktop.
/*
========================================================================================
Nextflow minimal test
========================================================================================
Defines input files and everything required to run a fast and simple pipeline test.
Use as follows:
outdir='/home/chase/Documents/socialgene_data/buchnera'
nextflow run . \
-profile buchnera,conda \
--single_outdir $outdir \
--fasta_splits 6 \
-resume
----------------------------------------------------------------------------------------
*/
params {
config_profile_name = 'Annotate all RefSeq Micromonospora'
config_profile_description = 'Minimal test dataset to check pipeline function'
enable_conda = true // leave this as true
ncbi_datasets_command = 'genome accession "GCA_000005845.2"'
max_cpus = 24
max_memory = 62.GB
max_time = 6000.h
build_database = true
hmmlist = 'amrfinder'
/*
set which modules to run
*/
hmmer = true
ncbi_taxonomy = true
mmseqs2 = true
blastp = false // only set to true for small datasets
paired_omics = false
}
process {
withName:HMMER_HMMSEARCH {
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
memory = { check_max( 3 * task.attempt, 'memory' ) }
time = { check_max( 60.h * task.attempt, 'time' ) }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment