genepi / mtdna-server-2

mtDNA-Server 2: A web-service and Nextflow pipeline for mitochondrial genomes
MIT License
8 stars 0 forks source link

ERROR ~ Unable to parse config file: '/media/manish/Data/Jyoti_Mridha_AIC/Program/mtdna-server-2-2.1.14/nextflow.config' #26

Open Jyoti-Mridha opened 1 day ago

Jyoti-Mridha commented 1 day ago

Hi, I am trying to run mtdna server by installing it offline, however i am using nextflow first time. i am able to install the process but encountered with the error:

ERROR ~ Unable to parse config file: '/media/manish/Data/Jyoti_Mridha_AIC/Program/mtdna-server-2-2.1.14/nextflow.config'

Compile failed for sources FixedSetSources[name='/groovy/script/ScriptCD8527BD770404BAF3BD56A125C65898/_nf_config_96d941a1']. Cause: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: /groovy/script/ScriptCD8527BD770404BAF3BD56A125C65898/_nf_config_96d941a1: 15: Number ending with underscores is invalid @ line 15, column 87 @ line 15, column 87. idha_AIC/Nanopore_Sequencing/1_FINAL_NAN ^

1 error

-- Check '.nextflow.log' file for details

=>> The command which i am using is : sudo nextflow run genepi/mtdna-server-2 -r v2.1.14 -c nextflow.config -profile docker

=>> However i only made the changes in nextflow.config file, and the changes which i made is below: project = barcode17 output = /media/manish/Data/Jyoti_Mridha_AIC/Nanopore_Sequencing/1_FINAL_NANOPORE/Batch1_3runs/1_minimap2_freebayes_Final/Direct_minimap/Structural_Variants/mtdna/ project_date = "18-09-2024" files = /media/manish/Data/Jyoti_Mridha_AIC/Nanopore_Sequencing/1_FINAL_NANOPORE/Batch1_Barcode_Aug_reanalysed/Bam/barcode17_sorted.bam reference = "rcrs" mode = "mutserve" detection_limit = 0.01
mapQ = 20 baseQ = 20 alignQ = 30 coverage_estimation = "on" max_samples = 0 subsampling = "off" subsampling_coverage = 2000

*** Any suggestion how to tackle the issue will be great help. Thank you in advance

lukfor commented 1 day ago

Hi, please make sure to set the value of project, output and files under quotes.

For example, for the project, you can set it as:

project= "barcode17"
output = "/media/manish/Data/Jyoti_Mridha_AIC/Nanopore_Sequencing/1_FINAL_NANOPORE/Batch1_3runs/1_minimap2_freebayes_Final/Direct_minimap/Structural_Variants/mtdna/"
project_date = "18-09-2024"
files = "/media/manish/Data/Jyoti_Mridha_AIC/Nanopore_Sequencing/1_FINAL_NANOPORE/Batch1_Barcode_Aug_reanalysed/Bam/barcode17_sorted.bam"