Thanks for sharing this, but at least for me the code doesn't work exactly as expected; it outputs
-bash: GCF_000009665.1_NC_002774.1: command not found
-bash: GCF_000009645.1_NC_003140.1: command not found
...
• 0 views
•
link
What if there was no assembly for a nucleotide sequence?
All the nucleotide IDs I have correspond to either the chromosome or plasmids from complete bacterial genomes, so I expect each ID will have a corresponding assembly accession.
Ok, your query was fine, I think I fixed the shell code so it works as expected now.
This is the assembly database record for the ID included above. Are you looking to get
NC*id based on theGCFID?GCFID's are RefSeq ID's by the way they are not nuccore ID's.I have a list of NC* IDs, and want to append the corresponding GCF ID to each one.
Please post more than one example. It is always good to do this when you ask questions about ID's. You can simply do this to get the
GCFID:Sure, here's the top 5 IDs