I'm using Entrez Direct E-utilities to retrieve protein sequences with protein IDs but the option to retrieve CDS when using a protein ID is not working for me with the following command with an example protein accession:
efetch -db protein -format fasta_cd_na -id XP_003399879.1
although the command to fetch the protein FASTA works:
efetch -db protein -format fasta -id XP_003399879.1
Could you point me towards a mistake? Or is it because the
efetch command does not work this way? Thanks!