Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shyam_la
    Member
    • Mar 2012
    • 97

    #1

    Question of retrieving nucleotides from a list of genomic coordinates..

    Lets say I have an excel file, one column with chr number and the next with genomic coordinates, running into several thousands in numbers. Is there some online / offline tool into which I can input this information and get as output the nucleotides at these loci in hg19?

    For eg.
    Input
    1 23354
    2 345344
    3 43543553

    Output
    1 23354 T
    2 345344 C
    3 43543553 A
  • dariober
    Senior Member
    • May 2010
    • 311

    #2
    Originally posted by shyam_la View Post
    Lets say I have an excel file, one column with chr number and the next with genomic coordinates, running into several thousands in numbers. Is there some online / offline tool into which I can input this information and get as output the nucleotides at these loci in hg19?

    For eg.
    Input
    1 23354
    2 345344
    3 43543553

    Output
    1 23354 T
    2 345344 C
    3 43543553 A
    If could reformat your excel file to BED format (even within excel) and save it as plain text (say as mypositions.bed). Then, you can use bedtools as something like (assuming you have already the FASTA file for hg19):

    Code:
    bedtools getfasta -fi hg19.fa -bed mypositions.bed -tab
    Dario

    Comment

    • shyam_la
      Member
      • Mar 2012
      • 97

      #3
      Thank you. Will try that out.. Is it possible to do a similar thing with an aligned sorted BAM file?

      Comment

      • jparsons
        Member
        • Feb 2012
        • 62

        #4
        It's trivial to convert a sorted BAM file into a bed file.
        Look at bedtools documentation. (bamtobed, in particular)

        Comment

        • shyam_la
          Member
          • Mar 2012
          • 97

          #5
          Originally posted by jparsons View Post
          It's trivial to convert a sorted BAM file into a bed file.
          Look at bedtools documentation. (bamtobed, in particular)
          No I meant a BAM file in place of a fasta file..

          Comment

          • westerman
            Rick Westerman
            • Jun 2008
            • 1104

            #6
            Since a BAM should contain overlapping reads that may or may not agree at any particular base instead of a single sequence then the answer to your question is not straight-forward. First you'll need to generate a consensus sequence via 'samtools', 'bcftools' and 'vcfutils' ... see: http://samtools.sourceforge.net/mpileup.shtml. Having gotten that then you can pull out the bases.

            There may be easier ways but that is how I would do it.

            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-15-2026, 10:52 AM
            0 responses
            17 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            26 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-13-2026, 09:56 AM
            0 responses
            22 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-09-2026, 11:14 AM
            0 responses
            28 views
            0 reactions
            Last Post SEQadmin2  
            Working...