Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jason_Londo
    Junior Member
    • Mar 2016
    • 1

    #1

    CIGAR and query sequence are of different length:gmap related

    Hello, I’m hoping someone can help me out with this issue. I’ve tried looking for the answer here as well as across the web and can’t find a solution. I apologize if I’ve missed something.

    I have a trinity based de novo reference transcriptome and I’m attempting to align the transcripts to the reference genome. I’m a novice so I’m following a protocol and am hitting the error below when I attempt to convert my SAM into a BAM file. I’m looking for a fix to the underlying problem as I’ve already tried removing the offending transcript from the SAM file. When I do that, I still get the error, just on a different transcript farther down in the SAM file. Thanks for any guidance.


    gmap -n 0 -D /cribi -t 30 -d cribi 588160VVout.fasta –f samse > 588160.sam
    samtools view –Sb 588160.sam > 588160.bam
    [E::sam_parse1] CIGAR and query sequence are of different length
    [W::sam_read1] parse error at line 979
    [main_samview] truncated file.


    Here is Line 979: The basepairs here are 644. I don’t understand how the CIGAR string could be different from the sequence length if the sequence was used to align in the first place.


    c33925_g1_i4 0 chr5 17008787 40 92M31I39M21I184M89N33M97N68M151N24M * 0 0 CGACATTTCGCCCCCCTCTTTCGTTTCGCCGACCTCCGAAACACGAAATTTCGCCGAAATTTCGGCGAAAAAAACAGAAATTTTCATCCTTGCCCATAACACAAGATTTCCATTTAAAACCCCCTTAAAACCCTAGCTACAGAGTCCACCGGCAGCGCCTGCGTCGAAACCTGCCCAACACCTCCAGGTCGGGTTAAAGGCTTGCTGGATCAGAGTCTAAACCATCTGGCAAGTTGGTTTTCTGTGGGACGTAACGGTGGAGAGTCTAGAGCTGGTGAAGCGCTTTGTTCTCTGCCCTGGGTGTCTTTAGGGGAGGAGAAACTCAGTTTCGAACTGGTCGCCGGAAGTAAACCCTCTGCGGGTCGGTTGGCCGAGACCAAGAGAGAACGCTCAGACCGGTTATCTGAATTGGAATATATCTCCAATGGAGATTAATTTGGGAAAGCTTCCATTCGATATTGATTTCCATCCTTCCAACACGCTCGTTGCTGCAGGTCTGATTAATGGAGACCTTCACTTGTATCGTTATGGTGCCAATTCCTTACCACAAAGGCTATTGGAGGTTCACGCCCATGGCGAAGAATCTTGTAGAGCTGTTCGTTTTATCAACGAGGGACATGCAATTGTGACCGGTTCTCCAGACC * MD:Z:108GCTT3T9C20G8C31A1T216A33 NH:i:2 HI:i:1 NM:i:63 SM:i:40 XQ:i:40 X2:i:0 XO:Z:UM XS:A:+ PG:Z:M
  • jgroh
    Junior Member
    • Jan 2019
    • 3

    #2
    I'm wondering whether you ended up finding a solution, why this error is generated? I am experiencing the same issue after a first pass at using GMAP to align a transcriptome assembly to a reference genome.

    Comment

    Latest Articles

    Collapse

    • kinpict.com
      Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by kinpict.com
      The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
      Today, 06:37 PM
    • SEQadmin2
      16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by SEQadmin2





      NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
      10-30-2026, 06:46 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 11-12-2026, 07:59 AM
    0 responses
    28 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-05-2026, 09:25 AM
    0 responses
    35 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-03-2026, 11:54 AM
    2 responses
    56 views
    0 reactions
    Last Post kinpict.com  
    Started by SEQadmin2, 10-28-2026, 09:57 AM
    0 responses
    175 views
    0 reactions
    Last Post SEQadmin2  
    Working...