Thanks! But then I'd get the introns too, not the cds only?
Dear all,
Please apologies if this has been answered somewhere else, but I couldn't find an answer to this problem.
I would like to retrieve all the predicted coding sequences on the NCBI ftp for a species. Let's say I go here. I know how to get all the predicted mRNAs (./RNA/Gnomon_mRNA.fsa) or all the predicted proteins (./protein/protein.fa) but I cannot find how to get the CDS... if ever it's possible? This can be done on the Ensembl FTP.
Thanks for any insight!
1 answer
Perhaps not directly but following may be one way.
Get the genes (select protein-coding if you only want those in the left pane): http://www.ncbi.nlm.nih.gov/gene/?term=txid144197[Organism:noexp] Choose "Send to file" and then "tabular text view" to download full table. Cut the interval columns out for the locations and then use getfasta from bedtools to recover the DNA sequence. Use the directions I had put together for that here: C: Why big gaps when I use Entrez Eutils to download protein coding sequences.
+1 for providing another method. I'm surprised though that it's not a built-in option! Would be more convenient :o)
Log in to answer this question.