Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Bowtie: How do I map files to reference genome?

    I want to map out1.fq and out2.fq to the reference genome `NC_008253.fa.fai` based on the following conditions:
    • - seed length=24
      - hits written in sam file format
      - maximum insert size=600
      - mates are in the forward/reverse orientation
      - input files are fastq format
      - output the wall-clock time
      - seed sequence mismatches=3
      - output the mapped and unmapped reads in separate files



    Code:
    bowtie -q  out1.fq out2.fq -x 1.bt2 NC_008253.fa.fai -l/--seedlen 24 -S/--sam -X/--maxins 600 -t/--time -v 3 > mapped

  • #2
    Hi Melissa,

    I'm assuming you did not test this command and are wondering if it will work. From the look of it it will not. The first thing you'll want to do is to choose between the single-character option or the long, more readable one (e.g. choose between -l or --seedlen) because you can't provide both. The short one is more raw and makes for a very short command, but the longer one is more readable and may be useful for future you or colleagues who might use that command.

    Then, before mapping to a reference genome, you need to index it using the bowtie-build command (or bowtie2-build command, depending on your input data). It will create an index for your genome; that index is what will be used by the bowtie(2) command to align your reads.

    Then, I recommend testing your command and seeing what happens. The logs will help you troubleshoot, and if google can't help you make sense of errors you might have, don't hesitate to ask about it here (or to browse this or other forums, as it is highly probable someone else ran into the same errors as you well.

    Finally, you might want to evaluate wether you need bowtie or bowtie2; if you're not sure, this might help.

    Cheers !

    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
    52 views
    0 likes
    Last Post seqadmin  
    Working...
    X