Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • How to check read are properly paired from SAM file?

    I am new for NGS data.
    How to check reads are properly paired from SAM file?
    It is appreciated someone can point me some programs?

    Thanks,
    Aimin

  • #2
    Originally posted by jlfmssm View Post
    I am new for NGS data.
    How to check reads are properly paired from SAM file?
    It is appreciated someone can point me some programs?

    Thanks,
    Aimin
    Use 'samtools view -X <in.bam>'. All reads with a capital "P" in the flag field are properly paired.

    Comment


    • #3
      Thanks, I tried, but I got this error:

      [aimin@node01 all_sam_data]$ samtools view -X 1382_1.sam/1382_1.sam
      [bam_header_read] EOF marker is absent.
      [main_samview] fail to read the header.

      Comment


      • #4
        Originally posted by jlfmssm View Post
        Thanks, I tried, but I got this error:

        [aimin@node01 all_sam_data]$ samtools view -X 1382_1.sam/1382_1.sam
        [bam_header_read] EOF marker is absent.
        [main_samview] fail to read the header.
        Use the "-S" flag to specify that you are inputting a SAM file (not a BAM file). Please read the documentation, including the output when no options/input is specified.

        Comment


        • #5
          but I got this:
          [aimin@node01 all_sam_data]$ samtools view -S -X 1382_1.sam/1382_1.sam -o 1382_1_test.out
          [samopen] no @SQ lines in the header.
          [sam_read1] missing header? Abort!
          What I should do now?

          Comment


          • #6
            Originally posted by jlfmssm View Post
            but I got this:
            [aimin@node01 all_sam_data]$ samtools view -S -X 1382_1.sam/1382_1.sam -o 1382_1_test.out
            [samopen] no @SQ lines in the header.
            [sam_read1] missing header? Abort!
            What I should do now?
            The lines "no @SQ lines in the header" and "missing header?" should tell you to check the header in the SAM file. Is there one? If not, you have to feed in your reference with the "-T" option.

            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
            18 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            22 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 09:21 AM
            0 responses
            16 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-04-2024, 09:00 AM
            0 responses
            46 views
            0 likes
            Last Post seqadmin  
            Working...
            X