Entering edit mode
4.5 years ago
Anisur Rahman
▴
80
Let's say, I have two accession numbers AP017458 & GQ994935 of a virus's GenBank file. I want to download the nucleotide sequence (CDS) of ORF57 from these accession from Linux terminal. As per as I know efetch, esearch, etc command line code can be used to download sequence directly from the terminal. But, I need only the coding sequence of a specific ORF.
How can I download the coding sequence of a specific ORF by using accession number (all together or, at least one accession per each run)?
Hi, your code is just amazing. Thank you very much. Is it possible to download the CDS from more than one accession together in a single code? Becuase I have a very long list of accession numbers and I've to download CDS of ORF57 for all of them.
Absolutely. Use
epost
method :id_file
should contain one accession per line.You made my day. Thank you very much.
Please accept the answer (green check mark) then.