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
              Latest Developments in Precision Medicine
              by seqadmin



              Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

              Somatic Genomics
              “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
              05-24-2024, 01:16 PM
            • seqadmin
              Recent Advances in Sequencing Analysis Tools
              by seqadmin


              The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
              05-06-2024, 07:48 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 01:32 PM
            0 responses
            10 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-24-2024, 07:15 AM
            0 responses
            199 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-23-2024, 10:28 AM
            0 responses
            221 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-23-2024, 07:35 AM
            0 responses
            232 views
            0 likes
            Last Post seqadmin  
            Working...
            X