Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ikarus97
    Junior Member
    • Apr 2010
    • 6

    #1

    Does Picard tool support multi-fasta file?

    Hi,

    I'm trying to check alignment accuracy of bam files generated by tophat using Picard tools.
    But the resulting mismatch rates ('PF_MISMATCH_RATE') were unreasonably high.
    When trying to figure out why, I found some strange things.

    Here is the entries in the sample bam file:
    Code:
    @HD     VN:1.0  SO:coordinate
    @SQ     SN:chr1 LN:249250621
    @PG     ID:TopHat       VN:1.4.0
    1925_202_1426   0       chr1    1102502 255     23M     *       0       0       GCCATCTTACTGGGCAGCATTGG ___abbb_[NRb``[[`Y[_^&& NM:i:0  NH:i:1
    49_971_1359     0       chr1    1102503 255     23M     *       0       0       CCATCTTACTGGGCAGCATTGGA QQIFIQ?@NW`VP@E[EGUVVEE NM:i:0  NH:i:1
    76_239_469      0       chr1    1102503 255     22M     *       0       0       CCATCTTACTGGGCAGCATTGG  WWVTUXRS[^^`[CGL<N8;KK  NM:i:0  NH:i:1
    All 3 reads were single-ended, and originated from chr1.fa (and aligned to chr1 perfectly).

    First I tried 'CollectAlignmentSummaryMetrics' module just using reference sequence for chr1, and got mismatch rate of 0.
    Code:
    java -jar ~/picard-tools-1.67/CollectAlignmentSummaryMetrics.jar INPUT=hh.sam R=chr1.fa OUTPUT=tmp
    But when I tried the same command with multi-fasta file containing every chromosomes, I got the mismatch rate of 0.77!

    Is there anybody who can explain me what is wrong?
    My first hunch is that this tool might not support multi-fasta format as reference. But then, how can I get the mismatch rate of a bam file?
  • ikarus97
    Junior Member
    • Apr 2010
    • 6

    #2
    I've got my answer: the reference sequences in fasta file should be in the same order as in the bam header.

    Comment

    • jh313
      Junior Member
      • Apr 2013
      • 2

      #3
      Hey ikarus97, I was getting a similar issue. How did you fix the order of the reference sequences in the fasta file?

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 10:52 AM
      0 responses
      12 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      19 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-13-2026, 09:56 AM
      0 responses
      19 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-09-2026, 11:14 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Working...