Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • jpearl01
    Member
    • Dec 2010
    • 17

    Obtaining nucleotide gene sequence of bacteria using eutils

    Hi All,

    I'm trying to write a quick program to download a bunch of genes' dna from bacteria. I don't have ids for the genes, just their protein names (like lacz or what-have-you). So use esearch to look for say the lacz bacteria gene from the gene database:

    http://eutils.ncbi.nlm.nih.gov/entre...p+AND+bacteria[filter]

    then, I grab the first id in the list that is returned, and convert it from a gene id to a nucleotide using elink



    Which gives back a list of different ids. Most of the ids (using efetch to get the sequence) generally give back the entire genomic sequence of the organism it was found in. *sometimes* one of the id's gives back the actual gene nucleotide data, but not always. For example the first two ids from the above elink result give whole genomic sequence:



    The third id gives the gene sequence:



    So, what gives? Is there a way to tell which ones are whole genome sequences, and which are gene sequences? Maybe an elink parameter?

    ~josh
  • TiborNagy
    Senior Member
    • Mar 2010
    • 329

    #2
    Try to download the sequences in GeneBank format and parse the descriptions.

    Comment

    • jpearl01
      Member
      • Dec 2010
      • 17

      #3
      Well, that is a possibility. However, I would really like it if I didn't have any intermediary steps. What is frustrating is that if I do the same search, but then link to the *protein* database, I get the correct AA sequence almost every time. I'm not sure why I can do that for the protein sequence but not for the nucleotide. Really, I'm wondering if I'm doing something wrong.

      Comment

      • gringer
        David Eccles (gringer)
        • May 2011
        • 845

        #4
        Note that NCBI has now released Entrez Direct, which has pipeable functionality for downloading via Entrez. There is likely a specific query that can be fed into Entrez direct for the bacterial genomes.

        Comment

        Latest Articles

        Collapse

        • mylaser
          Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
          by mylaser
          Kheloyaar: The Complete Guide to Kheloyaar Loginand Kheloyaar ID
          The online gaming industry has transformed the way people enjoy digital entertainment. As technology continues to improve, players are looking for platforms that offer convenience, security, and a seamless user experience. Kheloyaarhas gained attention among users who value an easy-to-use platform, quick account access, and a simple registration process.
          Whether you're exploring Kheloyaar for the first time or want to understand...
          Today, 09:27 PM
        • 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.
          ...
          Today, 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...
          Yesterday, 05:17 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Today, 10:04 AM
        0 responses
        8 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 10:08 AM
        0 responses
        7 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-07-2026, 11:05 AM
        0 responses
        10 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-02-2026, 11:08 AM
        0 responses
        31 views
        0 reactions
        Last Post SEQadmin2  
        Working...