Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DavyK
    Junior Member
    • Jun 2012
    • 9

    #1

    sam 2 bam conversion error

    Hi all, Just aligned some exome sequencing data for an individual, and when converting from sam to bam I get this error:

    samtools view -h -S -b -o 1001-1.bam 1001-1.sam
    [samopen] SAM header is present: 84 sequences.
    Parse error at line 90: sequence and quality are inconsistent
    Abort trap: 6

    I looked at line 90 in the sam file:

    B02V0ACXX110721:1:1207:10678:69422 141 * 0 0 * * 0 0 GGTTAGGGTTAGAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGGTAGGGGGTTAGGGTTAG !!#'%'%''%%)(*(
    $$'&)"$()**&''#")&% %(&

    I noticed there were no alignment coordinates. I checked for a bunch of entries in the samfile within the first 1000 lines. There were no alignment coordinates for any of them. Could it be something to do with my reference? I know this data is good as it has been aligned and analysed by others before me. I have been having trouble aligning other data also. Only thing in common is software and reference (reference downloaded from GATK resource bundle, indexed with bwa index).

    Any suggestions are welcome.

    Cheers,
    Davy
  • valei
    Member
    • Sep 2010
    • 14

    #2
    generally the sequence length should be equal to the quality string length. In your read you have 76 nucleotides and only 38 character for the quality string....probably there are some problem with you input fastq.

    Comment

    • DNASpeaks
      Junior Member
      • Oct 2012
      • 5

      #3
      Hello Everyone,
      I am having trouble converting the sam files to bam using samtools. I used this cmd to convert my sam to bam -

      samtools view -bT hg19.fa s_chip2.sam > s_chip2.bam
      I got this error.
      Parse error at line 7707082: sequence and quality are inconsistent
      Aborted


      I ran ValidateSamFile.jar, a picard tool and got the following error, hundreds of them -

      WARNING: Read name HWI-ST798R:82: D18MUACXX:2:1101:2025:1987, A record is missing a read group
      ERROR: Record 5, Read name HWI-ST798R:82: D18MUACXX:2:1101:8625:1992, Empty sequence dictionary.

      I am not sure how to fix this, any help is appreciated.

      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, 10-22-2026, 11:13 AM
      0 responses
      23 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      20 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      36 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Working...