Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thedamian
    Member
    • Feb 2012
    • 50

    #1

    GenBank files. Pairing mRNA with CDS.

    Hi,

    I have a GenBank file, that contains several mRNA and CDS.
    I'd like to pull from that file pairs of mRNA and CDS.

    For example:
    Having a .gb file for NF1 gene

    I know, that mRNA with ID NM_000267.3 has corresponding CDS with ID NP_000258.1

    I know it because a tag of mRNA: /product="neurofibromin 1, transcript variant 2"
    describes "/product" tag of CDS: /product="neurofibromin isoform 2"

    I use Perl's Bio::SeqIO for parsing .gb files. I can pull all main tags like mRNA and CDS, but I don't see any way how to combine them in pairs.

    Thanks for suggestions.
  • maubp
    Peter (Biopython etc)
    • Jul 2009
    • 1544

    #2
    The pairing is implicit in GenBank format by virtue of the order of the features. The may be a BioPerl option to deduce this since BioPerl can IIRC do GenBank to GFF3 conversion.

    P.S. If you used GFF3 the parent/child relationship would be explicit - the NCBI have fixed their GFF3 since I wrote this: http://blastedbio.blogspot.co.uk/201...ll-broken.html

    Comment

    • thedamian
      Member
      • Feb 2012
      • 50

      #3
      heh, I don't see this order
      for example here:


      mRNA with /transcript_id="NM_001126118.1" is the 5th mRNA from the top.
      Corresponding CDS is 9th from the top.

      Where is an order here?

      Comment

      • maubp
        Peter (Biopython etc)
        • Jul 2009
        • 1544

        #4
        Originally posted by thedamian View Post
        heh, I don't see this order
        Oh, you've got multiple transcripts. That does complicate life

        Comment

        • Richard Finney
          Senior Member
          • Feb 2009
          • 701

          #5
          I am not sure if this might help ...

          The gene2accession file from NCBI [ fetchable using wget like this ...
          wget -nc ftp://ftp.ncbi.nlm.nih.gov/gene/DATA/gene2accession.gz
          and then ungzip ] contains the mrna and the protein acessions.

          Eg.
          grep NP_000258 gene2accession | grep GRCh37
          9606 4763 REVIEWED NM_000267.3 270132515 NP_000258.1 4557793 NC_000017.10 224589808 29421944 29704694 + Reference GRCh37.p9 Primary Assembly
          9606 4763 REVIEWED NM_000267.3 270132515 NP_000258.1 4557793 NT_010799.15 224514948 4158938 4441688 + Reference GRCh37.p9 Primary Assembly

          Comment

          • thedamian
            Member
            • Feb 2012
            • 50

            #6
            Thank you Richard!
            Seems it is what I need!

            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
            30 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            37 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-13-2026, 09:56 AM
            0 responses
            31 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-09-2026, 11:14 AM
            0 responses
            29 views
            0 reactions
            Last Post SEQadmin2  
            Working...