Comments (2)
So I was able to fix the snakemake() got an unexpected keyword argument 'configfile'
error message by adding "s" to the configfile
argument in the workflow.py line 7 (so inside snakemake command, configfiles = configfile
). However, another error popped up about the configpath in the snakemake package.
$ mgefinder workflow toydir/
#### PARAMETERS ###
command: workflow
workdir: toydir/
snakefile: /home/dfi_user/miniconda3/envs/mgefinder/lib/python3.7/site-packages/mgefinder/workflow/Snakefile
configfile: /home/dfi_user/miniconda3/envs/mgefinder/lib/python3.7/site-packages/mgefinder/workflow/config.yml
cores: 1
memory: 16000
unlock: False
rerun_incomplete: False
keep_going: False
###################
Traceback (most recent call last):
File "/home/dfi_user/miniconda3/envs/mgefinder/bin/mgefinder", line 11, in <module>
sys.exit(cli())
File "/home/dfi_user/miniconda3/envs/mgefinder/lib/python3.7/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/home/dfi_user/miniconda3/envs/mgefinder/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/dfi_user/miniconda3/envs/mgefinder/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/dfi_user/miniconda3/envs/mgefinder/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/dfi_user/miniconda3/envs/mgefinder/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/dfi_user/miniconda3/envs/mgefinder/lib/python3.7/site-packages/mgefinder/main.py", line 46, in workflow
_workflow(workdir, snakefile, configfile, cores, memory, unlock, rerun_incomplete, keep_going)
File "/home/dfi_user/miniconda3/envs/mgefinder/lib/python3.7/site-packages/mgefinder/workflow.py", line 6, in _workflow
force_incomplete=rerun_incomplete, keepgoing=keep_going)
File "/home/dfi_user/miniconda3/envs/mgefinder/lib/python3.7/site-packages/snakemake/__init__.py", line 394, in snakemake
overwrite_config.update(load_configfile(f))
File "/home/dfi_user/miniconda3/envs/mgefinder/lib/python3.7/site-packages/snakemake/io.py", line 1311, in load_configfile
config = _load_configfile(configpath)
File "/home/dfi_user/miniconda3/envs/mgefinder/lib/python3.7/site-packages/snakemake/io.py", line 1273, in _load_configfile
with open(configpath) as f:
IsADirectoryError: [Errno 21] Is a directory: '/'
The path to the config file is correct, but somehow, it is not working. I am sincerely grateful if you could provide some hints.
Thanks,
Eddi
from mgefinder.
Hey Eddi, I am working on improving the README, it is not up to date. How about we set up a google hangout call so I can help you through this specifically? Please email me at [email protected].
from mgefinder.
Related Issues (20)
- Installation without conda or singularity HOT 4
- mgefinder issue HOT 3
- Missing input file error when file is in directory HOT 3
- KeyError HOT 8
- No output file, no error message HOT 6
- No termini found in the input file... HOT 7
- the sum of unique clusters in "01.clusterseq" file does not match the number of unique clusters in "03.sum_cluseter" file HOT 1
- Using MGEfinder with multiple species HOT 1
- Can MGEfinder be used for metagenomics data of infant gut? HOT 7
- filtering used to create *.all_seqs.fna file? HOT 1
- Request for additional information on question #30 regarding "reference" HOT 1
- Error in pair step HOT 4
- Error in job make_database while creating output files HOT 7
- Could I use it on metagenomics data? HOT 1
- Analysis of assembled genome HOT 1
- How to find the Insertion-Enriched Sites caused by Insertion sequences HOT 1
- Issue with pandas dependency HOT 3
- error in step mgefinder formatbam HOT 2
- Error in job genotype while creating output file HOT 7
- No Output File HOT 1
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 mgefinder.