Open cachedpotato opened 4 days ago
Hi @cachedpotato! Thanks for reaching out
P.S I've stated the version as 1.5.1 but the config file states I'm using 2.3.5.
Why specifying 1.5.1 ? That version is more than 2 years old
As stated before, both steps are in relation with checkpoints in count.smk. The pipeline apparently ignores rules that are not "directly" related to the checkpoint input/outputs. For example, running the command "snakemake --forceall -n --until symlink_selected_bam" gave me a DAG of 0 jobs.
The issue here is that you're using the testdataset without using the test config (.tests/config/simple_config.yaml) as stated in https://friendsofstrandseq.github.io/mosaicatcher-docs/latest/usage/
There is a condition in symlink_selected_bam
where the file is copied instead of symlinked when using the test dataset, to prevent issues related to relative path definitions.
Let me know if that solve your issue :)
P.S: Say Hi to Hyobin from the lab 👋
Hello,
Thank you for the help! Yeah I figured my config file would be the problem and while I've only tested the ashleys-qc pipeline part it seems to be working. Using a different dataset gave me a different error regarding an R script in the ASHLEYS pipeline which I put a pull request of (not sure if my fix is appropriate though - I'm quite new to all of the programs/models used in this pipeline).
Why specifying 1.5.1 ? That version is more than 2 years old
The bug report form only goes up to 1.5.1 iirc, hence why I had to specify as so.
Again thanks for the help! I'll send her your regards.
EDIT: I'm trying the second part (after ASHLEYS) of the pipeline using the test data but using .tests/config/simple_config_mosaicatcher.yaml gives me "FileNotFoundError: [Errno 2] No such file or directory: '.tests/data_CHR17/RPE-BM510/ploidy/ploidy_summary.txt'" error. I ran the pipeline using the following code:
snakemake \
--cores=6 \
--configfile .tests/config/simple_config_mosaicatcher.yaml \
--profile workflow/snakemake_profiles/mosaicatcher-pipeline/v8/local/conda/
Is there anything else I should do? I feel like I'm forgetting something but I can't seem to figure it out atm (I did remove the singularity argument since I don't use singularity, but ashleys pipeline worked fine without it).
Thanks and best regards.
Contact Details
chiwonchung98@gmail.com
What happened?
I've been tinkering with this pipeline for a few days but I cannot get it to work. I'm fairly new to Snakemake so I'm not exactly sure what's the problem but the core problem is that Snakemake seems to skip some rules that are either directly or indirectly related to rules that are related to two checkpoints:
I've used both snakemake v7 and v8, which lead to different errors.
using v7 gave me an error stating I do not have the input files of rule symlink_selected bam
using v8 gives me an error saying I do not have the files for checkpoint summarise_ploidy, specifically the output files of rule estimate_ploidy.
As stated before, both steps are in relation with checkpoints in count.smk. The pipeline apparently ignores rules that are not "directly" related to the checkpoint input/outputs. For example, running the command "snakemake --forceall -n --until symlink_selected_bam" gave me a DAG of 0 jobs.
P.S I've stated the version as 1.5.1 but the config file states I'm using 2.3.5.
Steps To Reproduce
Mosaicatcher-pipeline Version
1.5.1 (Default)
Command used
How did you run the pipeline?
Conda only
What did you use to run the pipeline? (local execution, HPC, cloud)
local
Pipeline configuration file
Relevant log output
Anything else?
Just in case this helps I've printed out the rule graph using snakemake -j 1 --forceall --rulegraph | dot -Tjpg rules.jpg
Also attached are the full log files:
log.txt log8.txt