Closed FuyuLi closed 1 year ago
The error message indicates that the file resources/scenarios/nanopore_circle_scenario.yaml
does not exist.
Make sure that you call snakemake from the directory which contains the subdirectory named workflow/
, since that directory (basically the root of this git repository) should have the file named resources/scenarios/nanopore_circle_scenario.yaml
.
Also, make sure to follow the hints in the config.yaml
:
# if `path` is not set, name should just be "genome" atm.
name: "GRCh38_ref"
# Custom path overrides everything below that, if file exists
# (in that case, path must match "resources/" + name + ".fasta")
path: "/REFERENCE/GRCh38/genome/GRCh38_full_analysis_set_plus_decoy_hla.fa"
(This is sadly a bit unwieldy at the moment, sorry!)
That is: if you set the name to "GRCh38_ref", the actual file should be called "GRCh38_ref.fasta" and should be placed in the resources/
subdirectory.
Instead of copying/moving the reference there, you can of course also simply link it with ln -s /REFERENCE/GRCh38/genome/GRCh38_full_analysis_set_plus_decoy_hla.fa resources/GRCh38_ref.fasta
.
If that does not solve your issue or you encounter more problems, please let me know!
Thank you for your reply.
I modified the config file but I came across another error.
WorkflowError:
Failed to open source file /workdir/cyrcular-calling/workflow/rules/../envs/pigz.yaml
FileNotFoundError: [Errno 2] No such file or directory: '/workdir/cyrcular-calling/workflow/rules/../envs/pigz.yaml'
And I didn't find the pigz.yaml
file in this github repository.
We have released a new version of the workflow @FuyuLi (and now also have CI enabled such that issues such as the one you encountered with missing files should be detected during testing now). You will have to adapt your config and sample sheets slightly (see https://github.com/snakemake-workflows/cyrcular-calling/tree/main/.test for an example), though. I hope this resolves your issues. If it does not (or if you encounter new issues) feel free to re-open this issue or open a new issue!
Hello, I have problem running the snakemake.
The stdout/stderr looks like this:
My config files:
Could you please help me solve this issue? All the best, FuyuLi