-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble getting started with Quickstart #104
Comments
Shorter issues are helpful, as there are a couple of threads going on here. I'll address what seems to be the overarching issue. In #101 @stephenturner suggested removing This quick start assumes folks are familiar with environment variables and command line flags, so they'll recognize that all of the code blocks given are command line commands that should be copied and pasted onto the command line. I can add a note to the top that everything is bash commands. |
Your questions about targets are covered on the Running Workflows page. The quick start page is intended to be a "I know what I need to do, just give me the commands" guide. The other pages are better for "I'm not sure what's going on, please give me the 10,000 foot view". From the top of the page:
|
Regarding Snakemake flags - questions about flags are addressed by the link to "Executing Snakemake" page in Snakemake's documentation. This link is on the first section of the quickstart page:
This page links to a full list of command line flags, plus a table explaining what each one means: |
Hi Nicolette, thanks for testing this, and let's keep track of what operating system you are using with each issue. I believe this issue was identified on Red Hat? Please let us know if you are able to reproduce the same errors on an Ubuntu OS. |
I am having trouble successfully kicking off any commands after running through the Quick Start and The Really Quick Copy-And-Paste Quick Start. Specifically I have to following questions:
It is not clear what to do with the SINGULARITY_BINDPATH=”data:/data described in the documentation. Does this simply go on the command line when I execute the rest of the command?
At the end of “how do I specify my datafiles” , “how do I specify my workflow configuration”, and “how do I specify my workflow parameters” there is an example to run each of these, . However, there is no clear conclusion to this section is we can execute all these flags together. Do we have to run each of these separate or can we combine all of these into one command? By following the Quick Start I tried to execute the following command and received this output ( I am assuming part of the problem is not specifying a target, but at this point in the quick start I am still not sure what/how to call a target):
• $ SINGULARITY_BINDPATH="data:/data" snakemake --use-singularity --configfile=config/example_datafile.json --configfile=config/example_workflowconfig.json –configfile=config/example_workflowparams.json
• $ export SINGULARITY_BINDPATH="data:/data snakemake -p -n --configfile=config/custom_readfilt_workflow.json read_filtering_pretrim_workflow
• When excluding the export SINGULARITY_BINDPATH: $ snakemake –p –configfile=config=custom_readfilt_workflow.json read_filtering_pretrim_workflow
Output:
_Finished job 5.
3 of 7 steps (43%) done
Job 2: --- Pre-trim quality check of trimmed data with fastqc.
fastqc -t 1 //data/SRR606249_subset10_1_reads.fq.gz /data/SRR606249_subset10_2_reads.fq.gz -o /data
/usr/bin/bash: fastqc: command not found
Error in rule pre_trimming_quality_assessment:
jobid: 2
output: data/SRR606249_subset10_1_reads_fastqc.zip, data/SRR606249_subset10_2_reads_fastqc.zip
RuleException:
CalledProcessError in line 162 of /data/home/nalbright/dahak/workflows/read_filtering/Snakefile:
Command ' set -euo pipefail; fastqc -t 1 //data/SRR606249_subset10_1_reads.fq.gz /data/SRR606249_subset10_2_reads.fq.gz -o /data ' returned non-zero exit status 127.
File "/data/home/nalbright/dahak/workflows/read_filtering/Snakefile", line 162, in _rule_pre_trimming_quality_assessment
File "/data/home/nalbright/miniconda3/lib/python3.6/concurrent/futures/thread.py", line 56, in run
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: /data/home/nalbright/dahak/workflows/.snakemake/log/2018-07-13T121116.897357.snakemake.log
Sorry for any confusion. I appreciate any clarification you can provide.
The text was updated successfully, but these errors were encountered: