Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
  • Loading branch information
avani-bhojwani and mashehu authored Jul 24, 2024
1 parent 7a93c64 commit 39c8688
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "object",
"definitions": {
"workflow_options": {
"title": "Workflow options",
"title": "Partial run options",
"type": "object",
"description": "",
"default": "",
Expand Down Expand Up @@ -76,23 +76,23 @@
},
"save_trimmed_fail": {
"type": "boolean",
"description": "Specify true to save files that failed to pass trimming thresholds ending in *.fail.fastq.gz"
"description": "Specify `true` to save files that failed to pass trimming thresholds ending in *.fail.fastq.gz"
},
"save_merged": {
"type": "boolean",
"description": "Specify true to save all merged reads to the a file ending in *.merged.fastq.gz"
},
"skip_fastp": {
"type": "boolean",
"description": "Skip the fastp process if true"
"description": "Skip the fastp process if `true`"
},
"skip_fastqc": {
"type": "boolean",
"description": "Skip FastQC processes if true"
},
"extra_fastp_args": {
"type": "string",
"description": "Extra arguements for fastp. For example, '--trim_front1 15 --trim_front2 15 --trim_tail1 5 --trim_tail2 5'"
"description": "Extra arguements for fastp. For example, `--trim_front1 15 --trim_front2 15 --trim_tail1 5 --trim_tail2 5{:bash}`"
}
},
"fa_icon": "fas fa-cut"
Expand Down Expand Up @@ -128,19 +128,19 @@
"assemblers": {
"type": "string",
"default": "trinity,rnaspades",
"description": "Assemblers to use. Possible options include \"trinity\", \"trinity_no_norm\" (trinity without normalized reads), and \"rnaspades\"."
"description": "Assemblers to use. Possible options include `trinity`, `trinity_no_norm` (trinity without normalized reads), and `rnaspades`."
},
"extra_trinity_args": {
"type": "string",
"description": "Extra arguments to pass to Trinity command in addition to defaults. Applies to both trinity and trinity_no_norm."
},
"soft_filtered_transcripts": {
"type": "boolean",
"description": "For including hard filtered transcripts (in addition to medium filtered transcripts) from rnaSPAdes in the input to EvidentialGene tr2aacds."
"description": "Include hard filtered transcripts (in addition to medium filtered transcripts) from rnaSPAdes in the input to EvidentialGene tr2aacds."
},
"hard_filtered_transcripts": {
"type": "boolean",
"description": "For including soft filtered transcripts (in addition to the medium filtered transcripts) from rnaSPAdes in the input to EvidentialGene tr2aacds."
"description": "Include soft filtered transcripts (in addition to the medium filtered transcripts) from rnaSPAdes in the input to EvidentialGene tr2aacds."
},
"ss": {
"type": "string",
Expand Down Expand Up @@ -168,7 +168,7 @@
"busco_lineage": {
"type": "string",
"default": "auto",
"description": "The BUSCO lineage to use, or \\\"auto\\\" to automatically select lineage\""
"description": "The BUSCO lineage to use, or `auto` to automatically select lineage"
},
"busco_lineages_path": {
"type": "string",
Expand Down Expand Up @@ -227,7 +227,7 @@
"lib_type": {
"type": "string",
"default": "A",
"description": "Override library type inferred based on strandedness defined in meta object. 'A' for auto."
"description": "Override library type inferred based on strandedness defined in meta object. `A` for auto."
}
},
"fa_icon": "fas fa-fish"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ workflow PIPELINE_COMPLETION {
def validateInputParameters() {

if ( params.qc_only && params.skip_assembly ) {
error("Incompatible parameters: cannot use --skip_assembly and --QC_only modes together.")
error("Incompatible parameters: cannot use --skip_assembly and --qc_only modes together.")
}

if ( params.skip_assembly && !params.transcript_fasta ) {
Expand Down

0 comments on commit 39c8688

Please sign in to comment.