Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fresh-potato
    Junior Member
    • Mar 2013
    • 1

    #1

    bowtie, how to convert fastq into sam?

    NOW I have a chiq-seq raw data which is fastq format and need to be covert into sam file and finally I want to get a .wig file . I have got bowtie and samtools. Any one knows the command for bowtie to covert fastq into sam ?
  • simonandrews
    Simon Andrews
    • May 2009
    • 870

    #2
    Turning a fastq file into a sam file isn't really a conversion - it's an actual analysis step since you're having to map the data against a reference genome. You'll need to download a genome to map your data to - you can either get the fastq files for the genome you're using and use bowtie-build to index this, or you can get pre-indexed genomes for some of the more common assemblies from the bowtie web site.

    Once you have your genome you'll need to construct a bowtie command to map your data to it. The exact command you use will depend to some extent on the nature of your data and what you're looking for - if you have long reads you might also want to look at bowtie2 which would be required if your alignments are likely to contain insertions or deletions relative to your genome sequence.

    Below is an example bowtie command which is what we'd normally use to map our data.

    Code:
    bowtie -m 1 --strata --best --chunkmbs=512 --sam /path/to/indices input.fastq output.sam
    This would give you a list of uniquely mapped reads in your genome. The -m 1 says only show reads which map exactly once, and the --strata --best say that if you have one alignment which is better than the rest (smaller number of mismatches) then you can report that even if there are other valid but poorer alignments. The --chunkmbs=512 is because on large genomes you can get huge numbers of alignments for some repeat sequences and the program runs out of assigned memory trying to decide which is 'best' and reports an error unless you give it some more memory to play with. Finally the --sam option writes the output in sam format so you don't need to do a conversion afterwards.

    Comment

    Latest Articles

    Collapse

    • SEQadmin2
      Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
      by SEQadmin2



      CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

      Despite this, “CRISPR helped turn genome editing from a specialized technique into
      ...
      07-31-2026, 11:01 AM
    • 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

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, Today, 10:35 AM
    0 responses
    3 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 08-06-2026, 07:41 AM
    0 responses
    23 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 08-03-2026, 10:13 AM
    0 responses
    40 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-31-2026, 02:55 AM
    0 responses
    46 views
    0 reactions
    Last Post SEQadmin2  
    Working...