Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error using vcf-stats

    I am trying to figure out the variant statistics from a vcf file using the command:
    Code:
     ./vcf-stats NA11881roi_variants.vcf
    For which I am getting the following output:

    Code:
    The version "4.1" not supported, assuming VCFv4.0
    Expected GT as the first genotype field at chr4:46036725
    Use of uninitialized value $gtype in pattern match (m//) at /N/dc/scratch/bansalr/bowtie2-2.1.0/vcftools_0.1.4a/perl/Vcf.pm line 1060, <__ANONIO__> line 28.
    Use of uninitialized value $gtype in concatenation (.) or string at /N/dc/scratch/bansalr/bowtie2-2.1.0/vcftools_0.1.4a/perl/Vcf.pm line 1060, <__ANONIO__> line 28.
    Could not parse gtype string []
    
     at /N/dc/scratch/bansalr/bowtie2-2.1.0/vcftools_0.1.4a/perl/Vcf.pm line 167, <__ANONIO__> line 28.
            Vcf::throw('Vcf4_0=HASH(0x260f630)', 'Could not parse gtype string []\x{a}') called at /N/dc/scratch/bansalr/bowtie2-2.1.0/vcftools_0.1.4a/perl/Vcf.pm line 1060
            VcfReader::parse_alleles('Vcf4_0=HASH(0x260f630)', 'HASH(0x25221d8)', 'NA11881roi.sorted.bam') called at ./vcf-stats line 83
            main::vcf_stats('HASH(0x2237de8)') called at ./vcf-stats line 9
    Can somebody please help me regarding this? I am new to this field

    Thank you!

  • #2
    It looks like the vcftools you are using is of version 0.1.4a. So the first thing i would try is to install the updated version, which is 0.1.11.

    Comment


    • #3
      VCFtools error

      Originally posted by yl01 View Post
      It looks like the vcftools you are using is of version 0.1.4a. So the first thing i would try is to install the updated version, which is 0.1.11.
      Hi, I have same error when I run vcf-isec even I installed the updated version.

      Use of uninitialized value $attr_value in pattern match (m//) at /home/../vcftools_0.1.11/perl/Vcf.pm line 2971, <__ANONIO__> line 6.
      at /home/bliu1/vcftools_0.1.11/perl/Vcf.pm line 2971.

      Could you help? thanks

      Comment


      • #4
        I've just started using bcftools stats, so I still don't know much, but for me, I get an error when I don't give a bgzip compressed file, could that be your case? You can get the bgzip in the htslib package, after that, you need to index the bgzip file with bcftools index. Do you think that would help?

        By the way, just getting a ride on your question, does anyone know where to find the documentation for the bcftools stats output? I've got some weird results that I would like to understand better. I've asked the same question here: http://seqanswers.com/forums/showthread.php?t=57687

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Recent Developments in Metagenomics
          by seqadmin





          Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
          09-23-2024, 06:35 AM
        • seqadmin
          Understanding Genetic Influence on Infectious Disease
          by seqadmin




          During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

          Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
          09-09-2024, 10:59 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 10-02-2024, 04:51 AM
        0 responses
        11 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 10-01-2024, 07:10 AM
        0 responses
        19 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 09-30-2024, 08:33 AM
        0 responses
        24 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 09-26-2024, 12:57 PM
        0 responses
        18 views
        0 likes
        Last Post seqadmin  
        Working...
        X