AS module, only run rules after AberrantSplicing_pipeline_FRASER_05_fit_autoencoder_FraseR_R #373
-
Hi, I'm using the DROP pipeline for about 100 samples. Module AS ran successfully all the way till AberrantSplicing_pipeline_FRASER_05_fit_autoencoder_FraseR_R, but was killed at this step due to insufficient memory allocation. Restarting snakemake with "snakemake aberrantSplicing -n" shows that the pipeline ignores all the previous output and starts from the beginning. Is there a way to run only AberrantSplicing_pipeline_FRASER_05_fit_autoencoder_FraseR_R and it's dependent rules? Have tried -R and --until, but not getting the expected result. -R + --until shows that the pipeline will ignore all previous results, runs all the rules till FRASER_05, -R or --until shows missing input for rule readme_md. Touching the readme_md file causes the pipeline to run but it still ignores all the existing results and start from the beginning. I'm using version 1.2.2 and everything is run on the HPC with slurm. Would appreciate any suggestions on this. Thanks in advance! -Wanqing |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Sorry for missing your post, in the future please use https://github.com/gagneurlab/drop/issues for specific problems. As for why
|
Beta Was this translation helpful? Give feedback.
-
I dug into it a little bit. Because when FRASER is run it updates the internal files, snakemake is recognizing these as different input. As a result it says the input has changed and would like to start at the beginning. We can get around this, by telling snakemake that we don't care if the input changes (generally a bad idea!) If you are 100% sure that everything is identical, and all you want to do is restart from the rule
This should trigger the jobs you'd like to run. |
Beta Was this translation helpful? Give feedback.
I dug into it a little bit. Because when FRASER is run it updates the internal files, snakemake is recognizing these as different input. As a result it says the input has changed and would like to start at the beginning. We can get around this, by telling snakemake that we don't care if the input changes (generally a bad idea!)
If you are 100% sure that everything is identical, and all you want to do is restart from the rule
AberrantSplicing_pipeline_FRASER_05_fit_autoencoder_FraseR_R
you can do the following command, where are your cluster or additional snakemake commands. This will say only care about the underlying code that is generating these rules, and snakemake will ignore the inpu…