Nextflow Parser Test Suite
================================================================================
Target directory: /Users/mrschre/devel/nf-core
Verbose mode: OFF
================================================================================

Finding Nextflow files...
Found 6241 files (.nf and .config)

Testing files...
--------------------------------------------------------------------------------
✗ atacseq/nextflow.config (328 lines, 11439 bytes)
  Errors: 1
    Line 301:48 - no viable alternative at input '{\n        try {
            if (obj.compareTo(params.max_memory as'
✗ bactmap/nextflow.config (214 lines, 7268 bytes)
  Errors: 1
    Line 187:48 - no viable alternative at input '{\n        try {
            if (obj.compareTo(params.max_memory as'
✗ cageseq/main.nf (1168 lines, 43664 bytes)
  Errors: 1
    Line 363:24 - no viable alternative at input '{\n    process convert_gtf {'
✗ cageseq/nextflow.config (193 lines, 5422 bytes)
  Errors: 1
    Line 166:42 - no viable alternative at input '{\n    try {
      if (obj.compareTo(params.max_memory as'
✗ callingcards/nextflow.config (306 lines, 10916 bytes)
  Errors: 1
    Line 279:48 - no viable alternative at input '{\n        try {
            if (obj.compareTo(params.max_memory as'
✗ callingcards/subworkflows/local/yeast/prepare_reads.nf (264 lines, 8118 bytes)
  Errors: 2
    Line 229:29 - no viable alternative at input 'def sortFilesBySplit(ArrayBag<'
    Line 232:12 - missing '}' at 'pattern'
✗ chipseq/nextflow.config (333 lines, 11804 bytes)
  Errors: 1
    Line 306:48 - no viable alternative at input '{\n        try {
            if (obj.compareTo(params.max_memory as'
✗ circdna/nextflow.config (323 lines, 11216 bytes)
  Errors: 1
    Line 296:48 - no viable alternative at input '{\n        try {
            if (obj.compareTo(params.max_memory as'
✗ clipseq/main.nf (1303 lines, 47289 bytes)
  Errors: 1
    Line 294:34 - no viable alternative at input '{\n    process generate_premap_index {'
✗ clipseq/nextflow.config (222 lines, 6003 bytes)
  Errors: 1
    Line 195:42 - no viable alternative at input '{\n    try {
      if (obj.compareTo(params.max_memory as'
✗ cutandrun/conf/modules.config (1048 lines, 40703 bytes)
  Errors: 3
    Line 362:115 - no viable alternative at input 'ext.args2 = { params.remove_mitochondrial_reads ? "-e 'rname != \"${params.genomes[params.genome]["mito_name'
    Line 363:14 - mismatched input 'else' expecting {'}', ';', NL}
    Line 373:8 - no viable alternative at input '\n        }'
✗ cutandrun/modules/local/python/igv_session.nf (72 lines, 1997 bytes)
  Errors: 3
    Line 21:89 - no viable alternative at input '('*.{txt,xml,bed,bigWig,fa,fai,fna,gtf,gff,narrowPeak,broadPeak,gz,tbi,bedGraph}','
    Line 21:104 - extraneous input ':' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'if', 'new', 'super', 'this', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '[', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier}
    Line 21:109 - extraneous input ')' expecting {'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'if', '}', ';', Identifier, CapitalizedIdentifier, NL}
✗ cutandrun/nextflow.config (383 lines, 15374 bytes)
  Errors: 1
    Line 356:44 - no viable alternative at input '{\n        try {
        if (obj.compareTo(params.max_memory as'
✗ denovotranscript/subworkflows/nf-core/fastq_trim_fastp_fastqc/main.nf (104 lines, 3814 bytes)
  Errors: 1
    Line 15:25 - missing '}' at 'new'
✗ diaproteomics/main.nf (1149 lines, 39606 bytes)
  Errors: 76
    Line 349:64 - no viable alternative at input ', file(raw_file), file(dda_id_file) from'
    Line 349:64 - extraneous input 'from' expecting {'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'if', '}', ';', Identifier, CapitalizedIdentifier, NL}
    Line 349:87 - extraneous input '.' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'if', 'new', 'super', 'this', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '[', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier}
    ... and 73 more errors
✗ diaproteomics/nextflow.config (244 lines, 7318 bytes)
  Errors: 1
    Line 217:42 - no viable alternative at input '{\n    try {
      if (obj.compareTo(params.max_memory as'
✗ differentialabundance/modules/nf-core/shinyngs/app/tests/nextflow.config (15 lines, 526 bytes)
  Errors: 3
    Line 6:31 - missing '{' at ':'
    Line 10:44 - missing '{' at ':'
    Line 13:4 - no viable alternative at input '\n    }'
✗ differentialabundance/nextflow.config (453 lines, 16959 bytes)
  Errors: 1
    Line 426:48 - no viable alternative at input '{\n        try {
            if (obj.compareTo(params.max_memory as'
✗ differentialabundance/workflows/differentialabundance.nf (662 lines, 25440 bytes)
  Errors: 3
    Line 191:26 - no viable alternative at input '{\n
        // We'll be running Proteus once per unique contrast variable to generate plots
        // TODO: there should probably be a separate plotting module in proteus to simplify this

        ch_contrast_variables = ch_contrasts_file
            .splitCsv ( header:true, sep:(params.contrasts.endsWith('tsv') ? '\t' : ','))
            .map{ it.tail().first() }
            .map{
                tuple('id':'
    Line 191:26 - no viable alternative at input '{ it.tail().first() }\n            .map{
                tuple('id':'
    Line 190:12 - no viable alternative at input '\n            .'
✗ dualrnaseq/main.nf (4671 lines, 169774 bytes)
  Errors: 1
    Line 756:26 - no viable alternative at input '{\n
\tscatter_plots_set
			.map { tag, file -> tag }
			.set {scatter_plots}

	process check_replicates {'
✗ dualrnaseq/nextflow.config (318 lines, 8839 bytes)
  Errors: 1
    Line 291:42 - no viable alternative at input '{\n    try {
      if (obj.compareTo(params.max_memory as'
✗ eager/main.nf (3618 lines, 156722 bytes)
  Errors: 1
    Line 187:27 - no viable alternative at input '{\n    process unzip_reference{'
✗ eager/nextflow.config (456 lines, 13588 bytes)
  Errors: 1
    Line 430:42 - no viable alternative at input '{\n    try {
      if (obj.compareTo(params.max_memory as'
✗ epitopeprediction/modules/local/mhcflurry/main.nf (60 lines, 1919 bytes)
  Errors: 1
    Line 11:21 - extraneous input '=' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'if', 'new', 'super', 'this', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '[', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier}
✗ fastqrepair/subworkflows/local/fastq_repair_wipertools/main.nf (84 lines, 3568 bytes)
  Errors: 3
    Line 17:28 - missing ':' at '{'
    Line 17:44 - missing '}' at '('
    Line 17:49 - missing ')' at ':'
✗ fastqrepair/subworkflows/local/utils_nfcore_fastqrepair_pipeline/main.nf (263 lines, 10236 bytes)
  Errors: 1
    Line 187:29 - no viable alternative at input '{\n        try (GZIPInputStream gis'
✗ fetchngs/nextflow.config (260 lines, 9364 bytes)
  Errors: 1
    Line 233:48 - no viable alternative at input '{\n        try {
            if (obj.compareTo(params.max_memory as'
✗ hgtseq/conf/test_full.config (46 lines, 1784 bytes)
  Errors: 1
    Line 46:0 - no viable alternative at input 'params {\n    config_profile_name        = 'Full test profile'
    config_profile_description = 'Full test dataset to check pipeline function'

params {
    config_profile_name        = 'Test profile'
    config_profile_description = 'Minimal test dataset to check pipeline function'

    // Limit resources so that this can run on GitHub Actions
    max_cpus   = 2
    max_memory = '8.GB'
    max_time   = '6.h'

    // Input data
    input  = 'https://raw.githubusercontent.com/nf-core/test-datasets/hgtseq/testdata/csv/input_aws_fastqs.csv'
    isbam  = false
    istest = true

    // Genome references
    igenomes_ignore = true
    fasta           = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/homo_sapiens/genome/chr21/sequence/genome.fasta'
    gff             = 'https://raw.githubusercontent.com/nf-core/test-datasets/hgtseq/testdata/reference/Homo_sapiens.hg38.chr21.gff3'

    // Classification databases
    krakendb = 'https://genome-idx.s3.amazonaws.com/kraken/k2_standard_16gb_20220926.tar.gz'
    kronadb  = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/sarscov2/metagenome/krona_taxonomy.tab'

    // reporting only if Human data
    taxonomy_id = "9606"
}

'
✗ hgtseq/nextflow.config (279 lines, 9471 bytes)
  Errors: 1
    Line 252:48 - no viable alternative at input '{\n        try {
            if (obj.compareTo(params.max_memory as'
✗ hic/nextflow.config (345 lines, 10893 bytes)
  Errors: 1
    Line 318:48 - no viable alternative at input '{\n        try {
            if (obj.compareTo(params.max_memory as'
✗ hicar/nextflow.config (274 lines, 9925 bytes)
  Errors: 1
    Line 247:48 - no viable alternative at input '{\n        try {
            if (obj.compareTo(params.max_memory as'
✗ hicar/subworkflows/local/preparegenome.nf (153 lines, 5634 bytes)
  Errors: 2
    Line 85:43 - no viable alternative at input '{\n        //genome size remove all N
        // ref:https://github.com/macs3-project/MACS/issues/299
        // https://deeptools.readthedocs.io/en/latest/content/feature/effectiveGenomeSize.html method 1
        genome_size = ch_fasta.splitFasta( record'
    Line 85:43 - mismatched input 'record' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'new', 'super', 'this', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '[', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier}
✗ imcyto/main.nf (570 lines, 23325 bytes)
  Errors: 2
    Line 306:20 - no viable alternative at input '{\n    process ILASTIK {'
    Line 344:0 - no viable alternative at input '\n}'
✗ imcyto/nextflow.config (144 lines, 4292 bytes)
  Errors: 1
    Line 117:42 - no viable alternative at input '{\n    try {
      if (obj.compareTo(params.max_memory as'
✗ isoseq/nextflow.config (301 lines, 10690 bytes)
  Errors: 1
    Line 274:48 - no viable alternative at input '{\n        try {
            if (obj.compareTo(params.max_memory as'
line 1405:103 token recognition error at: '\'
✗ kmermaid/main.nf (1634 lines, 64434 bytes)
  Errors: 1
    Line 662:33 - no viable alternative at input '{\n  // Only use this for sourmash sketches, not split k-mer sketches
  /*
   * Validate sketch sizes
   */
  process validate_sketch_values {'
✗ kmermaid/nextflow.config (219 lines, 6459 bytes)
  Errors: 1
    Line 193:42 - no viable alternative at input '{\n    try {
      if (obj.compareTo(params.max_memory as'
✗ magmap/modules/local/collect/featurecounts/main.nf (87 lines, 2772 bytes)
  Errors: 4
    Line 9:4 - no viable alternative at input '"${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?\n        'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/a0/a04c5424ce6fbf346430d99ae9f72d0bbb90e3a5cf4096df32fc1716f03973a4/data' :
        'community.wave.seqera.io/library/r-base_r-data.table_r-dplyr_r-dtplyr_pruned:a6608bc81b0e6546'
    }'
    Line 6:43 - extraneous input '==' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'if', 'new', 'super', 'this', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '[', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier}
    Line 9:5 - extraneous input '"' expecting {<EOF>, ';', NL}
    ... and 1 more errors
✗ magmap/modules/local/collect/stats/main.nf (162 lines, 5483 bytes)
  Errors: 4
    Line 9:4 - no viable alternative at input '"${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?\n        'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/a0/a04c5424ce6fbf346430d99ae9f72d0bbb90e3a5cf4096df32fc1716f03973a4/data' :
        'community.wave.seqera.io/library/r-base_r-data.table_r-dplyr_r-dtplyr_pruned:a6608bc81b0e6546'
    }'
    Line 6:43 - extraneous input '==' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'if', 'new', 'super', 'this', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '[', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier}
    Line 9:5 - extraneous input '"' expecting {<EOF>, ';', NL}
    ... and 1 more errors
✗ magmap/modules/local/prokkagff2tsv/main.nf (69 lines, 2272 bytes)
  Errors: 4
    Line 9:4 - no viable alternative at input '"${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?\n        'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/a0/a04c5424ce6fbf346430d99ae9f72d0bbb90e3a5cf4096df32fc1716f03973a4/data' :
        'community.wave.seqera.io/library/r-base_r-data.table_r-dplyr_r-dtplyr_pruned:a6608bc81b0e6546'
    }'
    Line 6:43 - extraneous input '==' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'if', 'new', 'super', 'this', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '[', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier}
    Line 9:5 - extraneous input '"' expecting {<EOF>, ';', NL}
    ... and 1 more errors
✗ magmap/modules/local/tidyverse/joinmetadata/main.nf (154 lines, 5644 bytes)
  Errors: 4
    Line 9:4 - no viable alternative at input '"${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?\n        'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/a0/a04c5424ce6fbf346430d99ae9f72d0bbb90e3a5cf4096df32fc1716f03973a4/data' :
        'community.wave.seqera.io/library/r-base_r-data.table_r-dplyr_r-dtplyr_pruned:a6608bc81b0e6546'
    }'
    Line 6:43 - extraneous input '==' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'if', 'new', 'super', 'this', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '[', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier}
    Line 9:5 - extraneous input '"' expecting {<EOF>, ';', NL}
    ... and 1 more errors
✗ marsseq/nextflow.config (275 lines, 9527 bytes)
  Errors: 1
    Line 248:48 - no viable alternative at input '{\n        try {
            if (obj.compareTo(params.max_memory as'
line 134:31 token recognition error at: '$'
line 172:31 token recognition error at: '$'
line 311:30 token recognition error at: '$'
line 327:30 token recognition error at: '$'
line 346:38 token recognition error at: '$'
✗ metaboigniter/nextflow.config (505 lines, 23675 bytes)
  Errors: 1
    Line 478:48 - no viable alternative at input '{\n        try {
            if (obj.compareTo(params.max_memory as'
✗ metapep/modules/local/collect_stats.nf (44 lines, 1686 bytes)
  Errors: 1
    Line 24:8 - missing ':' at 'score_threshold'
✗ metatdenovo/conf/modules.config (445 lines, 13741 bytes)
  Errors: 1
    Line 388:21 - extraneous input ':' expecting {'}', ';', NL}
✗ mhcquant/conf/base.config (62 lines, 2142 bytes)
  Errors: 3
    Line 57:39 - no viable alternative at input 'cpus   = { 1     * task.attempt,'
    Line 58:39 - no viable alternative at input 'memory = { 10.GB * task.attempt,'
    Line 59:39 - no viable alternative at input 'time   = { 16.h  * task.attempt,'
✗ mhcquant/conf/modules.config (486 lines, 15979 bytes)
  Errors: 24
    Line 109:78 - no viable alternative at input 'ext.args    = { [\n            (params.default_params_file_comet != " ") ? "-default_params_file ${params.default_params_file_comet}" : "",
            "-pin_out ${mzml.baseName}_pin.tsv",
            "-instrument ${params.instrument}",
            "-spectrum_batch_size ${params.spectrum_batch_size}",
            "-activation_method ${params.activation_method}",
            "-precursor_mass_tolerance ${params.precursor_mass_tolerance}",
            "-precursor_error_units ${params.precursor_error_units}",
            "-fragment_mass_tolerance ${params.fragment_mass_tolerance}",
            "-fragment_bin_offset ${params.fragment_bin_offset}",
            "-num_hits ${params.num_hits}",
            "-digest_mass_range ${params.digest_mass_range}",
            "-max_variable_mods_in_peptide ${params.number_mods}",
            "-missed_cleavages 0",
            "-precursor_charge ${params.prec_charge}",
            "-fixed_modifications ${params.fixed_mods.tokenize(',').collect {"'${it}''
    Line 95:119 - extraneous input ',' expecting {'}', ';', NL}
    Line 96:47 - extraneous input ',' expecting {'}', ';', NL}
    ... and 21 more errors
✗ mhcquant/modules/local/ms2rescore/main.nf (57 lines, 1864 bytes)
  Errors: 1
    Line 11:21 - extraneous input '=' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'if', 'new', 'super', 'this', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '[', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier}
✗ mnaseseq/main.nf (1760 lines, 73034 bytes)
  Errors: 1
    Line 331:21 - no viable alternative at input '{\n    process BWAIndex {'
✗ mnaseseq/nextflow.config (195 lines, 5436 bytes)
  Errors: 1
    Line 168:42 - no viable alternative at input '{\n    try {
      if (obj.compareTo(params.max_memory as'
✗ multiplesequencealign/conf/modules.config (321 lines, 12909 bytes)
  Errors: 2
    Line 179:18 - extraneous input ':' expecting {'}', ';', NL}
    Line 320:4 - no viable alternative at input '\n    }'
✗ multiplesequencealign/subworkflows/local/utils_nfcore_multiplesequencealign_pipeline/main.nf (837 lines, 32763 bytes)
  Errors: 2
    Line 341:21 - no viable alternative at input 'def saveMapToCsv(List<'
    Line 365:0 - no viable alternative at input '\n}'
✗ multiplesequencealign/workflows/multiplesequencealign.nf (431 lines, 15252 bytes)
  Errors: 3
    Line 150:31 - no viable alternative at input '{\n
        // *****************************************
        // Get the structures into a channel.
        // If the folder is compressed, decompress
        // *****************************************
        if(params.pdbs_dir.endsWith('.tar.gz')){

            pdbs_dir = Channel.fromPath(params.pdbs_dir)
                                        .map { it -> [[id: it.baseName],it] }

            UNTAR (pdbs_dir)
                .untar
                .map { meta, dir -> [ file(dir).listFiles() ] }
                .flatten()
                .set{ optional_data_to_be_mapped }
            ch_versions = ch_versions.mix(UNTAR.out.versions)

        }
        // otherwise, directly use the optional_data within the folder
        else {
            optional_data_to_be_mapped = Channel.fromPath(params.pdbs_dir+"/**")
        }



        // ******************************************************************
        // If the sequences are not provided, extract the fasta from the pdb
        // otherwise, map the optional_data to the sequence IDs provided by the
        // various fasta files
        // *****************************************************************
        if(!params.seqs) {
            optional_data_to_be_mapped
                .map { it -> [ [ id: params.pdbs_dir.split("/")[-1].split("\\.")[0] ], it ] }
                .groupTuple(by: 0)
                .set { ch_optional_data }

        } else {
            // Identify the sequence IDs from the input fasta file(s)
            ch_seqs.splitFasta(record'
    Line 150:31 - no viable alternative at input '{\n            // Identify the sequence IDs from the input fasta file(s)
            ch_seqs.splitFasta(record'
    Line 150:31 - mismatched input 'record' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'new', 'super', 'this', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '[', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier}
✗ nanoseq/nextflow.config (286 lines, 9753 bytes)
  Errors: 1
    Line 259:48 - no viable alternative at input '{\n        try {
            if (obj.compareTo(params.max_memory as'
✗ nascent/subworkflows/local/transcript_identification/main.nf (119 lines, 5115 bytes)
  Errors: 2
    Line 52:20 - no viable alternative at input '\n        .splitFasta(record'
    Line 52:20 - mismatched input 'record' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'new', 'super', 'this', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '[', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier}
✗ oncoanalyser/subworkflows/local/cobalt_profiling/main.nf (106 lines, 3941 bytes)
  Errors: 6
    Line 58:48 - no viable alternative at input '\n        .mix(
            ch_inputs_sorted.runnable_tn.map { [*'
    Line 58:45 - missing ')' at '{'
    Line 58:51 - extraneous input ',' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', BuiltInPrimitiveType, 'assert', 'break', 'continue', 'do', 'final', 'for', 'if', 'new', 'return', 'super', 'switch', 'this', 'throw', 'try', 'while', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '}', '[', ';', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier, NL}
    ... and 3 more errors
✗ oncoanalyser/subworkflows/local/cuppa_prediction/main.nf (152 lines, 5191 bytes)
  Errors: 4
    Line 46:19 - missing '}' at '['
    Line 46:26 - missing ']' at '*'
    Line 46:33 - extraneous input ']' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', BuiltInPrimitiveType, 'assert', 'break', 'continue', 'do', 'final', 'for', 'if', 'new', 'return', 'super', 'switch', 'this', 'throw', 'try', 'while', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '}', '[', ';', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier, NL}
    ... and 1 more errors
✗ oncoanalyser/subworkflows/local/esvee_calling/main.nf (123 lines, 4515 bytes)
  Errors: 6
    Line 61:48 - no viable alternative at input '\n        .mix(
            ch_inputs_sorted.runnable_tn,
            ch_inputs_sorted.runnable_to.map { [*'
    Line 61:45 - missing ')' at '{'
    Line 61:51 - extraneous input ',' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', BuiltInPrimitiveType, 'assert', 'break', 'continue', 'do', 'final', 'for', 'if', 'new', 'return', 'super', 'switch', 'this', 'throw', 'try', 'while', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '}', '[', ';', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier, NL}
    ... and 3 more errors
✗ oncoanalyser/subworkflows/local/lilac_calling/main.nf (228 lines, 8538 bytes)
  Errors: 20
    Line 76:42 - no viable alternative at input '{\n
        // Flatten into BAM/BAI pairs, select inputs that are eligible to run
        // channel: runnable: [ meta_extra, bam, bai ]
        // channel: skip: [ meta_extra ]
        ch_realign_inputs_sorted = ch_dna_inputs_sorted.runnable
            .flatMap { meta, tumor_bam, tumor_bai, normal_bam, normal_bai ->

                def tumor_sample_id = Utils.hasTumorDna(meta) ? Utils.getTumorDnaSampleName(meta) : []
                def normal_sample_id = Utils.hasNormalDna(meta) ? Utils.getNormalDnaSampleName(meta) : []

                return [
                    [[key: meta.group_id, *'
    Line 75:23 - missing '}' at '['
    Line 76:42 - no viable alternative at input '[[key: meta.group_id, *'
    ... and 17 more errors
✗ oncoanalyser/subworkflows/local/neo_prediction/main.nf (219 lines, 7659 bytes)
  Errors: 5
    Line 55:19 - missing '}' at '['
    Line 55:26 - missing ']' at '*'
    Line 55:33 - extraneous input ']' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', BuiltInPrimitiveType, 'assert', 'break', 'continue', 'do', 'final', 'for', 'if', 'new', 'return', 'super', 'switch', 'this', 'throw', 'try', 'while', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '}', '[', ';', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier, NL}
    ... and 2 more errors
✗ oncoanalyser/subworkflows/local/orange_reporting/main.nf (266 lines, 11876 bytes)
  Errors: 7
    Line 125:19 - missing '}' at '['
    Line 125:26 - missing ']' at '*'
    Line 125:42 - extraneous input ']' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', BuiltInPrimitiveType, 'assert', 'break', 'continue', 'do', 'final', 'for', 'if', 'new', 'return', 'super', 'switch', 'this', 'throw', 'try', 'while', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '}', '[', ';', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier, NL}
    ... and 4 more errors
✗ oncoanalyser/subworkflows/local/purple_calling/main.nf (142 lines, 5516 bytes)
  Errors: 5
    Line 68:19 - missing '}' at '['
    Line 68:26 - missing ']' at '*'
    Line 68:33 - extraneous input ']' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', BuiltInPrimitiveType, 'assert', 'break', 'continue', 'do', 'final', 'for', 'if', 'new', 'return', 'super', 'switch', 'this', 'throw', 'try', 'while', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '}', '[', ';', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier, NL}
    ... and 2 more errors
✗ oncoanalyser/subworkflows/local/read_alignment_dna/main.nf (246 lines, 8407 bytes)
  Errors: 9
    Line 122:28 - no viable alternative at input '{\n
        ch_fastqs_ready = FASTP.out.fastq
            .flatMap { meta_fastq, reads_fwd, reads_rev ->

                def data = [reads_fwd, reads_rev]
                    .transpose()
                    .collect { fwd, rev ->

                        def split_fwd = fwd.name.replaceAll('\\..+$', '')
                        def split_rev = rev.name.replaceAll('\\..+$', '')

                        assert split_fwd == split_rev

                        // NOTE(SW): split allows meta_fastq_ready to be unique, which is required during reunite below
                        def meta_fastq_ready = [
                            *'
    Line 113:29 - missing '}' at '{'
    Line 122:28 - no viable alternative at input '[\n                            *'
    ... and 6 more errors
✗ oncoanalyser/subworkflows/local/read_alignment_rna/main.nf (213 lines, 6389 bytes)
  Errors: 7
    Line 65:16 - no viable alternative at input '[\n                *'
    Line 65:17 - extraneous input ':' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'new', 'super', 'this', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '[', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier}
    Line 65:28 - extraneous input ',' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', BuiltInPrimitiveType, 'assert', 'break', 'continue', 'do', 'final', 'for', 'if', 'new', 'return', 'super', 'switch', 'this', 'throw', 'try', 'while', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '}', '[', ';', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier, NL}
    ... and 4 more errors
✗ oncoanalyser/subworkflows/local/teal_characterisation/main.nf (162 lines, 6492 bytes)
  Errors: 4
    Line 86:39 - missing ']' at '*'
    Line 86:47 - extraneous input ']' expecting '}'
    Line 96:39 - missing ']' at '*'
    ... and 1 more errors
✗ oncoanalyser/subworkflows/local/virusbreakend_calling/main.nf (157 lines, 5280 bytes)
  Errors: 5
    Line 103:19 - missing '}' at '['
    Line 103:26 - missing ']' at '*'
    Line 103:33 - extraneous input ']' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', BuiltInPrimitiveType, 'assert', 'break', 'continue', 'do', 'final', 'for', 'if', 'new', 'return', 'super', 'switch', 'this', 'throw', 'try', 'while', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '}', '[', ';', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier, NL}
    ... and 2 more errors
✗ pairgenomealign/conf/modules.config (151 lines, 5316 bytes)
  Errors: 2
    Line 35:42 - no viable alternative at input 'ext.args = { "${params.softmask=="tantan'
    Line 150:0 - no viable alternative at input '\n
}'
✗ pangenome/conf/modules.config (469 lines, 17022 bytes)
  Errors: 1
    Line 56:4 - missing '}' at 'if'
✗ pathogensurveillance/subworkflows/local/call_variants/main.nf (121 lines, 5260 bytes)
  Errors: 8
    Line 37:21 - no viable alternative at input '{ combined_meta, sample_meta, bam, bai, ref, fai, dict ->\n            [combined_meta, ref]
        }
        .splitFasta( record'
    Line 34:28 - extraneous input ',' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', BuiltInPrimitiveType, 'assert', 'break', 'continue', 'do', 'final', 'for', 'if', 'new', 'return', 'super', 'switch', 'this', 'throw', 'try', 'while', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '}', '[', ';', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier, NL}
    Line 34:41 - extraneous input ',' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', BuiltInPrimitiveType, 'assert', 'break', 'continue', 'do', 'final', 'for', 'if', 'new', 'return', 'super', 'switch', 'this', 'throw', 'try', 'while', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '}', '[', ';', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier, NL}
    ... and 5 more errors
✗ phaseimpute/conf/steps/panel_prep.config (197 lines, 7456 bytes)
  Errors: 2
    Line 89:61 - no viable alternative at input 'ext.prefix = { "${meta.id}_${meta.chunk.replace(':',"_'
    Line 196:0 - no viable alternative at input '\n
}'
✗ phaseimpute/conf/steps/simulation.config (65 lines, 2795 bytes)
  Errors: 3
    Line 41:53 - no viable alternative at input 'ext.prefix = { "${meta1.id}_C${meta1.chr ?: "all'
    Line 42:44 - no viable alternative at input 'tag = {"${meta1.id} ${meta1.chr ?: "all'
    Line 43:4 - no viable alternative at input '\n    }'
✗ phaseimpute/subworkflows/local/vcf_phase_shapeit5/tests/nextflow.config (11 lines, 369 bytes)
  Errors: 2
    Line 8:61 - no viable alternative at input 'ext.prefix = { "${meta.id}_${meta.chunk.replace(':',"_'
    Line 10:0 - no viable alternative at input '\n}'
✗ pixelator/conf/modules.config (404 lines, 16273 bytes)
  Errors: 4
    Line 101:35 - no viable alternative at input 'ext.args = {\n            [
                "--design ${meta.design}",
                (params.trim_front instanceof'
    Line 101:35 - mismatched input 'instanceof' expecting {'.', NL}
    Line 102:34 - mismatched input 'instanceof' expecting {'.', NL}
    ... and 1 more errors
✗ pixelator/conf/modules.pna.config (263 lines, 12048 bytes)
  Errors: 6
    Line 49:44 - no viable alternative at input 'ext.args   = {\n            [
                params.pna_demux_mismatches instanceof'
    Line 49:44 - extraneous input 'instanceof' expecting {<EOF>, 'includeConfig', 'params', 'process', 'workflow', 'docker', 'singularity', 'conda', 'executor', 'manifest', 'profiles', 'timeline', 'report', 'trace', 'dag', 'tower', 'workDir', 'resume', 'withName', 'withLabel', 'def', 'in', BuiltInPrimitiveType, 'catch', 'else', 'final', 'finally', 'if', 'new', 'return', 'this', 'try', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', StringLiteral, '(', ')', '{', '}', '[', ']', ';', ',', '.', '=', '>', '<', '!', '~', '?', ':', '==', '<=', '>=', '!=', '&&', '||', '+', '-', '*', '/', '&', '|', '^', '%', '**', '?:', '->', '..', '..<', '+=', '-=', '*=', '/=', '&=', '|=', '^=', '%=', '?=', '**=', Identifier, CapitalizedIdentifier, NL}
    Line 49:55 - no viable alternative at input 'Integer'
    ... and 3 more errors
✗ pixelator/modules/local/pixelator/single-cell-pna/collapse/main.nf (75 lines, 2166 bytes)
  Errors: 5
    Line 5:31 - extraneous input ':' expecting {'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'if', '}', ';', Identifier, CapitalizedIdentifier, NL}
    Line 9:14 - extraneous input '"' expecting {'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'if', '}', ';', Identifier, CapitalizedIdentifier, NL}
    Line 9:42 - extraneous input '==' expecting {StringLiteral, GStringBegin, TdqGStringBegin, 'as', 'def', 'in', 'trait', 'var', 'process', 'workflow', 'task', 'from', 'params', 'input', 'output', 'script', 'shell', 'exec', 'when', 'stub', 'take', 'emit', 'main', 'publish', 'val', 'file', 'path', 'env', 'stdin', 'stdout', 'tuple', 'each', 'if', 'new', 'super', 'this', IntegerLiteral, FloatingPointLiteral, BooleanLiteral, 'null', '(', '{', '[', '!', '~', '++', '--', '+', '-', Identifier, CapitalizedIdentifier}
    ... and 2 more errors
