Evangelos Karatzas
11/14/2025, 10:07 AMproteinfold_samplesheet = NFCORE_PROTEINFAMILIES.out.family_reps
.map { meta, file ->
[
id: meta.id,
fasta: file
]
}
publish:
proteinfold_samplesheet = proteinfold_samplesheet
This is my current output directive:
output {
proteinfold_samplesheet {
path { sample -> "proteinfold/${sample.id}/" }
mode params.publish_dir_mode
enabled !params.skip_proteinfold_samplesheet
index {
path 'proteinfold/samplesheet.csv'
header true
sep ','
}
}
}
It works fine but:
1. Can I also use sample.id somehow in the index? It keeps giving me errors whatever I tried. Otherwise two different runs will overwrite each other.
2. Can I turn off quoting in the index file that is created? currently it is like this:
"id","fasta"
"mgnifams_test","/path/to/results/proteinfold/mgnifams_test/mgnifams_test_reps.faa"Mahesh Binzer-Panchal
11/14/2025, 10:37 AM, aren't misinterpretted and spaces and special characters in file paths are treated correctly.Evangelos Karatzas
11/14/2025, 10:52 AMMahesh Binzer-Panchal
11/14/2025, 12:13 PMgroupTuple and pass input to a native process. Use the workflow.outputDir and publishing structure with the filenames to form the expected path to the files in the results folder, and then write them out to file to publish.Evangelos Karatzas
11/14/2025, 12:18 PMEvangelos Karatzas
11/14/2025, 12:18 PMBen Sherman
11/14/2025, 8:13 PMBen Sherman
11/14/2025, 8:14 PMEvangelos Karatzas
11/14/2025, 9:24 PMBen Sherman
11/14/2025, 10:12 PMEvangelos Karatzas
11/14/2025, 10:23 PMBen Sherman
11/15/2025, 7:48 PMEvangelos Karatzas
11/15/2025, 9:02 PMThomas Danhorn
11/17/2025, 1:30 AMEvangelos Karatzas
11/17/2025, 8:19 AM