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

      • kinpict.com
        Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by kinpict.com
        The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
        Today, 06:37 PM
      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2





        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
        10-30-2026, 06:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 11-12-2026, 07:59 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      35 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-03-2026, 11:54 AM
      2 responses
      56 views
      0 reactions
      Last Post kinpict.com  
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      175 views
      0 reactions
      Last Post SEQadmin2  
      Working...