Hi everyone,
I created a snake file to download GEO datasets, I get this error message
rule download:
output: downloads/GSE67311.tar
jobid: 0
/bin/sh: 1: 1: not found
Error submitting jobscript (exit code 127):
Will exit after finishing currently running jobs.
Exiting because a job execution failed. Look above for error message
put GH.R in the special scripts directory, a recent Snakemake invention, and don't use RScript. You don't have input so you'll need to rethink that snakemake@input syntax.
use Rscript GH.R {wildcards.sample} but instead use args = commandArgs(trailingOnly=TRUE).
Thank you, it did work this way. It downloaded one of the files and then had this error message, I increased the latency time and looked online for a solution, normally increase latency time solves the problem but it did not work for mine
MissingOutputException in line 5 of /mnt/d/metaa/snakefile.smk:
Job Missing files after 1000 seconds. This might be due to filesystem latency. If that is the case, consider to increase the wait time with --latency-wait:
/mnt/d/metaa/downloads/GSE67311.tar completed successfully, but some output files are missing. 2
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: .snakemake/log/2022-09-01T064501.006303.snakemake.log
You seem to be stabbing at making the Snakefile run instead of testing the individual compoennts. First run your
script in an R session. Then using the Rscript. Then try running the download rule with one file target. Then try your all.
still the same error message, here is what I did 1- moved to scripts folder, (NB. I am using wsl-2)
snake file
the R script
Did I do it right ?
probably it should be: