Unconfigured Ad

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

    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
              Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
              by SEQadmin2


              Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

              The systematic characterization of the human proteome has
              ...
              07-20-2026, 11:48 AM
            • SEQadmin2
              Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
              by SEQadmin2



              Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
              ...
              07-09-2026, 11:10 AM
            • SEQadmin2
              Cancer Drug Resistance: The Lingering Barrier to Rising Survival
              by SEQadmin2



              Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

              There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
              07-08-2026, 05:17 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Today, 12:17 PM
            0 responses
            9 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, Yesterday, 11:41 AM
            0 responses
            11 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-20-2026, 11:10 AM
            0 responses
            23 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-13-2026, 10:26 AM
            0 responses
            37 views
            0 reactions
            Last Post SEQadmin2  
            Working...