Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kenosaki
    Member
    • May 2010
    • 27

    #1

    bowtie 80 mer-long mapping

    Hi,

    I try to map relatively long reads (80-bases-long single read, fastq format) to hg19 using bowtie.
    Does anybody tell me which parameters should be modify for this kind of mapping ?
    I used
    bowtie -p 4 --best --strata -m 1 --sam /index_hg19 -q 80_mer_read.fastq output.sam

    I may forget some important parameters to be changed.

    Thanks,
  • volks
    Member
    • Jun 2010
    • 80

    #2
    80bp are not especially long, i would say.
    which instrument was used to generate the data?
    did you run a quality check, e.g. FastQC?

    Comment

    • kenosaki
      Member
      • May 2010
      • 27

      #3
      Thanks volks,
      This is an Illumina GAIIx data.
      I just want to know if i need to add or change some parameters based on the read length.
      Do I use the same command-line for 80 bp reads mapping as I used to use for 35 bp reads? I feel i need to change some parameters based on the read length.
      May be I'm wrong.

      Comment

      • DZhang
        Senior Member
        • Jun 2010
        • 177

        #4
        Hi kenosaki,

        No need to adjust bowtie parameters for read length.

        Douglas

        Comment

        • rorymulv
          Junior Member
          • Jan 2011
          • 1

          #5
          I've found a big improvement from trimming the reads, for aligning some of the longer Illumina reads. Here's a function in zsh that I've used for clipping everything from the right end of a read below a certain read quality.


          [ord.awk

          # ord.awk --- do ord and chr
          # taken from the gawk texinfo manual
          # therefore, this may be covered by the GNU Free Documentation License
          # the GFDL still allows commercial redistribution, however

          # Global identifiers:
          # _ord_: numerical values indexed by characters
          # _ord_init: function to initialize _ord_
          BEGIN { _ord_init() }

          function _ord_init( low, high, i, t)
          {
          low = sprintf("%c", 7) # BEL is ascii 7
          if (low == "\a") { # regular ascii
          low = 0
          high = 127
          } else if (sprintf("%c", 128 + 7) == "\a") {
          # ascii, mark parity
          low = 128
          high = 255
          } else { # ebcdic(!)
          low = 0
          high = 255
          }

          for (i = low; i <= high; i++) {
          t = sprintf("%c", i)
          _ord_[t] = i
          }
          }

          function ord(str, c)
          {
          # only first character is of interest
          c = substr(str, 1, 1)
          return _ord_[c]
          }

          function chr(c)
          {
          # force c to be numeric by adding 0
          return sprintf("%c", c + 0)
          }

          #### test code ####
          # BEGIN \
          # {
          # for (; {
          # printf("enter a character: ")
          # if (getline var <= 0)
          # break
          # printf("ord(%s) = %d\n", var, ord(var))
          # }
          # }

          ]//

          [trimReadsRaw
          #! /usr/bin/zsh

          # the 'raw' version of this this doesn't subtract 33 from the (raw)
          # qualities
          # also, it only trims the back end part of the read (not the front)
          # cuts off everything from the end less than $1
          function trimReadsRaw() {
          thresh=$1
          awk -f ord.awk \
          --source '{name=$0; getline; read=$0;
          getline; strand=$0; getline; qual=$0; len=length(qual); start=len;
          start=1; minEnd=start+20; end=0;
          for (i=len; i>=minEnd; i--) {
          if (ord(substr(qual,i,1)) >= '$thresh') { end=i; break; }
          }
          if ( (end-start) < 20 ) { next; }
          print name; print substr(read,start,end-start+1); print strand;
          print substr(qual,start,end-start+1);
          }' --
          }

          ]//trimReadsRaw

          Comment

          • colindaven
            Senior Member
            • Oct 2008
            • 417

            #6
            If you have genomic data I would use another aligner because bowtie can't deal with indels. Bwa is good for example, as it novoalign,

            For transcriptome data you could try adjusting the following settings.

            -n/--seedmms <int> max mismatches in seed (can be 0-3, default: -n 2)
            -e/--maqerr <int> max sum of mismatch quals across alignment for -n (def: 70)
            -l/--seedlen <int> seed length for -n (default: 28)

            eg -n 3 -e 100 -l 40

            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, Yesterday, 11:13 AM
            0 responses
            16 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, Yesterday, 10:48 AM
            0 responses
            16 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-15-2026, 10:52 AM
            0 responses
            35 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...