Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • StefanP
    Member
    • Oct 2011
    • 10

    #1

    samtools bcftools no FQ value

    Hello,

    I'm using the samtools/bcftools/vcfutils pipeline to call consensus sequences. However, I always get an warning:

    Use of uninitialized value $q in numeric lt (<) at vcfutils.pl line 508, <> line 16742.
    Use of uninitialized value $q in addition (+) at vcfutils.pl line 518, <> line 16742.

    Which seams to be a problem with the FQ values. I checked the bcftools view -cg output and it doesn't record the FQ value. So, I think that's what's causing the problem.

    Any idea why it doesn't provide the FQ value? And how to make it to? (I tried samtools 0.1.18 and 0.1.19).

    Thanks,
    Stefan
  • swbarnes2
    Senior Member
    • May 2008
    • 910

    #2
    For starters, it would help if you posted your command lines, the versions of each piece of software, and a sample line from your .vcf

    I'm wondering if you are using a very old version of samtools

    Comment

    • StefanP
      Member
      • Oct 2011
      • 10

      #3
      Hi,

      I use:

      samtools mpileup -uf "$REFSEQ" ${bn}.sorted.bam | bcftools view -cg - | perl vcfutils.pl vcf2fq > ${bn}.fq

      So the standard consensus call.

      The output is here:

      ##fileformat=VCFv4.0
      ##samtoolsVersion=0.1.18 (r982:295)
      ##fileformat=VCFv4.0
      #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT processed_MS83_S20_L001.dup.sorted.bam
      NC_002008 1 . G T 46 . DP=11;VDB=0.0000;AF1=0.500;AFE=0.500;DP4=3,0,8,0;MQ=23;PV4=1,1,1,1 PL:GT:GQ 76,0,85:0/1:78
      NC_002008 2 . T . 99 . DP=89;VDB=0.0000;AF1=0.000;AFE=0.000;DP4=81,0,8,0;MQ=37;PV4=1,1,0.0005,1 P0
      NC_002008 3 . T . 99 . DP=154;VDB=0.0000;AF1=0.000;AFE=0.000;DP4=101,0,0,0;MQ=36 PL 0
      NC_002008 4 . A . 99 . DP=260;AF1=0.000;AFE=0.000;DP4=133,73,0,0;MQ=38 PL 0
      NC_002008 5 . A . 99 . DP=262;VDB=0.0000;AF1=0.000;AFE=0.000;DP4=134,73,0,0;MQ=38 PL 0
      NC_002008 6 . T . 99 . DP=263;VDB=0.0000;AF1=0.000;AFE=0.000;DP4=133,73,0,0;MQ=39 PL 0

      I'm using the newest and the previous version of samtools. 0.1.18 and 0.1.19 like I wrote in my post. Bcftools and vcfutils come with samtools. So they all are up to date.

      Thanks,
      Stefan

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      20 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      36 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      43 views
      0 reactions
      Last Post SEQadmin2  
      Working...