Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spike1985
    Junior Member
    • Feb 2012
    • 6

    #1

    vcf to consensus call reference instead of N

    Hi all

    I have a few genomes sequenced using illumina. I have used samtools and vcfutils to make a consensus for each. All pretty standard stuff. However using vctutils to make the consensus gives me far to many N nucleotides to be happy with.

    Is there a way that i can create this consensus but where it currently has provided an N nucleotide it actually inserts the reference nucleotide in its place?

    Your help would be much appreciated. Any ideas?
  • vivek_
    PhD Student
    • Jul 2012
    • 164

    #2
    Have you tried samtools mpileup?

    Comment

    • spike1985
      Junior Member
      • Feb 2012
      • 6

      #3
      Sorry thats what ive used in the process. I pretty much used this exact command:

      samtools mpileup -uf ref.fa aln1.bam aln2.bam | bcftools view -bvcg - > var.raw.bcf
      bcftools view var.raw.bcf | vcfutils.pl varFilter -D100 > var.flt.vcf

      Anything i can change there to get it to call the ref seq rather than N's?

      Comment

      • vivek_
        PhD Student
        • Jul 2012
        • 164

        #4
        Normally you get those Ns when you don't specify the reference or specify a different version of the reference file in the command line.

        One thing I would check is if the mpileup is producing the reference bases at each position and not Ns without piping the first output to bcftools.

        Comment

        • spike1985
          Junior Member
          • Feb 2012
          • 6

          #5
          Thanks for the response i'll test the mpileup tonight.

          I'm pretty sure i have the reference sorted. I've used snpEff to analyse the SNPs in the genomes and for each SNP it has had the correct reference sequence.

          Could be be a problem of coverage? as in the sequencing reads might not cover this area?

          Comment

          • vivek_
            PhD Student
            • Jul 2012
            • 164

            #6
            Could be coverage, but if that's the case then it shouldn't be making a variant call at that site right with a certain degree of confidence right?

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
              by SEQadmin2



              CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

              Despite this, “CRISPR helped turn genome editing from a specialized technique into
              ...
              07-31-2026, 11:01 AM
            • SEQadmin2
              Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
              by SEQadmin2


              Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

              The systematic characterization of the human proteome has
              ...
              07-20-2026, 11:48 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Yesterday, 12:22 PM
            0 responses
            16 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 08-11-2026, 10:35 AM
            0 responses
            16 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 08-06-2026, 07:41 AM
            0 responses
            31 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 08-03-2026, 10:13 AM
            0 responses
            50 views
            0 reactions
            Last Post SEQadmin2  
            Working...