-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When running the CDCgov/mycosnp-nf v 1.4 pipeline in the cloud (AWS-Batch through Nextflow-tower) an error is raised due to not being able to find the custom scripts used in local modules (i.e. no such file or directory).
I believe this is happening, because $projectDir is used as part of the file path for these scripts. Locally this would be fine.
Describe the solution you'd like
A clear and concise description of what you want to happen.
A potential solution for this issue could be:
- Move all custom scripts to the bin folder, if not there already
- move scripts and contents of broad-vcf-filter folder up one directory into the bin folder. - Execute scripts by name (i.e. qc_report_stats.py) in local modules instead of using python command and path to script (i.e. $projectDir/bin/qc_report_stats.py).
- Update any instances of changed file paths for custom scripts.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
This possible solution works locally and in the cloud with aws-batch.
I can submit a PR with these changes if this makes sense.
Please reach out if there is a better solution to this issue and if there is a reason for the current way the custom scripts are called in local modules.
Thanks and sincerely,
CJ