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
              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...
              Yesterday, 07:48 AM
            • seqadmin
              Essential Discoveries and Tools in Epitranscriptomics
              by seqadmin




              The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
              04-22-2024, 07:01 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 07:17 AM
            0 responses
            11 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-02-2024, 08:06 AM
            0 responses
            19 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-30-2024, 12:17 PM
            0 responses
            20 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-29-2024, 10:49 AM
            0 responses
            28 views
            0 likes
            Last Post seqadmin  
            Working...
            X