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

[VCF] Issue reading vcf from mutect2, strelka2 #62

Closed
ironb25 opened this issue Jun 2, 2022 · 2 comments
Closed

[VCF] Issue reading vcf from mutect2, strelka2 #62

ironb25 opened this issue Jun 2, 2022 · 2 comments

Comments

@ironb25
Copy link

ironb25 commented Jun 2, 2022

Hello,

I am trying to read vcf file from mutect2 and strelka2 and getting this error below.

Code:

from fuc import pyvcf
vf = pyvcf.VcfFrame.from_file('mutect2.vcf')
vf.df

Error:

DtypeWarning: Columns (0) have mixed types.Specify dtype option on import or set low_memory=False.
  vf = pyvcf.Vcf

Could you please help?

Thanks
Rohan

@sbslee
Copy link
Owner

sbslee commented Jun 2, 2022

@ironb25,

Thanks for your interest in using fuc!

  1. First off, DtypeWarning is a warning, not an error. Are you sure you're getting an error? If there was an error, please copy and paste the entire error message. Also, can you show me the output of:
>>> vf.df.head()
  1. If you are sure there was an error while importing a VCF file (i.e. 'mutect2.vcf'), could you send me the file so I can take a look? If it's small enough you can directly attach it to this thread. If not, you can send me an email to [email protected].

  2. Which version of fuc are you using? The latest is 0.33.1.

@sbslee sbslee changed the title Issue reading vcf from mutect2, strelka2 [VCF] Issue reading vcf from mutect2, strelka2 Jun 2, 2022
@sbslee
Copy link
Owner

sbslee commented Jun 2, 2022

The conversation has been moved to email, and the problem was indeed caused because the OP was using an old version of fuc. Reinstalling the latest version resolved the issue. Closing this.

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

2 participants