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
            Essential Discoveries and Tools in Epitranscriptomics
            by seqadmin




            The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
            04-22-2024, 07:01 AM
          • 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

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 04-25-2024, 11:49 AM
          0 responses
          18 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-24-2024, 08:47 AM
          0 responses
          17 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          62 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          60 views
          0 likes
          Last Post seqadmin  
          Working...
          X