Skip to content
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

About ImportError: No module named vcf.parser #32

Closed
JeonHyungJin opened this issue Dec 13, 2018 · 5 comments
Closed

About ImportError: No module named vcf.parser #32

JeonHyungJin opened this issue Dec 13, 2018 · 5 comments

Comments

@JeonHyungJin
Copy link

Hello, i cloned this project and want to use.
when i run this program the result became like this

Traceback (most recent call last):
File "gtc_to_vcf.py", line 10, in <module>
from vcf.parser import Writer, Reader
ImportError: No module named vcf.parser

I used python 2.7, anaconda, pycharm and i installed

conda install -c anaconda numpy=1.11.2
conda install -c bioconda pyvcf=0.6.8
conda install -c bioconda pysam=0.9.0

all these things.

and when i just run 'gtc_to_vcf.py' at pycharm
the result came like this

usage: gtc_to_vcf.py [-h] [--gtc-paths GTC_PATHS [GTC_PATHS ...]]
                     --manifest-file MANIFEST_FILE --genome-fasta-file
                     GENOME_FASTA_FILE [--output-vcf-path OUTPUT_VCF_PATH]
                     [--skip-indels] [--log-file LOG_FILE]
                     [--expand-identifiers] [--unsquash-duplicates]
                     [--auxiliary-loci AUXILIARY_LOCI]
                     [--filter-loci FILTER_LOCI] [--disable-genome-cache]
                     [--version]
gtc_to_vcf.py: error: argument --manifest-file is required

So i thought that VCF module has installed well.
but when i run such as

python gtc_to_vcf.py args~~~~~~

the error came out.
Can i get some help?

@hhg7
Copy link

hhg7 commented Nov 15, 2021

I have this issue too, how did you solve this problem?

@jjzieve
Copy link
Contributor

jjzieve commented Nov 15, 2021

@hhg7 Did you get this error: ImportError: No module named vcf.parser or the gtc_to_vcf.py: error: argument --manifest-file is required error?

@hhg7
Copy link

hhg7 commented Nov 15, 2021

@jjzieve I got the ImportError problem

@jjzieve
Copy link
Contributor

jjzieve commented Nov 15, 2021

@hhg7 You followed the conda install recommendations? i.e. as outlined here: https://github.com/Illumina/GTCtoVCF#requirements

@hhg7
Copy link

hhg7 commented Nov 15, 2021

@jjzieve the environment setup on the server that I'm using is extremely complex, a coworker of mine fixed the problem. Thanks for your help though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants