Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • about the pipe from bowtie2 to samtools view

    Hi, dears.
    Last night I ran the code:
    nohup bowtie2 -x Ref_index -U ER172.fastq --local -D 20 -R 3 -N 1 -L 21 -i S,1,0.75 -p 15 | samtools view -bS -t Ref.fa.fai - > ER172.bam
    Unfortunately,I got:
    [sam_read1] reference ' 1482179 (26.27%) aligned 0 times' is recognized as '*'.Parse error at line 5645986: invalid CIGAR character

    I tried to view the line 5645986 from fastq, but I failed to find the reason. Maybe I need to view it from .sam file, but I used the pipe with no .sam file.
    Can you help me ?

  • #2
    from bowtie manual:
    Alignment summmary

    When Bowtie 2 finishes running, it prints messages summarizing what happened. These messages are printed to the "standard error" ("stderr") filehandle. For datasets consisting of unpaired reads, the summary might look like this:

    20000 reads; of these:
    20000 (100.00%) were unpaired; of these:
    1247 (6.24%) aligned 0 times
    18739 (93.69%) aligned exactly 1 time
    14 (0.07%) aligned >1 times
    93.77% overall alignment rate

    For datasets consisting of pairs, the summary might look like this:

    10000 reads; of these:
    10000 (100.00%) were paired; of these:
    650 (6.50%) aligned concordantly 0 times
    8823 (88.23%) aligned concordantly exactly 1 time
    527 (5.27%) aligned concordantly >1 times
    ----
    650 pairs aligned concordantly 0 times; of these:
    34 (5.23%) aligned discordantly 1 time
    ----
    616 pairs aligned 0 times concordantly or discordantly; of these:
    1232 mates make up the pairs; of these:
    660 (53.57%) aligned 0 times
    571 (46.35%) aligned exactly 1 time
    1 (0.08%) aligned >1 times
    96.70% overall alignment rate

    The indentation indicates how subtotals relate to totals.

    ---

    I guess you are capturing this because of the nohup command....

    Comment


    • #3
      Thanks,sphil.
      how about the error :.Parse error at line 5645986: invalid CIGAR character

      Comment


      • #4
        The error is caused by redirecting stderr to samtools. Don't do that.

        Comment


        • #5
          Thank you!
          maybe it's best to me that I will not use the pipe.

          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
          30 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          32 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          28 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-04-2024, 09:00 AM
          0 responses
          53 views
          0 likes
          Last Post seqadmin  
          Working...
          X