Comments (24)
Hi -
thanks for getting in touch. I think you've indeed missed something when installing or just got the command for the initialisation wrong. If I got you right, you tried
/home/anil/dadasnake/submit_scripts/dadasnake_withReport.sh -i /home/anil/dadasnake/config/config.init.yaml
when indeed, you should call the dadasnake script:
/home/anil/dadasnake/dadasnake -i /home/anil/dadasnake/config/config.init.yaml `
This script isn't there when you clone the pipeline from github. You copy it from either of the auxiliary_files/dadasnake_* files, as described in step 3.
I hope this helps. Please let me know, if there are more questions.
-A
from dadasnake.
Thank you for your quick response.
I realized that i skipped some of the steps of installation as i was unable to understand some of the terms as i am a wet lab student and very recently i started learning all this dry lab work.
as suggested i ran the above command and got a new issue
/home/anil/dadasnake/dadasnake -i /home/anil/dadasnake/config/config.init.yaml
Initializing conda environments.
module: command not found
Traceback (most recent call last):
File "/home/anil/dadasnake/conda/snakemake_env/bin/snakemake", line 10, in
sys.exit(main())
File "/home/anil/dadasnake/conda/snakemake_env/lib/python3.9/site-packages/snakemake/init.py", line 2592, in main
success = snakemake(
File "/home/anil/dadasnake/conda/snakemake_env/lib/python3.9/site-packages/snakemake/init.py", line 504, in snakemake
overwrite_config.update(load_configfile(f))
File "/home/anil/dadasnake/conda/snakemake_env/lib/python3.9/site-packages/snakemake/io.py", line 1596, in load_configfile
raise WorkflowError(
snakemake.exceptions.WorkflowError: Config file must be given as JSON or YAML with keys at top level.
Please help
from dadasnake.
Hi -
glad we could straighten that one out.
yes, for your new error, you need to change the VARIABLE_CONFIG file, particularly in the line that currently reads:
LOADING_MODULES module load Anaconda3/5.3.0
it should just be
LOADING_MODULES
because it seems your system does not rely on modules.
Let me know, if there are other errors.
Best wishes -
A
from dadasnake.
sorry for the constant trouble
i edited the VARIABLE_CONFIG file as suggested but still got this error
/home/anil/dadasnake/dadasnake -i /home/anil/dadasnake/config/config.init.yaml
Initializing conda environments.
Traceback (most recent call last):
File "/home/anil/dadasnake/conda/snakemake_env/bin/snakemake", line 10, in
sys.exit(main())
File "/home/anil/dadasnake/conda/snakemake_env/lib/python3.9/site-packages/snakemake/init.py", line 2592, in main
success = snakemake(
File "/home/anil/dadasnake/conda/snakemake_env/lib/python3.9/site-packages/snakemake/init.py", line 504, in snakemake
overwrite_config.update(load_configfile(f))
File "/home/anil/dadasnake/conda/snakemake_env/lib/python3.9/site-packages/snakemake/io.py", line 1596, in load_configfile
raise WorkflowError(
snakemake.exceptions.WorkflowError: Config file must be given as JSON or YAML with keys at top level
from dadasnake.
Three tests, please:
a) how did you install snakemake?
b) can you please post the output of
/home/anil/dadasnake/dadasnake -h
c) I guess you did not change anything in /home/anil/dadasnake/config/config.init.yaml ?
Thanks -
A
from dadasnake.
a) i installed snakemake using step 4 of the guide as
conda install -c conda-forge mamba
mamba create --prefix /home/anil/dadasnake/conda/snakemake_env
conda activate /home/anil/dadasnake/conda/snakemake_env
mamba install -c conda-forge -c bioconda snakemake
conda deactivate
b)/home/anil/dadasnake/dadasnake -h
Usage: /home/anil/dadasnake/dadasnake [-u|d|c|l|i] [-r] [-t number] [-n name] /absolute_path/to/config_file
-n , only works with -c
-r is set, a report is generated (it's recommended to run -c or -l with -r)
-d if set, a dryrun is performed
-c if set, the whole thing is submitted to the cluster
-i if set, only the conda environments will be installed, if they don't exist
-u if set, the working directory will be unlocked (only necessary for crash/kill recovery)
-l if set, the main snakemake thread and indivdual rules are run in the current terminal session
-t <max_threads> maximum number of cpus to use for all rules at a time. Defaults to 50 for -c, and to 1 for -l. No effect on -r, -d or -u only.
c) yes i did change some in the config.init.yaml file
outputdir dadasnake_initialized
taxonomy
mothur
do true
blast
do true
hand_off
biom true
phyloseq true
from dadasnake.
do you mean to say you deleted the ":"s ?
from dadasnake.
and the spaces at the start of the lines?
from dadasnake.
No i only removed : and ":" not the spaces at the start of the line
from dadasnake.
okay, that explains the error. Please don't remove the : - they're part of the yaml format.
-A
from dadasnake.
ok as suggested i added the : in the file
still got this
/home/anil/dadasnake/dadasnake -i /home/anil/dadasnake/config/config.init.yaml
Initializing conda environments.
Final resource settings:
maxCores: 1
Sample table was not found. Please enter the absolute path and file name in the config file.
FileNotFoundError in line 113 of /home/anil/dadasnake/workflow/rules/get_config.smk:
[Errno 2] No such file or directory: '/home/anil/testdata/samples.small.tsv'
File "/home/anil/dadasnake/Snakefile", line 8, in
File "/home/anil/dadasnake/workflow/rules/get_config.smk", line 113, in
File "/home/anil/dadasnake/conda/snakemake_env/lib/python3.9/site-packages/pandas/io/parsers.py", line 689, in read_table
File "/home/anil/dadasnake/conda/snakemake_env/lib/python3.9/site-packages/pandas/io/parsers.py", line 462, in _read
File "/home/anil/dadasnake/conda/snakemake_env/lib/python3.9/site-packages/pandas/io/parsers.py", line 819, in init
File "/home/anil/dadasnake/conda/snakemake_env/lib/python3.9/site-packages/pandas/io/parsers.py", line 1050, in _make_engine
File "/home/anil/dadasnake/conda/snakemake_env/lib/python3.9/site-packages/pandas/io/parsers.py", line 1867, in init
File "/home/anil/dadasnake/conda/snakemake_env/lib/python3.9/site-packages/pandas/io/parsers.py", line 1362, in _open_handles
File "/home/anil/dadasnake/conda/snakemake_env/lib/python3.9/site-packages/pandas/io/common.py", line 642, in get_handle
from dadasnake.
also i am not running dadasnake in the cluster but on a ubuntu desktop so which dadasnake file should i copy in the step 3 from auxiliary_files.
i copied the one with the process running snakemake to the cluster
from dadasnake.
Regarding your second question: it shouldn't make a difference in that case. For the proper runs, you'd be using the -l setting then.
I am still trying to figure out why the workflow is looking in the wrong directory. You didn't change the dadasnake file, did you? nor the config/config.default.yaml?
-A
from dadasnake.
i guess you are asking me about this file /home/anil/dadasnake/dadasnake if that's the case i didn"t change anything in this file nor in the config/config.default.yaml file
from dadasnake.
ok
from dadasnake.
oh, I am sorry, I did not describe this well in the README. Can you please do
cd /home/anil/dadasnake/
and then run the initialisation from there?
i.e.
./dadasnake -i config/config.init.yaml
thanks -
A
from dadasnake.
ya now the command is running untill it runs i have some questions
- can i process my 16s nanopore reads using the pipeline
- in the database downloading steps you suggested to download database for mothur, DADA2 implementation database from McLaren, database for DECIPHER, database for fungal traits
do i need to download all these databases....?
from dadasnake.
- ha, well, we've set up a workflow that should be able to work on ChopSeq-treated data from Nanopore sequencing - this is from a consensus sequencing method (https://academic.oup.com/gigascience/article/7/12/giy140/5202451). It shouldn't work native Nanopore reads, though: benjjneb/dada2#718
- no, you just need the database that suits your needs (e.g. just DECIPHER, if your dataset is quite small; or just the SILVA data base for mothur) assuming you want to only run 16S data
from dadasnake.
ok, so u meant that to analyse the nanopore reads i have to firstly process my reads using chopseq and then run the dadasnake right...?
from dadasnake.
if you've sequenced them with the method described in that paper or the INCseq method. If you've just sequenced amplicons without circular consensus, please use the Nanopore (what's in my pot?) workflow for processing.
from dadasnake.
okay
The command ran smoothly
Thank you for your support
from dadasnake.
if you've sequenced them with the method described in that paper or the INCseq method. If you've just sequenced amplicons without circular consensus, please use the Nanopore (what's in my pot?) workflow for processing.
okay thank you for the information
from dadasnake.
you're welcome. Good luck with your analysis.
-A
from dadasnake.
Thanks
from dadasnake.
Related Issues (20)
- VARIABLE_CONFIG? HOT 2
- Test run fail HOT 2
- submitting to cluster not working HOT 6
- Feature request / general question re: parameter sweeps for DADA2 HOT 1
- multiple primer sets HOT 3
- Nanopore data HOT 7
- Multiple cores when using option -l HOT 1
- Visualize DAG HOT 5
- complaining about GB locale HOT 10
- mothur database issue HOT 2
- error: "Could not create conda environment from ... " HOT 6
- Runtime of 120 hours in some rules HOT 1
- install instructions using cluster snakemake module HOT 1
- Initializing dada2_env.yml failed HOT 1
- WorkflowError: File reporting/primerNumbers_perLibrary.tsv marked for report but does not exist. HOT 7
- Failed "optional test run" - Step 7 of Install HOT 4
- NCBI BLAST nt database configuration with dadasnake: Example config.yaml files for use with BLAST HOT 2
- ITSxpress support HOT 1
- Error in rule picrust2 HOT 3
- Question on representative sequences HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dadasnake.