Seqanswers Leaderboard Ad

Collapse

Announcement

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

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

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

    Comment


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

      • 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
      25 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      29 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      25 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      52 views
      0 likes
      Last Post seqadmin  
      Working...
      X