Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing slash in manifest.qc.csv #91

Open
clairedubin opened this issue Apr 3, 2024 · 0 comments
Open

Missing slash in manifest.qc.csv #91

clairedubin opened this issue Apr 3, 2024 · 0 comments

Comments

@clairedubin
Copy link

When running preprocess.nf on the anndata branch, with a results directory specified:

nextflow run ~/src/geneshot_anndata/modules/preprocess.nf --manifest manifest.csv --host_index hg_index.tar.gz --output results

The output post-qc manifest is missing a slash between the results directory and "qc":

specimen,R1,R2
sample_name,./resultsqc/sample_1__R1.noadapt.nohuman.fq.gz,./resultsqc/sample_2__R2.noadapt.nohuman.fq.gz

I think this can be fixed by changing line 313 here from:

return csvStr += "${row[0]},${params.output}qc/${row[1].name},${params.output}qc/${row[2].name}\n";

to:
return csvStr += "${row[0]},${params.output_folder}qc/${row[1].name},${params.output_folder}qc/${row[2].name}\n";

since params.output_folder always includes a trailing /

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant