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
              The Factors Reshaping Genome Assembly
              by SEQadmin2



              When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...
              Today, 07:04 AM
            • SEQadmin2
              16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
              by SEQadmin2





              NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
              10-30-2026, 06:46 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Yesterday, 11:11 AM
            0 responses
            14 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 11-17-2026, 06:27 AM
            0 responses
            39 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 11-12-2026, 07:59 AM
            0 responses
            55 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 11-05-2026, 09:25 AM
            0 responses
            61 views
            0 reactions
            Last Post SEQadmin2  
            Working...