Comments (3)
Hello again-
Hmmm...I may have fixed the issue I commented about above by uninstalling and re-installing numpy. Now when I run the command with sample.vcf I am met with a new error:
vcfstats --vcf examples/sample.vcf --outdir ./ --formula 'COUNT(1) ~ CONDIG' --title 'Number of variants on each chromosome' --config examples/config.toml
[2021-08-04 16:45:20,940 DEBUG] Parsing ['--vcf', 'examples/sample.vcf', '--outdir', './', '--formula', 'COUNT(1) ~ CONDIG', '--title', 'Number of variants on each chromosome', '--config', 'examples/config.toml']
[2021-08-04 16:45:20,941 DEBUG] - Parsing item '--vcf'
[2021-08-04 16:45:20,941 DEBUG] Previous: None
[2021-08-04 16:45:20,941 DEBUG] Matched: <ParamPath(-v, --vcf :: path) @ 140716686842704>, name=vcf, type=None, value=None
[2021-08-04 16:45:20,941 DEBUG] - Parsing item 'examples/sample.vcf'
[2021-08-04 16:45:20,941 DEBUG] Previous: <ParamPath(-v, --vcf :: path) @ 140716686842704>
[2021-08-04 16:45:20,941 DEBUG] Matched: None, name=None, type=None, value='examples/sample.vcf'
[2021-08-04 16:45:20,941 DEBUG] Param '-v, --vcf' consumes 'examples/sample.vcf'
[2021-08-04 16:45:20,941 DEBUG] - Parsing item '--outdir'
[2021-08-04 16:45:20,941 DEBUG] Previous: <ParamPath(-v, --vcf :: path) @ 140716686842704>
[2021-08-04 16:45:20,941 DEBUG] Matched: <ParamAuto(-o, --outdir :: auto) @ 140716686843088>, name=outdir, type=None, value=None
[2021-08-04 16:45:20,941 DEBUG] Closing previous argument
[2021-08-04 16:45:20,941 DEBUG] - Parsing item './'
[2021-08-04 16:45:20,941 DEBUG] Previous: <ParamAuto(-o, --outdir :: auto) @ 140716686843088>
[2021-08-04 16:45:20,942 DEBUG] Matched: None, name=None, type=None, value='./'
[2021-08-04 16:45:20,942 DEBUG] Param '-o, --outdir' consumes './'
[2021-08-04 16:45:20,942 DEBUG] - Parsing item '--formula'
[2021-08-04 16:45:20,942 DEBUG] Previous: <ParamAuto(-o, --outdir :: auto) @ 140716686843088>
[2021-08-04 16:45:20,942 DEBUG] Matched: <ParamList(-f, --formula :: list) @ 140716686981712>, name=formula, type=None, value=None
[2021-08-04 16:45:20,942 DEBUG] Closing previous argument
[2021-08-04 16:45:20,942 DEBUG] - Parsing item 'COUNT(1) ~ CONDIG'
[2021-08-04 16:45:20,942 DEBUG] Previous: <ParamList(-f, --formula :: list) @ 140716686981712>
[2021-08-04 16:45:20,942 DEBUG] Matched: None, name=None, type=None, value='COUNT(1) ~ CONDIG'
[2021-08-04 16:45:20,942 DEBUG] Param '-f, --formula' consumes 'COUNT(1) ~ CONDIG'
[2021-08-04 16:45:20,942 DEBUG] - Parsing item '--title'
[2021-08-04 16:45:20,942 DEBUG] Previous: <ParamList(-f, --formula :: list) @ 140716686981712>
[2021-08-04 16:45:20,942 DEBUG] Matched: <ParamList(--title :: list) @ 140716686981392>, name=title, type=None, value=None
[2021-08-04 16:45:20,942 DEBUG] Closing previous argument
[2021-08-04 16:45:20,942 DEBUG] - Parsing item 'Number of variants on each chromosome'
[2021-08-04 16:45:20,942 DEBUG] Previous: <ParamList(--title :: list) @ 140716686981392>
[2021-08-04 16:45:20,942 DEBUG] Matched: None, name=None, type=None, value='Number of variants on each chromosome'
[2021-08-04 16:45:20,943 DEBUG] Param '--title' consumes 'Number of variants on each chromosome'
[2021-08-04 16:45:20,943 DEBUG] - Parsing item '--config'
[2021-08-04 16:45:20,943 DEBUG] Previous: <ParamList(--title :: list) @ 140716686981392>
[2021-08-04 16:45:20,943 DEBUG] Matched: <ParamAuto(-c, --config :: auto) @ 140716686981904>, name=config, type=None, value=None
[2021-08-04 16:45:20,943 DEBUG] Closing previous argument
[2021-08-04 16:45:20,943 DEBUG] - Parsing item 'examples/config.toml'
[2021-08-04 16:45:20,943 DEBUG] Previous: <ParamAuto(-c, --config :: auto) @ 140716686981904>
[2021-08-04 16:45:20,943 DEBUG] Matched: None, name=None, type=None, value='examples/config.toml'
[2021-08-04 16:45:20,943 DEBUG] Param '-c, --config' consumes 'examples/config.toml'
[2021-08-04 16:45:20,943 DEBUG] Closing final argument: '-c, --config'
Traceback (most recent call last):
File "/Users/mothership/miniconda3/bin/vcfstats", line 8, in
sys.exit(main())
File "/Users/mothership/miniconda3/lib/python3.7/site-packages/vcfstats/init.py", line 167, in main
load_config(opts['config'], opts)
File "/Users/mothership/miniconda3/lib/python3.7/site-packages/vcfstats/init.py", line 120, in load_config
raise OSError("Config file does not exist: {}".format(config))
OSError: Config file does not exist: examples/config.toml
Where can I find (or generate) the config.toml file?
Thanks!
Melody
from vcfstats.
You can find one here:
https://github.com/pwwang/vcfstats/tree/master/examples
from vcfstats.
Great! Thank you very much!
Best-
Melody
from vcfstats.
Related Issues (19)
- AttributeError: module 'pyparam.params' has no attribute 'vcf' HOT 4
- option --title never works HOT 3
- Config file for the vcfstats HOT 2
- cyvcf2 warnings while parsing the vcf file HOT 2
- Gentle suggestion about the new plots implementation HOT 21
- vcfstats command not recognized HOT 6
- new error message HOT 3
- TypeError: getattr(): attribute name must be string HOT 2
- ImportError: cannot import name 'LOADERS' from 'simpleconf' HOT 2
- it is not clear how the config toml should be used HOT 1
- Vcfstats doesn't show the MNPs? HOT 2
- VCF Mean Depth Plot Is In Reverse HOT 7
- Matplotlib Contour Install Error HOT 1
- Question: Multiple samples in a plot HOT 1
- Install error HOT 6
- png plot of vcfstats HOT 1
- vcfstats error HOT 70
- SVG format 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 vcfstats.