Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Consensus Calling BCFTOOLS PacBio gaps

    Dear community,
    I mapped reads from targeted sequencing (PacBio ccs) to a reference (BMA mem - local alignment because I got inverse PCR reads). Most often the complete reference is not covered. I'd like to get one consensus sequence, since the second variant will never show up (diploid organism). My aim is to get something like this:
    ATTTGATTTAGG-ATTGT-----------------ATGCTTCGTAT-T
    At the moment
    1. Seems like gaps are filled by the reference which I like to avoid
    2. looking at one locus in IGV I found that in one position the reference has an A, my reads are 172 gap, 2 C, 2 A, 1 T and mpileup is calling a T???!

    Here are the commands I use:
    Code:
    system "bcftools mpileup -x -P Pacbio -e 5 -f $ARGV[0].fasta $ARGV[0].sort.bam|bcftools call -m -Oz -o $ARGV[0].TESTvcf.gz";
    #-M output site where REF allele is N
    system "tabix $ARGV[0].TESTvcf.gz";
    system "cat $ARGV[0].fasta | bcftools consensus $ARGV[0].vcf.gz > $ARGV[0].cns.TESTfa"
    Could anybody help me which parameters I have to change (I also tried -M)? I tried a few but nothing gave me the output I expected.

    Thanks in advance!

  • #2
    Please help me people, is the question to simple or do the 120 readers have no idea as well?

    Comment


    • #3
      Okay, I now might know why bcftools fails (to many real gaps in long reads which might be sorted out then). Any other suggestions? I do not find an up to date best practice for GATK3/4 or did anyone of you ever used freebayes for issues like that?

      Comment

      Latest Articles

      Collapse

      • 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
      • seqadmin
        Techniques and Challenges in Conservation Genomics
        by seqadmin



        The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

        Avian Conservation
        Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
        03-08-2024, 10:41 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 03-27-2024, 06:37 PM
      0 responses
      13 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-27-2024, 06:07 PM
      0 responses
      11 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-22-2024, 10:03 AM
      0 responses
      53 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-21-2024, 07:32 AM
      0 responses
      69 views
      0 likes
      Last Post seqadmin  
      Working...
      X