Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
toniher committed Oct 23, 2024
1 parent 04ac6b2 commit 450c62b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 14 deletions.
11 changes: 5 additions & 6 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ version = '2.0.0'
* Input parameters:
*/

params.help = false
params.resume = false


Expand Down Expand Up @@ -83,12 +82,8 @@ reclustered gene orthology file : ${params.sub_orthologs}
"""

include { paramsHelp; paramsSummaryMap; validateParameters } from 'plugin/nf-schema'

if (params.help) {
log.info """ExOrthist v2.0.0"""
log.info """ExOrthist is a Nextflow-based pipeline to obtain groups of exon orthologous at all evolutionary timescales.\n"""
exit 1
}
if (params.resume) exit 1, "Are you making the classical --resume typo? Be careful!!!! ;)"

// if( !workflow.resume ) {
Expand All @@ -106,8 +101,12 @@ include { SCORE } from "${LOCAL_SUBWORKFLOWS}/score.nf"

include { PLOT } from "${WORKFLOWS}/plot.nf"

// println paramsSummaryMap(workflow)

workflow {

// validateParameters()

if (params.wf == "plot" ) {
log.info(log_plot)
geneclusters_path = "${params.output}/gene_cluster_file.gz"
Expand Down
9 changes: 8 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@ manifest {
}

plugins {
id '[email protected]'
id '[email protected]'
}

validation {
help {
enabled = true
command = "nextflow run main.nf -with-docker"
}
}

includeConfig "$projectDir/params.config"
Expand Down
2 changes: 1 addition & 1 deletion nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"type": "string",
"description": "Email for notification",
"format": "email",
"default": "yourmail@yourdomain"
"default": "yourmail@yourdomain.xyz"
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions params.config.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ params {
annotations = "$projectDir/test/GTF/*_annot-subsetted.gtf.gz"
alignmentnum = 1000
orthogroupnum = 500
extraexons = ""
bonafide_pairs = ""
orthopairs = ""
extraexons = null
bonafide_pairs = null
orthopairs = null
evodists = "$projectDir/test/evodists.txt"
long_dist = "2,0.10,0.40,0.15"
medium_dist = "2,0.30,0.60,0.20"
short_dist = "2,0.50,0.60,0.25"
prevaln = ""
prevaln = null
output = "$projectDir/output_test"
email = "yourmail@yourdomain"
email = "yourmail@yourdomain.xyz"
geneID = "ENSG00000159055"
output_plot = "$projectDir/output_plot"
relevant_exs = "chr21:32274830-32274896"
ordered_species= "hg38,mm10,bosTau9"
isoformID = "ENSP00000290130"
sub_orthologs = ""
sub_orthologs = null
}

0 comments on commit 450c62b

Please sign in to comment.