Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Greg_owens
    Junior Member
    • Aug 2014
    • 3

    Getting FQ from bcftools 1.2

    I'm using samtools and bcftools to call hapmap snps from WGS data. With the older version of samtools the vcf file included FQ per site, but when I use the latest version (samtools/bcftools 1.2) it doesn't. I need FQ for a downstream program, so is there a way to force bcftools to output it?

    Here's what my code looks like now:

    Code:
    samtools mpileup -ugf hg19.fasta -l annotHapMap2L.txt $bam/$name.bam | bcftools call -mO v -o $vcf/$name.HM.vcf -V indels -P 0.5
  • jmarshall
    Samtools maintainer
    • Jul 2009
    • 39

    #2
    Current bcftools 1.x contains two calling methods: call -c is the original bcftools consensus caller, while call -m is a more recent multi-allelic caller. Only the consensus caller outputs FQ.

    If your downstream program is expecting to get old-bcftools-style input, you probably want to be using call -c.

    Comment

    • Greg_owens
      Junior Member
      • Aug 2014
      • 3

      #3
      That works. Thanks!

      Comment

      Latest Articles

      Collapse

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Today, 11:58 AM
      0 responses
      9 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-05-2026, 10:09 AM
      0 responses
      25 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-04-2026, 08:59 AM
      0 responses
      34 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 12:03 PM
      0 responses
      56 views
      0 reactions
      Last Post SEQadmin2  
      Working...