Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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

  • #2
    Using 'samtools view' works with a BAM file on FTP, see:


    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


    • #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


      • #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


        • #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


          • #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:


            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

            • 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
            22 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            24 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 09:21 AM
            0 responses
            19 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-04-2024, 09:00 AM
            0 responses
            50 views
            0 likes
            Last Post seqadmin  
            Working...
            X