Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • a11msp
    Member
    • Jun 2010
    • 26

    samtools pileup after bowtie

    Hi everyone,

    I'm new here - and new to short-read sequencing (although I can't say I'm new to bioinformatics...) and would appreciate your help with the following problem:

    I'm using Illumina GA _sequence files to do bowtie alignments with a reference genome as follows:

    $ bowtie -t --chunkmbs 1024 -p 14 -k 1 --best -y -S --solexa1.3-quals -S <ref-index> <illumina _sequence file> > s3_bowtie.sam

    # reports 87.5% reads with at least one alignment

    Convert SAM to BAM and generate a pileup:

    $ samtools view -uS s3_bowtie.sam | ../../samtools/samtools sort - s3_bowtie
    $ ./samtools pileup -vcf <REF.fa> s3_bowtie.bam > s3_bowtie.raw.pileup

    When I open this file, I see virtually no positions matching the reference. Since the bowtie alignment generally worked, I'm suspecting that something went wrong at the samtools stage.

    In fact, when I use eland alignments instead (the _export file that comes from the GA pipeline converted to SAM using samtools' export2sam.pl), I'm having the same problem.

    Would greatly appreciate any ideas as to why this may be happening.

    Many thanks!
  • seq_GA
    Senior Member
    • Feb 2009
    • 124

    #2
    May be try converting sam to bam using reference genome and then sort.

    Code:
    $/samtools import /Genome/hg18/hg18.fa.fai $file.sam $file.bam

    Comment

    • a11msp
      Member
      • Jun 2010
      • 26

      #3
      Ok, this has now been resolved. Turns out I was explicitly specifying the -v option with samtools pileup that excluded from the output all positions matching to the reference....

      Comment

      Latest Articles

      Collapse

      • GATTACAT
        Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by GATTACAT
        Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
        07-01-2026, 11:43 AM
      • SEQadmin2
        Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by SEQadmin2


        I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

        Here are nine questions we think about, in roughly the order they matter, before...
        06-18-2026, 07:11 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 07-02-2026, 11:08 AM
      0 responses
      16 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-30-2026, 05:37 AM
      0 responses
      17 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-26-2026, 11:10 AM
      0 responses
      20 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-17-2026, 06:09 AM
      0 responses
      54 views
      0 reactions
      Last Post SEQadmin2  
      Working...