Skip to content

Commit

Permalink
upgrade schema
Browse files Browse the repository at this point in the history
  • Loading branch information
toniher committed Oct 18, 2024
1 parent 8bc2c08 commit 421a94c
Showing 1 changed file with 84 additions and 11 deletions.
95 changes: 84 additions & 11 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,23 @@
"description": "Schema for the parameters of your ExOrthist pipeline",
"type": "object",
"$defs": {
"generic_options": {
"title": "Generic Options",
"type": "object",
"description": "",
"default": "",
"properties": {
"resume": {
"type": "string",
"description": "Convenient param for detecting resume mistake"
},
"wf": {
"type": "string",
"description": "Workflow to be run, by default the main one. Alternative is plot",
"default": "main"
}
}
},
"input_output_options": {
"title": "Input/Output Options",
"type": "object",
Expand All @@ -18,22 +35,26 @@
"annotations": {
"type": "string",
"description": "Path to GTF annotation files",
"format": "file-path"
"format": "file-path",
"default": "./test/GTF/*_annot-subsetted.gtf.gz"
},
"genomes": {
"type": "string",
"description": "Path to fasta genome files",
"format": "file-path"
"format": "file-path",
"default": "./test/GENOMES/*_gDNA-subsetted.fasta.gz"
},
"cluster": {
"type": "string",
"description": "Path to cluster file (txt files)",
"format": "file-path"
"format": "file-path",
"default": "./test/hg38_mm10_bosTau9.tab"
},
"output": {
"type": "string",
"description": "Output folder path",
"format": "directory-path"
"format": "directory-path",
"default": "./output_test"
}
}
},
Expand All @@ -50,31 +71,37 @@
"evodists": {
"type": "string",
"description": "Path to a file with pairwise evolutionary distances",
"format": "file-path"
"format": "file-path",
"default": "./test/evodists.txt"
},
"long_dist": {
"type": "string",
"description": "Long distance parameters"
"description": "Long distance parameters",
"default": "2,0.10,0.40,0.15"
},
"medium_dist": {
"type": "string",
"description": "Medium distance parameters"
"description": "Medium distance parameters",
"default": "2,0.30,0.60,0.20"
},
"short_dist": {
"type": "string",
"description": "Short distance parameters"
"description": "Short distance parameters",
"default": "2,0.50,0.60,0.25"
},
"prevaln": {
"type": "string",
"description": "Pre-computed alignments"
},
"alignmentnum": {
"type": "integer",
"description": "Alignment number"
"description": "Alignment number",
"default": 1000
},
"orthogroupnum": {
"type": "integer",
"description": "Orthogroup number"
"description": "Orthogroup number",
"default": 500
}
}
},
Expand All @@ -99,19 +126,62 @@
}
}
},
"plot_parameters": {
"title": "Plot parameters",
"type": "object",
"description": "Specific parameters for generating plots",
"default": "",
"properties": {
"geneID": {
"type": "string",
"description": "Gene ID",
"default": "ENSG00000159055"
},
"ordered_species": {
"type": "string",
"description": "List of ordered species, separated by commas",
"default": "hg38,mm10,bosTau9"
},
"relevant_exs": {
"type": "string",
"description": "Relevant exons",
"default": "chr21:32274830-32274896"
},
"isoformID": {
"type": "string",
"description": "Isoform ID",
"default": "ENSP00000290130"
},
"sub_orthologs": {
"type": "string",
"description": "File with sub-orthologs information",
"format": "file-path"
},
"output_plot": {
"type": "string",
"description": "Path where to store resulting plot",
"format": "file-path",
"default": "./output_plot"
}
}
},
"notification_options": {
"title": "Notification Options",
"type": "object",
"properties": {
"email": {
"type": "string",
"description": "Email for notification",
"format": "email"
"format": "email",
"default": "yourmail@yourdomain"
}
}
}
},
"allOf": [
{
"$ref": "#/$defs/generic_options"
},
{
"$ref": "#/$defs/input_output_options"
},
Expand All @@ -121,6 +191,9 @@
{
"$ref": "#/$defs/additional_data"
},
{
"$ref": "#/$defs/plot_parameters"
},
{
"$ref": "#/$defs/notification_options"
}
Expand Down

0 comments on commit 421a94c

Please sign in to comment.