Seqanswers Leaderboard Ad

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

    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

      • seqadmin
        Pathogen Surveillance with Advanced Genomic Tools
        by seqadmin




        The COVID-19 pandemic highlighted the need for proactive pathogen surveillance systems. As ongoing threats like avian influenza and newly emerging infections continue to pose risks, researchers are working to improve how quickly and accurately pathogens can be identified and tracked. In a recent SEQanswers webinar, two experts discussed how next-generation sequencing (NGS) and machine learning are shaping efforts to monitor viral variation and trace the origins of infectious...
        03-24-2025, 11:48 AM
      • seqadmin
        New Genomics Tools and Methods Shared at AGBT 2025
        by seqadmin


        This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

        The Headliner
        The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
        03-03-2025, 01:39 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 03-20-2025, 05:03 AM
      0 responses
      41 views
      0 reactions
      Last Post seqadmin  
      Started by seqadmin, 03-19-2025, 07:27 AM
      0 responses
      51 views
      0 reactions
      Last Post seqadmin  
      Started by seqadmin, 03-18-2025, 12:50 PM
      0 responses
      38 views
      0 reactions
      Last Post seqadmin  
      Started by seqadmin, 03-03-2025, 01:15 PM
      0 responses
      192 views
      0 reactions
      Last Post seqadmin  
      Working...