Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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

  • #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


    • #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

      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM
      • seqadmin
        Strategies for Sequencing Challenging Samples
        by seqadmin


        Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
        03-22-2024, 06:39 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      22 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      24 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      19 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      50 views
      0 likes
      Last Post seqadmin  
      Working...
      X