Unconfigured Ad

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

    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:


    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:


            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
              Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
              by SEQadmin2



              Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
              ...
              07-09-2026, 11:10 AM
            • SEQadmin2
              Cancer Drug Resistance: The Lingering Barrier to Rising Survival
              by SEQadmin2



              Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

              There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
              07-08-2026, 05:17 AM
            • 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 07-13-2026, 10:26 AM
            0 responses
            15 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-09-2026, 10:04 AM
            0 responses
            29 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-08-2026, 10:08 AM
            0 responses
            16 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-07-2026, 11:05 AM
            0 responses
            34 views
            0 reactions
            Last Post SEQadmin2  
            Working...