I got the gene name and species, how can I retrieve all its transcript and CDS by the gene_id in python?
For example I get the gene symbol of TP53 (Gene ID: 7157)，and I want to retrieve all its transcript and CDS sequences. How could I do it? Thank you very much.
from Bio import Entrez Entrez.email = 'A.N.Other@example.com' handle = Entrez.efetch(db="nucleotide", id=Accession_number, rettype="fasta", retmode="text") record = handle.read()