Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • culmen
    Member
    • Jul 2010
    • 12

    #1

    Consensus part from sequence read(fastq) and align(BAM) files

    HI,

    I am a newbie to NGS data.

    Could you guys suggest me the tools to get the part (ex: chr8:125976061-125976501) of consensus and SNP data from the reads and bam files present at 1000genomes ftp site.

    Appreciate your suggestion/help,

    Thanks,
    Culmen
  • maubp
    Peter (Biopython etc)
    • Jul 2009
    • 1544

    #2
    Using 'samtools view' works with a BAM file on FTP, see:
    http://samtools.sourceforge.net/samtools.shtml

    e.g. To extract that part of chromosome 8 from this BAM file, as SAM format,

    $ samtools view ftp://ftp-trace.ncbi.nih.gov/1000gen...d.20100311.bam 8:125976061-125976501

    If you had first downloaded the BAM file (and its index), it would just be:

    $ samtools view NA20828.chrom8.ILLUMINA.bwa.TSI.exon_targetted.20100311.bam 8:125976061-125976501

    The only tricky bit was working out how the reference sequences were named - it turns out chromosome 8 is just "8", rather than "chr8", "chrom8", etc.
    Last edited by maubp; 07-20-2010, 08:43 AM. Reason: adding example

    Comment

    • culmen
      Member
      • Jul 2010
      • 12

      #3
      I would like to get that in the sequence format.

      Thanks a lot for the relpy.

      I would like to get that in the sequence format like the consensus sequence shown in the 1000genome browser .
      Are there any ways or tools for that.

      Comment

      • maubp
        Peter (Biopython etc)
        • Jul 2009
        • 1544

        #4
        You can probably compute a consensus from a SAM/BAM file using samtools pileup ... it is late evening here and I don't have samtools installed at home. Perhaps someone else can help?

        Comment

        • culmen
          Member
          • Jul 2010
          • 12

          #5
          I was trying to extract consensus from BAM files of 1000genomedata (namely ftp://ftp-trace.ncbi.nih.gov/1000gen...e.20100125.bam 8:125807080-126007080) by samtools pileup consensus calling (ref: hg19 human_g1k_v37.fasta.gz )

          I found some bases/positions like bases between position 125906527 and 125906541.

          What might be the reason?
          Can you guys please help me to obtains those missing bases?

          Comment

          • genesquared
            Junior Member
            • Dec 2010
            • 6

            #6
            thanks!

            I googled & found this page;
            You saved me couple hrs reading the manual page!




            Originally posted by maubp View Post
            Using 'samtools view' works with a BAM file on FTP, see:
            http://samtools.sourceforge.net/samtools.shtml

            e.g. To extract that part of chromosome 8 from this BAM file, as SAM format,

            $ samtools view ftp://ftp-trace.ncbi.nih.gov/1000gen...d.20100311.bam 8:125976061-125976501

            If you had first downloaded the BAM file (and its index), it would just be:

            $ samtools view NA20828.chrom8.ILLUMINA.bwa.TSI.exon_targetted.20100311.bam 8:125976061-125976501

            The only tricky bit was working out how the reference sequences were named - it turns out chromosome 8 is just "8", rather than "chr8", "chrom8", etc.

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