Hello,
I am trying to download gene sequences from NCBI via e-utils like this:
esearch -db gene -q "1511[Taxonomy ID] AND (grdA OR grdB OR grdC)[Gene Name]" | elink -db gene -target nuccore | efetch -db nuccore -format gene_fasta > gene_file.fasta
After that I would apply some awk and grep commands on gene_file.fasta to filter out only needed sequences. Unfortunately, all matching records were discontinued. And even though esearch outputs 3 records, elink cannot create links to nucleotide database. Is there any way to download these discontinued records using e-utils?
Thank you in advance for any suggestion
Thank you it worked.